Function at 0x4a0c60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5910a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
mov esi, ecx
push ebx
call fcn.004f77f0
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push eax
call fcn.0042ca00
mov ecx, dword [0x59f144]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0xc], ecx
lea edx, [esp + 0x28]
lea eax, [esp + 0x74]
push edx
push 0x5debac
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x78], 1
mov dword [esp + 0x34], ebx
call fcn.00431ba0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 2
call fcn.0042d420
lea ecx, [esp + 0x74]
mov byte [esp + 0x6c], 1
call fcn.0042d270
push 0x5efa58
lea ecx, [esp + 0x1c]
call fcn.0042c8f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
push ecx
push edx
call fcn.00414e8b
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x18]
setne byte [esp + 0x74]
call fcn.0042d270
cmp byte [esp + 0x74], bl
je 0x4a111b
push edi
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.0042c7f0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push 0x5debac
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 3
call fcn.00431ba0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 4
call fcn.0042d420
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 3
call fcn.0042d270
lea ecx, [esp + 0xc]
call fcn.00431140
lea ecx, [esp + 0xc]
call fcn.00430e40
mov eax, dword [esp + 0xc]
cmp dword [eax - 8], ebx
je 0x4a10d2
push 0x2f
lea ecx, [esp + 0x10]
call fcn.0042e3d0
cmp eax, 0xffffffff
je 0x4a0e55
mov ecx, dword [0x59f144]
mov dword [esp + 0x40], ecx
push 0x5efb00
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 5
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.0042d550
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0x74], 6
call fcn.00579cde
mov eax, dword [eax]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
push ecx
push edx
push eax
mov byte [esp + 0x7c], 7
call fcn.0049f950
add esp, 0xc
lea ecx, [esp + 0x34]
mov edi, eax
mov byte [esp + 0x70], 6
call fcn.00579c1e
cmp edi, ebx
je 0x4a0e47
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x4a0e47
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x44]
call fcn.0042d420
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.004f77f0
mov edx, dword [esi + 4]
lea ecx, [edi + edi*2]
lea eax, [esp + 0x38]
push eax
lea ecx, [edx + ecx*4]
call fcn.004fb3f0
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x40]
jmp 0x4a10cd
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 3
call fcn.0042d270
push 0x2d
lea ecx, [esp + 0x10]
call fcn.0042e3d0
mov edi, eax
cmp edi, ebx
jl 0x4a0fc6
lea eax, [esp + 0x18]
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.0042fa40
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 8
call fcn.00431140
lea ecx, [esp + 0x18]
call fcn.00430e40
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
sub eax, edi
dec eax
push eax
push edx
call fcn.0042f830
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 9
call fcn.00431140
lea ecx, [esp + 0x14]
call fcn.00430e40
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.004a14e0
test eax, eax
je 0x4a0faa
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.004a14e0
test eax, eax
je 0x4a0faa
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, eax
ja 0x4a0faa
mov edx, dword [0x59f144]
mov dword [esp + 0x4c], edx
push 0x5efb00
lea ecx, [esp + 0x50]
mov byte [esp + 0x74], 0xa
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
call fcn.0042d550
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xb
mov dword [esp + 0x44], eax
call fcn.0042cf90
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.004f77f0
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x44]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov dword [eax], edx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x4c]
mov dword [eax + 4], ecx
push edx
lea ecx, [eax + 8]
call fcn.0042d420
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 9
call fcn.0042d270
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 8
call fcn.0042d270
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x18]
jmp 0x4a10cd
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 8
call fcn.0042d270
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 3
call fcn.0042d270
mov eax, dword [esp + 0xc]
push eax
call fcn.0049f790
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4a1052
mov ecx, dword [0x59f144]
mov dword [esp + 0x58], ecx
push 0x5efb00
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 0xc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0042d550
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 0xd
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.0042cf90
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.004f77f0
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x50]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov dword [eax], edx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x58]
mov dword [eax + 4], ecx
push edx
lea ecx, [eax + 8]
call fcn.0042d420
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x58]
jmp 0x4a10cd
mov eax, dword [0x59f144]
mov dword [esp + 0x64], eax
push 0x5efb00
lea ecx, [esp + 0x68]
mov byte [esp + 0x74], 0xe
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.0042d550
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 0xf
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.0042d420
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.004f77f0
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x5c]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov dword [eax], edx
mov ecx, dword [esp + 0x60]
lea edx, [esp + 0x64]
mov dword [eax + 4], ecx
push edx
lea ecx, [eax + 8]
call fcn.0042d420
mov byte [esp + 0x70], 3
lea ecx, [esp + 0x64]
call fcn.0042d270
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 1
call fcn.0042d270
push 0x5efa58
lea ecx, [esp + 0x20]
call fcn.0042c8f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00414e8b
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x1c]
setne byte [esp + 0x78]
call fcn.0042d270
cmp byte [esp + 0x78], bl
jne 0x4a0d1b
pop edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], bl
call fcn.0042d270
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], 0xffffffff
call fcn.0042d270
mov ecx, dword [esp + 0x64]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4