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

Disassembly:
push 0xffffffffffffffff
push 0x4f57c0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, edx
xor ebx, ebx
mov dword [esp + 0x80], ecx
push 8
mov dword [esp + 0x1c], ebx
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x4a621f
mov edi, dword [esp + 0x9c]
lea ecx, [ecx]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 3
mov word [eax], cx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x94], ecx
push eax
push ecx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x88]
push ebx
mov dword [esp + 0x30], 0x16
call fcn.0041c6a0
test al, al
je 0x4a64f7
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movq qword [esp + 0x74], xmm0
push 8
mov dword [esp + 0x78], 0
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
je 0x4a64e3
xor eax, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 3
mov word [esi], ax
mov byte [esp + 0x94], 1
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4a6233
cmp ebp, 1
jne 0x4a615a
cmp edi, 3
jne 0x4a615a
mov eax, 0x320
jmp 0x4a61a0
push ebx
lea edx, [ebp + 1]
call fcn.004a6030
cmp ebp, 1
jne 0x4a6190
cmp edi, 2
jne 0x4a61d5
cmp dword [esp + 0x30], 0x2f8
je 0x4a61d5
push 0x505b58
lea ecx, [esp + 0x1c]
call fcn.004118e0
test al, al
jne 0x4a61d5
mov eax, 0x2dd
jmp 0x4a61a0
test ebp, ebp
jne 0x4a61d5
cmp ebx, 6
jae 0x4a61d5
mov eax, dword [ebx*4 + 0x500b50]
xor ecx, ecx
mov dword [esp + 0x78], 0
mov word [esi], cx
mov ecx, 0x5236a4
push eax
call fcn.00411750
test eax, eax
je 0x4a61d5
push eax
lea ecx, [esp + 0x78]
call fcn.00412850
cmp dword [esp + 0x78], 0
jne 0x4a64a1
mov esi, dword [esp + 0x74]
push esi
mov byte [esp + 0x98], 0
call fcn.004df97b
add esp, 4
mov dword [esp + 0x94], 0xffffffff
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x18], 0
inc ebx
push 8
call fcn.004df9b3
mov edi, dword [esp + 0xa0]
add esp, 4
test eax, eax
jne 0x4a6090
push 0x51c2c8
lea eax, [esp + 0x1a]
mov byte [esp + 0x1a], 0
push eax
call fcn.004ea58e
cmp dword [esp + 0x28], 0x800
je 0x4a61d5
mov edi, dword [esp + 0x30]
xor eax, eax
cmp dword [eax*8 + 0x500b20], edi
je 0x4a6254
inc eax
cmp eax, 5
jb 0x4a6243
jmp 0x4a625f
test eax, eax
js 0x4a625f
mov edi, dword [eax*8 + 0x500b24]
cmp edi, 0x24e
je 0x4a6376
cmp edi, 0x24f
je 0x4a6376
xor eax, eax
mov dword [esp + 0x78], 0
mov word [esi], ax
mov ecx, 0x5236a4
cmp edi, 0x386
jne 0x4a6359
push 0x385
call fcn.00411750
test eax, eax
je 0x4a61d5
push eax
lea ecx, [esp + 0x78]
call fcn.00412850
cmp dword [esp + 0x78], 0
je 0x4a61d1
push 0x501180
lea ecx, [esp + 0x60]
call fcn.00412680
push 0x504384
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 4
call fcn.00412680
lea eax, [esp + 0x5c]
mov byte [esp + 0x94], 5
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.00412fa0
mov byte [esp + 0x94], 4
push dword [esp + 0x44]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x94], 1
push dword [esp + 0x5c]
call fcn.004df97b
mov esi, dword [esp + 0x78]
add esp, 4
push 0x505b5c
push esi
call fcn.004e08e3
add esp, 8
test eax, eax
je 0x4a634f
sub eax, esi
sar eax, 1
js 0x4a634f
cmp eax, dword [esp + 0x78]
jae 0x4a634f
xor ecx, ecx
mov dword [esp + 0x78], eax
mov word [esi + eax*2], cx
push 0x505b68
jmp 0x4a6456
push edi
call fcn.00411750
test eax, eax
je 0x4a61d5
push eax
lea ecx, [esp + 0x78]
call fcn.00412850
jmp 0x4a645f
xor eax, eax
mov dword [esp + 0x78], 0
push 0x21d
mov ecx, 0x5236a4
mov word [esi], ax
call fcn.00411750
test eax, eax
je 0x4a61d5
push eax
lea ecx, [esp + 0x78]
call fcn.00412850
cmp dword [esp + 0x78], 0
je 0x4a61d1
push 0x501180
lea ecx, [esp + 0x6c]
call fcn.00412680
push 0x504384
lea ecx, [esp + 0x54]
mov byte [esp + 0x98], 2
call fcn.00412680
lea eax, [esp + 0x68]
mov byte [esp + 0x94], 3
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x7c]
call fcn.00412fa0
mov byte [esp + 0x94], 2
push dword [esp + 0x50]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x94], 1
push dword [esp + 0x68]
call fcn.004df97b
mov esi, dword [esp + 0x78]
add esp, 4
push 0x505b5c
push esi
call fcn.004e08e3
add esp, 8
test eax, eax
je 0x4a6442
sub eax, esi
sar eax, 1
js 0x4a6442
cmp eax, dword [esp + 0x78]
jae 0x4a6442
xor ecx, ecx
mov dword [esp + 0x78], eax
mov word [esi + eax*2], cx
cmp edi, 0x24e
mov eax, 0x505b60
mov ecx, 0x505b64
cmovne eax, ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00412c30
cmp dword [esp + 0x78], 0
je 0x4a61d1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a64a1
mov ecx, dword [esp + 0x18]
dec eax
cmp word [ecx + eax*2], 9
lea eax, [ecx + eax*2]
je 0x4a648e
cmp eax, ecx
je 0x4a64a1
sub eax, 2
cmp word [eax], 9
jne 0x4a6481
sub eax, ecx
sar eax, 1
js 0x4a64a1
lea eax, [ecx + eax*2]
push eax
lea ecx, [esp + 0x78]
call fcn.00412b70
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x1c]
call fcn.004128e0
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0x10
push eax
push ecx
push ebx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x34], 0
call fcn.0041c7c0
mov byte [esp + 0x94], 0
push dword [esp + 0x74]
jmp 0x4a61de
push 0x51c2c8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.004ea58e
mov dword [esp + 0x94], 0xffffffff
push dword [esp + 0x18]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004df96c
add esp, 0x84
ret 4