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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x591d78
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x634384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x98]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test eax, 0xe0f
je 0x4a3b12
cmp eax, 0xffffffff
je 0x4a3b12
cmp eax, 0xfffffffe
je 0x4a3b12
test ebx, ebx
je 0x4a39af
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov dword [ebp - 4], eax
lea eax, [esi + 0x64]
cmp dword [eax + 0x14], 8
jb 0x4a397a
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push dword [esi + 0x94]
push eax
call fcn.004c3710
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.00447930
add esp, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041ba60
mov ecx, dword [esi + 0x94]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea eax, [ecx - 1]
cmp eax, 9
ja 0x4a39ce
mov byte [ebp + ecx - 0x1d], 1
push dword [esi + 0x98]
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 4]
add eax, 0x30
push eax
call fcn.004c3380
add esp, 0xc
cmp al, 0xff
je 0x4a3b12
test edi, edi
je 0x4a39f5
mov byte [edi], al
movzx eax, al
cmp eax, 0x10
ja case.0x4a3a08.0
movzx eax, byte [eax + 0x4a3bd8]
jmp dword [eax*4 + 0x4a3bc4]
cmp byte [esi + 0x60], 0
jne 0x4a3ad0
cmp dword [esi + 0x24], 8
mov eax, dword [esi + 4]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x84], 0
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
lea eax, [esi + 0x10]
jb 0x4a3a8a
mov eax, dword [eax]
cmp dword [esi + 0x78], 8
mov dword [ebp - 0x80], eax
lea eax, [esi + 0x64]
mov dword [ebp - 0x6c], 0
jb 0x4a3a9f
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], 0
call fcn.00495ec0
push 0
push 0
push 0
lea ecx, [ebp - 0x84]
push ecx
push dword [esi + 8]
mov ecx, eax
call fcn.004f1990
test eax, eax
je 0x4a3ad0
mov eax, 0x8000
jmp 0x4a3b0c
mov eax, 0x400
jmp 0x4a3b0c
cmp byte [esi + 0x60], 0
jne 0x4a3afc
cmp dword [esi + 0x24], 8
lea eax, [esi + 0x10]
jb 0x4a3ae8
mov eax, dword [eax]
push eax
call fcn.00445b50
add esp, 4
test eax, eax
jns 0x4a3afc
mov eax, 0x200000
jmp 0x4a3b0c
mov eax, 0x200
jmp 0x4a3b0c
mov eax, 0x800
jmp 0x4a3b0c
xor eax, eax
or dword [esi + 0x98], eax
cmp dword [esi], 0
je 0x4a3ba5
cmp dword [esi + 0x54], 0x10
lea ecx, [esi + 0x40]
jb 0x4a3b26
mov ecx, dword [ecx]
cmp dword [esi + 0x3c], 0x10
lea edx, [esi + 0x28]
jb 0x4a3b31
mov edx, dword [edx]
cmp dword [esi + 0x90], 0x10
lea edi, [esi + 0x7c]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x3c], eax
jb 0x4a3b48
mov edi, dword [edi]
cmp dword [esi + 0x78], 8
lea eax, [esi + 0x64]
jb 0x4a3b53
mov eax, dword [eax]
cmp dword [esi + 0x24], 8
lea ebx, [esi + 0x10]
mov dword [ebp - 0x38], ebx
mov ebx, dword [esi]
jb 0x4a3b69
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x38], ebx
mov ebx, dword [esi]
push ecx
push edx
push dword [ebp - 0x3c]
mov ecx, dword [esi + 0x58]
push dword [esi + 0xa4]
push dword [esi + 0xa0]
push edi
push eax
push dword [esi + 0x94]
mov eax, dword [esi + 0x5c]
push dword [esi + 0x98]
push eax
push ecx
push eax
push ecx
push dword [ebp - 0x38]
push 3
push 0
push dword [esi + 0xc]
push ebx
call fcn.004c3470
add esp, 0x48
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005395e6
mov esp, ebp
pop ebp
ret 8