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

Disassembly:
push 0xffffffffffffffff
push 0x49d68f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0xbc]
call fcn.00510ecd
lea eax, [esp + 0x1b0]
xor ebp, ebp
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x284], ebp
call fcn.00510a7e
mov ecx, esi
call fcn.004c9211
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x4c], edi
je 0x4cac3e
mov ecx, edi
call fcn.004c65a1
test eax, eax
je 0x4cac3e
mov ecx, edi
call fcn.004c65e1
test eax, eax
je 0x4cac3e
cmp dword [esi + 0x44c], ebp
je 0x4c96bd
mov ecx, esi
call fcn.004cad71
push ebx
mov ecx, esi
call fcn.004c91a1
push ebp
mov ecx, esi
mov dword [esp + 0x190], eax
call fcn.004c91b1
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.004da4c1
add esp, 0xc
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x1ac]
call fcn.004c8c71
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1bc]
mov edx, dword [esp + 0x1b4]
mov edi, dword [fcn.004a0080]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x74]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c0]
push 2
push eax
push ecx
mov byte [esp + 0x290], 2
mov dword [esp + 0x8c], edx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x98]
push edx
push eax
call dword [fcn.004a0548]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x98]
push 2
push ecx
push edx
call edi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x118], eax
mov dword [esp + 0x128], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x12c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], edi
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], edi
call fcn.004cacc1
mov edi, dword [eax]
mov ecx, dword [esp + 0x98]
add ecx, edi
lea edx, [esp + 0x98]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
add eax, ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], eax
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
call dword [fcn.004a04d4]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x14]
push 2
push edx
push eax
mov dword [esp + 0x2c], ecx
call dword [fcn.004a0158]
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], 0x4fd614
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 3
push ecx
call dword [0x4a0154]
push eax
lea ecx, [esp + 0x14c]
call fcn.0051100d
mov eax, dword [esp + 0x118]
lea edx, [esp + 0x74]
add eax, edi
push edx
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x11c]
push eax
push ecx
call dword [fcn.004a04d4]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x124]
push 2
push eax
push ecx
mov dword [esp + 0x2c], edx
call dword [fcn.004a0158]
mov dword [esp + 0x154], ebp
mov dword [esp + 0x150], 0x4fd614
mov edi, dword [0x4a0154]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x288], 4
call edi
push eax
lea ecx, [esp + 0x154]
call fcn.0051100d
mov edx, dword [esp + 0x12c]
lea eax, [esp + 0x74]
add edx, ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x12c], edx
push eax
lea edx, [esp + 0x12c]
push ecx
push edx
call dword [fcn.004a04d4]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x134]
push 2
push ecx
push edx
mov dword [esp + 0x2c], eax
call dword [fcn.004a0158]
mov dword [esp + 0x160], ebp
mov ebx, 0x4fd614
mov dword [esp + 0x15c], ebx
lea eax, [esp + 0x14]
mov byte [esp + 0x284], 5
push eax
call edi
push eax
lea ecx, [esp + 0x160]
call fcn.0051100d
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x284], 7
push ecx
call edi
push eax
lea ecx, [esp + 0x6c]
call fcn.0051100d
mov edx, dword [esp + 0xc4]
mov edi, dword [fcn.004a0084]
push 6
push edx
call edi
push eax
call fcn.00510ff8
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0xc4]
push 1
push eax
call edi
push eax
call fcn.00510ff8
mov ecx, dword [esp + 0xc4]
push 2
push ecx
mov dword [esp + 0x19c], eax
call edi
push eax
call fcn.00510ff8
push 1
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1b4], eax
call fcn.0051073d
mov eax, dword [esi + 0x44]
mov edi, dword [esp + 0x50]
shr eax, 1
and eax, 1
mov ecx, edi
mov dword [esp + 0x144], eax
call fcn.004c65a1
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.004c6661
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.004c65e1
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.004c6671
mov edi, eax
push 1
mov ecx, esi
mov dword [esp + 0x3c], edi
call fcn.0050d457
add eax, ebx
push ebp
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0050d457
lea edx, [esp + 0xb4]
add eax, edi
push edx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004c8e61
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x90], 0x4fe3b4
lea eax, [esp + 0x90]
mov ecx, esi
push eax
mov byte [esp + 0x288], 8
call fcn.004c9261
push 0xf
call dword [fcn.004a0504]
push eax
lea ecx, [esp + 0x178]
call fcn.005110ca
push 0xffffff
push ebp
push ebp
lea ecx, [esp + 0x144]
mov byte [esp + 0x290], 9
call fcn.0051107a
push 0x808080
push ebp
push ebp
lea ecx, [esp + 0x11c]
mov byte [esp + 0x290], 0xa
call fcn.0051107a
push ebp
push ebp
push ebp
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x290], 0xb
call fcn.0051107a
mov eax, 5
mov dword [esp + 0x164], ebp
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebp
mov dword [esp + 0x170], eax
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x184], ebp
mov dword [esp + 0x180], ebp
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x284], 0xe
call fcn.004c82e1
mov ecx, dword [0x5179b8]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x284], 0x10
mov dword [esp + 0x54], 1
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0xb0]
push eax
call fcn.005110ca
cmp eax, ebp
jne 0x4cac56
xor eax, eax
jmp 0x4cac59
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0x1b0]
push eax
push ecx
push edx
call dword [0x4a051c]
mov dword [esp + 0xb0], 0x4fc820
lea ecx, [esp + 0xb0]
mov byte [esp + 0x280], 1
call fcn.00511064