Function at 0x4a3e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f2f70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x20]
call fcn.004be970
xor esi, esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], esi
call fcn.004be970
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
call fcn.004d7750
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 2
call fcn.004c86c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.004be970
mov byte [esp + 0x64], 4
mov bl, 1
call fcn.004cd4a0
push ecx
test al, al
mov ecx, esp
je 0x4a3ec1
mov dword [esp + 0x7c], esp
push esi
call fcn.004be9a0
mov esi, dword [esp + 0x74]
mov ecx, esi
call fcn.004beca0
push 1
push 0x50f8e4
mov ecx, esi
call fcn.004bf050
mov edi, 0x28
push 1
push 0x50f8ec
mov ecx, esi
call fcn.004bf050
dec edi
jne 0x4a3eab
jmp 0x4a4392
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x18]
call fcn.004beca0
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push esi
call fcn.004be9a0
mov ecx, dword [esp + 0x74]
call fcn.004beca0
mov al, byte [esp + 0x78]
test al, al
je 0x4a3f02
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.004a3ce0
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call fcn.004be980
lea ecx, [esp + 0x24]
call fcn.004beca0
mov ax, word [esp + 0x74]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x2c]
mov word [esp + 0x28], ax
call fcn.004c7e20
mov word [0x5201ac], si
mov edi, 0xff
lea ecx, [esp + 0x38]
call fcn.004c8cc0
sub esp, 0x24
lea eax, [esp + 0x4c]
mov edx, esp
mov dword [esp + 0x9c], esp
push 0
push eax
push edx
mov ecx, 0x5201c8
call fcn.004c5d10
lea ecx, [esp + 0x5c]
call fcn.004c8870
lea ecx, [esp + 0x38]
call fcn.004c8ca0
test ax, ax
jle 0x4a40f7
push 0
lea ecx, [esp + 0x3c]
call fcn.004c8be0
mov ecx, eax
call fcn.00476d10
dec eax
lea ecx, [esp + 0x38]
push eax
push 0
call fcn.004c8be0
mov ecx, eax
call fcn.00411b50
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x14]
call fcn.004beca0
lea ecx, [esp + 0x10]
call fcn.004bee30
test ax, ax
jle 0x4a40f7
push 4
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x7f
jne 0x4a4014
inc word [0x5201ac]
push 6
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x78
je 0x4a4004
push 6
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x21
jne 0x4a4057
inc esi
mov word [esp + 0x24], di
cmp si, 0x32
jl 0x4a3f40
cmp si, 0x32
je 0x4a40f7
push 3
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x10
push 4
lea ecx, [esp + 0x18]
jne 0x4a40ce
call fcn.004bec90
mov bl, al
push 5
and ebx, edi
lea ecx, [esp + 0x14]
add ebx, 0x40
call fcn.004bec90
and eax, edi
cmp eax, ebx
jmp 0x4a40f5
push 6
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x12
je 0x4a40f7
push 6
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x31
jne 0x4a407d
xor bl, bl
jmp 0x4a4014
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 2
call fcn.004c87c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
call fcn.004c7a70
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 0
call fcn.004beab0
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0xffffffff
call fcn.004beab0
xor ax, ax
jmp 0x4a43df
call fcn.004bec90
mov dl, al
push 4
and edx, edi
lea ecx, [esp + 0x14]
add edx, 0x40
mov dword [esp + 0x7c], edx
call fcn.004bec90
mov ecx, dword [esp + 0x78]
and eax, edi
cmp eax, ecx
je 0x4a4149
test bl, bl
je 0x4a4149
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 2
call fcn.004c87c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
call fcn.004c7a70
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 0
call fcn.004beab0
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0xffffffff
call fcn.004beab0
or ax, 0xffff
jmp 0x4a43df
push 3
lea ecx, [esp + 0x14]
call fcn.004bec90
cmp al, 0x10
je 0x4a4197
lea ecx, [esp + 0x10]
mov esi, 3
call fcn.004bee30
cmp ax, si
jle 0x4a4392
push esi
lea ecx, [esp + 0x14]
call fcn.004bec90
mov ecx, dword [esp + 0x70]
push eax
call fcn.004bee10
lea ecx, [esp + 0x10]
inc esi
call fcn.004bee30
cmp si, ax
jl 0x4a416f
jmp 0x4a4392
lea ecx, [esp + 0x10]
mov esi, 4
call fcn.004bee30
cmp ax, si
jle 0x4a41cd
push esi
lea ecx, [esp + 0x14]
call fcn.004bec90
mov ecx, dword [esp + 0x70]
push eax
call fcn.004bee10
lea ecx, [esp + 0x10]
inc esi
call fcn.004bee30
cmp si, ax
jl 0x4a41aa
push 0xb
push 0x512cf8
lea ecx, [esp + 0x20]
call fcn.004bea10
xor edx, edx
lea ecx, [esp + 0x18]
mov dl, byte [ebp + 0x2a]
mov byte [esp + 0x64], 5
mov al, byte [edx*2 + 0x512870]
push eax
push 2
call fcn.004bedb0
xor esi, esi
mov cl, byte [0x51286c]
lea edx, [esi + 6]
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.004bedb0
inc esi
cmp si, 5
jl 0x4a41fc
lea ecx, [esp + 0x28]
call fcn.004c8030
lea ecx, [esp + 0x38]
call fcn.004c8cc0
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x24]
call fcn.004beca0
lea ecx, [esp + 0x20]
mov word [esp + 0x24], 0xfe
push ecx
lea ecx, [esp + 0x2c]
call fcn.004c7e20
mov bl, 1
lea ecx, [esp + 0x38]
call fcn.004c8cc0
test bl, bl
je 0x4a4289
sub esp, 0x24
lea eax, [esp + 0x4c]
mov edx, esp
mov dword [esp + 0x9c], esp
push 0
push eax
push edx
mov ecx, 0x5201c8
xor bl, bl
call fcn.004c5d10
jmp 0x4a42a2
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x9c], esp
push 0
push ecx
mov ecx, 0x5201c8
call fcn.004c6a60
lea ecx, [esp + 0x5c]
call fcn.004c8870
lea ecx, [esp + 0x38]
call fcn.004c8ca0
test ax, ax
jle 0x4a4384
push 0
lea ecx, [esp + 0x3c]
call fcn.004c8be0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4a425a
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x4a425a
push 0
lea ecx, [esp + 0x3c]
call fcn.004c8be0
mov ecx, dword [eax + 4]
call fcn.004bee30
cmp ax, 3
jle 0x4a425a
xor ebp, ebp
push 0
lea ecx, [esp + 0x3c]
call fcn.004c8be0
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4a430e
xor eax, eax
jmp 0x4a4316
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
movsx edi, bp
cmp edi, eax
jae 0x4a425a
push 0
lea ecx, [esp + 0x3c]
mov esi, 4
call fcn.004c8be0
mov eax, dword [eax + 4]
lea ecx, [eax + edi*4]
call fcn.004bee30
cmp ax, si
jle 0x4a437e
push 0
lea ecx, [esp + 0x3c]
call fcn.004c8be0
mov eax, dword [eax + 4]
push esi
lea ecx, [eax + edi*4]
call fcn.004bec90
mov ecx, dword [esp + 0x70]
push eax
call fcn.004bee10
push 0
lea ecx, [esp + 0x3c]
inc esi
call fcn.004c8be0
mov eax, dword [eax + 4]
lea ecx, [eax + edi*4]
call fcn.004bee30
cmp si, ax
jl 0x4a4341
inc ebp
jmp 0x4a42f8
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 4
call fcn.004beab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 3
call fcn.004beab0
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 2
call fcn.004c87c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
call fcn.004c7a70
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 0
call fcn.004beab0
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0xffffffff
call fcn.004beab0
mov ax, 1
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 0x10