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

Disassembly:
push 0xffffffffffffffff
push 0x4d722b
mov eax, dword fs:[0]
push eax
mov eax, 0x1070
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x106c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x1084]
mov dword fs:[0], eax
push 0x33f
call fcn.00475cc0
push eax
call fcn.004a08a0
lea ecx, [esp + 0x1c]
call fcn.0043e080
xor ebp, ebp
mov dword [esp + 0x108c], ebp
cmp byte [0x54c1fa], 0
mov byte [esp + 0x17], 0
je 0x4c08d4
mov ecx, 0x546060
call fcn.004219c0
test al, al
jne 0x4c08b2
cmp byte [0x54c1b3], al
jne 0x4c08b2
cmp byte [0x54c1b4], al
jne 0x4c08b2
mov byte [esp + 0x17], 1
mov eax, dword [0x521490]
cmp eax, ebp
je 0x4c08d4
jmp 0x4c08c0
cmp dword [eax + 0x6c], 1
jne 0x4c08cf
mov eax, dword [eax + 0x78]
cmp eax, ebp
jne 0x4c08c0
jmp 0x4c08d4
mov byte [esp + 0x17], 0
mov esi, dword [0x521490]
mov dword [esp + 0x18], ebp
cmp esi, ebp
je 0x4c0a08
mov edi, 1
cmp dword [esi + 0x6c], edi
je 0x4c08fa
cmp dword [esi + 0x70], 0
je 0x4c09fd
test byte [esp + 0x18], 7
jne 0x4c0906
call fcn.004807d0
mov eax, dword [esi + 0x60]
add dword [esp + 0x18], edi
push 0x800
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esi + 0x6c], edi
xor bl, bl
call fcn.0047fbe0
lea edx, [esp + 0x30]
push edx
call fcn.00460740
mov edi, eax
movzx eax, word [edi]
push eax
call fcn.004607a0
test al, al
je 0x4c0942
xor ecx, ecx
mov word [edi], cx
mov bl, 1
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x3c]
push edx
push eax
call fcn.004a0990
call fcn.004a0fb0
cmp byte [0x54c1fa], 0
je 0x4c0997
cmp byte [esp + 0x17], 0
jne 0x4c096c
test bl, bl
jne 0x4c09fc
lea ecx, [esp + 0x30]
push ecx
call fcn.0043d340
test al, al
je 0x4c0988
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
call fcn.0043e140
test bl, bl
je 0x4c09fd
lea ecx, [esp + 0x1c]
call fcn.0043d5b0
jmp 0x4c09fd
test bl, bl
jne 0x4c09fc
lea eax, [esp + 0x30]
push eax
call fcn.0043d460
cmp byte [0x54c1f9], bl
jne 0x4c09c3
lea ecx, [esp + 0x30]
push ecx
call fcn.0043cde0
test al, al
je 0x4c09d1
cmp byte [0x54c1f9], bl
je 0x4c09fd
lea edx, [esp + 0x30]
push edx
call fcn.0043e230
test al, al
jne 0x4c09fd
lea eax, [esp + 0x30]
push eax
push 0x202
call fcn.00475cc0
mov ecx, dword [0x51ff6c]
push eax
push ecx
call fcn.004adf30
add esp, 0xc
mov ecx, 0x51ff10
call fcn.00433f70
jmp 0x4c09fd
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4c08e6
lea ecx, [esp + 0x1c]
call fcn.0043d5b0
test ebp, ebp
je 0x4c0ba0
lea edx, [ebp*4]
push edx
call fcn.004c2cc7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4c0a4b
mov dword [esp + 0x108c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0043e0e0
lea eax, [ebx + 4]
jmp 0x4c0c51
mov esi, dword [0x521490]
xor ebp, ebp
test esi, esi
je 0x4c0ac1
cmp dword [esi + 0x6c], 0
je 0x4c0aba
mov eax, dword [esi + 0x64]
cmp word [eax], 0
je 0x4c0aba
push eax
call fcn.00460740
movzx eax, word [eax]
push eax
call fcn.004607a0
test al, al
je 0x4c0aba
test ebp, ebp
je 0x4c0ab6
mov ecx, dword [ebx + ebp*4 - 4]
mov ecx, dword [ecx + 0x60]
mov eax, dword [esi + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c0aad
test dx, dx
je 0x4c0aa9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c0aad
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c0a87
xor eax, eax
jmp 0x4c0ab2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c0aba
mov dword [ebx + ebp*4], esi
inc ebp
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4c0a57
push 0x4bae70
push 4
push ebp
push ebx
call fcn.004c27c0
add esp, 0x10
xor esi, esi
test ebp, ebp
jbe 0x4c0b97
mov edx, dword [ebx + esi*4]
mov eax, dword [edx + 0x60]
cmp word [eax], 0
je 0x4c0b8e
test esi, esi
je 0x4c0b26
mov ecx, dword [ebx + esi*4 - 4]
mov ecx, dword [ecx + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4c0b1d
test dx, dx
je 0x4c0b19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4c0b1d
add eax, 4
add ecx, 4
test dx, dx
jne 0x4c0af7
xor eax, eax
jmp 0x4c0b22
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c0b8e
mov eax, dword [ebx + esi*4]
mov edx, dword [eax + 0x60]
mov eax, dword [eax + 0x3c]
push edx
push eax
call fcn.004a0990
call fcn.004a0fb0
mov ecx, dword [ebx + esi*4]
mov edx, dword [ecx + 0x60]
push 0x800
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0047fbe0
lea ecx, [esp + 0x30]
push ecx
call fcn.00460740
mov edi, eax
movzx edx, word [edi]
push edx
call fcn.004607a0
test al, al
je 0x4c0b6f
xor eax, eax
mov word [edi], ax
cmp byte [0x54c1f9], 0
je 0x4c0b84
lea ecx, [esp + 0x30]
push ecx
call fcn.0043d610
jmp 0x4c0b8e
lea edx, [esp + 0x30]
push edx
call fcn.0043ce60
inc esi
cmp esi, ebp
jb 0x4c0adc
push ebx
call fcn.004c23c4
add esp, 4
mov ecx, 0x5214a0
call fcn.0044bf00
cmp byte [0x54c1fa], 0
je 0x4c0bfe
cmp byte [esp + 0x17], 0
je 0x4c0bf3
xor esi, esi
cmp dword [0x52150c], esi
jbe 0x4c0bf3
push esi
lea eax, [esp + 0x34]
push eax
mov ecx, 0x5214a0
call fcn.0044bde0
mov edi, eax
push edi
call fcn.0043d340
test al, al
je 0x4c0bea
push edi
lea ecx, [esp + 0x20]
call fcn.0043e140
inc esi
cmp esi, dword [0x52150c]
jb 0x4c0bc4
lea ecx, [esp + 0x1c]
call fcn.0043d5b0
jmp 0x4c0c3b
mov esi, dword [0x52150c]
add esi, 0xffffffff
js 0x4c0c3b
lea esp, [esp]
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x5214a0
call fcn.0044bde0
cmp byte [0x54c1f9], 0
push eax
je 0x4c0c31
call fcn.0043d610
jmp 0x4c0c36
call fcn.0043ce60
sub esi, 1
jns 0x4c0c10
mov dword [esp + 0x108c], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.0043e0e0
xor eax, eax
mov ecx, dword [esp + 0x1084]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x106c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x107c
ret