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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x138
call fcn.004a83a0
lea edx, [0x7f88a0]
lea esi, [0x808358]
lea edi, [0x806184]
lea ebx, [0x8084b4]
mov dword [esp + 0x44], eax
lea eax, [0x808334]
mov dword [esp + 0x40], eax
lea eax, [0x80612c]
mov dword [esp + 0x3c], eax
lea eax, [0x808490]
mov dword [esp + 0x38], eax
lea eax, [0x80504e]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x130], eax
mov dword [esp + 0x12c], ecx
mov ecx, dword [esp + 0x12c]
mov eax, ecx
add eax, 0x70
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0xfffffff5
mov eax, ecx
sub eax, 0xffffff94
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0x1d
mov dword [esp + 0x90], 0x20
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov eax, ecx
add eax, 0x70
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0
mov eax, ecx
add eax, 0x6c
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x26
mov dword [esp + 0xa8], 0x10
mov eax, dword [esp + 0x38]
mov dword [esp + 0xac], eax
mov eax, 0x447cd8
mov eax, ecx
add eax, 0x70
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 4
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov eax, ecx
add eax, 0x6c
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0x1b
mov dword [esp + 0xd8], 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0xdc], eax
mov eax, 1
mov eax, ecx
add eax, 0x68
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], 0xffffffe8
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0x20
mov dword [esp + 0xf4], ebx
mov eax, ecx
add eax, 0x68
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0xfffffff4
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0x10
mov dword [esp + 0x10c], edi
mov eax, ecx
add eax, 0x68
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], 0xffffffec
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 4
mov dword [esp + 0x124], esi
mov eax, dword [esp + 0x130]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 0x30], ecx
call fcn.0049fda0
lea ecx, [esp + 0x80]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0x7c]
add eax, dword [edx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x7c]
call fcn.004a83b0
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x80]
mov ecx, dword [esp + 0x70]
sub ecx, eax
cmp ecx, 0xa8
jae 0x4a8367
mov eax, dword [0x80a094]
mov ecx, dword [0x80a090]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x4a8036
jmp 0x4a8371
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x11c]
mov edx, dword [esp + 0x70]
and ecx, dword [edx + 0x10]
cmp ecx, 0
setne bl
mov ecx, dword [0x80a094]
mov edx, dword [0x80a090]
mov esi, ecx
sub esi, 1
imul ecx, esi
and ecx, 1
push ebx
mov ebx, 0xac25f136
xor ebx, 0xac25f136
cmp ecx, ebx
pop ebx
sete bh
push ebx
mov ebx, 0x5b9fd3b4
xor ebx, 0x5b9fd3be
cmp edx, ebx
pop ebx
setl al
or bh, al
test bh, 1
mov byte [esp + 0x2f], bl
jne 0x4a80a5
jmp 0x4a8371
mov al, byte [esp + 0x2f]
test al, 1
jne 0x4a80bb
jmp 0x4a80b6
jmp 0x4a8355
mov eax, dword [esp + 0x70]
cmp dword [eax], 0
je 0x4a80e5
mov eax, dword [esp + 0x70]
call fcn.004a83c0
cmp dword [eax], 0
je 0x4a80e5
jmp 0x4a8355
mov eax, dword [esp + 0x70]
cmp dword [eax + 8], 0
je 0x4a810e
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 8]
cmp dword [eax], 0
je 0x4a810e
jmp 0x4a8355
mov eax, dword [0x80a094]
mov ecx, dword [0x80a090]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x4a814a
jmp 0x4a8376
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049d9c0
mov eax, dword [0x80a094]
mov ecx, dword [0x80a090]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x4a819d
jmp 0x4a8376
jmp 0x4a81a2
mov eax, 0x447b40
mov eax, esp
mov dword [eax + 4], 0
mov dword [eax], 0xffffffcc
lea ecx, [esp + 0x58]
call fcn.004a3190
sub esp, 8
mov dword [esp + 0x28], eax
mov eax, dword [0x80a094]
mov ecx, dword [0x80a090]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x4a8202
jmp 0x4a8392
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
cmp eax, 0xffffffff
setne cl
mov edx, dword [0x80a094]
call fcn.004a83d0
mov edi, edx
sub edi, 1
imul edx, edi
and edx, 1
cmp edx, 0
sete ch
cmp esi, 0xa
setl bl
or ch, bl
test ch, 1
mov byte [esp + 0x27], cl
jne 0x4a8254
jmp 0x4a8392
mov al, byte [esp + 0x27]
test al, 1
jne 0x4a8265
jmp 0x4a828c
mov eax, dword [esp + 0x54]
mov ecx, esp
call fcn.004a83e0
lea ecx, [esp + 0x58]
call fcn.00477900
sub esp, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov byte [eax], 0
jmp 0x4a81a2
lea ecx, [esp + 0x58]
call fcn.00525d40
mov ecx, 0x80
mov ecx, esp
mov dword [ecx], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.00477900
sub esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
call fcn.004adb60
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x48], 0
je 0x4a834c
mov eax, dword [esp + 0x70]
cmp dword [eax], 0
je 0x4a831d
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
add eax, dword [ecx + 4]
mov ecx, dword [esp + 0x70]
call fcn.004a83f0
call fcn.004a8400
mov eax, dword [esp + 0x70]
cmp dword [eax + 8], 0
je 0x4a8347
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x70]
add eax, dword [ecx + 0xc]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 8]
call fcn.004a8410
jmp 0x4a834c
lea ecx, [esp + 0x58]
call fcn.00506f10
mov eax, dword [esp + 0x70]
add eax, 0x18
mov dword [esp + 0x70], eax
jmp 0x4a7fe1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
jmp 0x4a8036
lea eax, [esp + 0x58]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049d9c0
jmp 0x4a814a
mov eax, dword [esp + 0x28]
mov dword [esp + 0x54], eax
jmp 0x4a8202