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

Disassembly:
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
push esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 2
jne 0x4c2595
mov eax, dword [ecx + 0x864]
cmp eax, ebx
jne 0x4c2595
mov eax, dword [ecx + 0xc74]
cmp eax, ebx
je 0x4c260e
mov eax, dword [eax + 0xb4]
cmp eax, ebx
je 0x4c260e
mov eax, dword [eax + 0x2c]
cmp eax, ebx
je 0x4c260e
mov eax, dword [eax + 0xac]
cmp eax, ebx
je 0x4c260e
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x4c25b8
mov eax, dword [ecx + 0x23c]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xc4], ebx
je 0x4c2b6a
mov esi, dword [esp + 0xc8]
cmp byte [esi], bl
je 0x4c2b6a
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edi
call dword [edx + 8]
test eax, eax
mov edi, 1
je 0x4c2614
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0x14], ebx
call dword [eax + 8]
mov ebp, dword [eax + 0x54]
cmp ebp, ebx
jne 0x4c2605
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc8], ebx
jmp 0x4c2618
mov dword [esp + 0x2c], ebx
jmp 0x4c25ae
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x560]
cmp eax, ebx
mov dword [esp + 0x20], edi
je 0x4c2633
cmp byte [eax + 0x38], bl
je 0x4c2633
mov ecx, edi
jmp 0x4c2635
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x40], ecx
je 0x4c2647
cmp byte [eax + 0x39], 6
mov dword [esp + 0x38], ebx
jb 0x4c264b
mov dword [esp + 0x38], edi
xor eax, eax
cmp ecx, ebx
mov ecx, dword [edx + 0xc74]
movzx edx, byte [ecx + 0x215]
sete al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
jne 0x4c26f3
cmp byte [esi], 0x2f
jne 0x4c26f3
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4c26e3
cmp dword [esp + 0x28], eax
je 0x4c26e3
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c26a5
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c26a0
call fcn.004a0f20
cmp eax, 6
jg 0x4c26c6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4c26d9
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c26c1
call fcn.004a0f20
cmp eax, 6
jle 0x4c26d9
mov al, byte [ebp + 0x54]
test al, al
jns 0x4c26d9
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xcac], ebx
je 0x4c26e3
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4c2681
inc esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov al, byte [esi]
cmp al, bl
je 0x4c2b29
lea ecx, [ecx]
xor ecx, ecx
cmp al, bl
je 0x4c2773
cmp ecx, 0x7f
jge 0x4c2773
cmp al, 0x2f
je 0x4c2767
test byte [esp + 0xd0], 1
jne 0x4c2738
cmp al, 0x3a
jne 0x4c2738
mov esi, dword [esp + 0xcc]
cmp byte [esi + 1], 0x2f
je 0x4c273f
inc esi
cmp ecx, ebx
mov dword [esp + 0xcc], esi
jne 0x4c2773
jmp 0x4c275f
mov esi, dword [esp + 0xcc]
cmp dword [esp + 0x24], ebx
je 0x4c2752
cmp al, 0x2e
jne 0x4c2752
cmp byte [esi + 1], al
jne 0x4c276b
mov dword [esp + 0x24], ebx
mov byte [esp + ecx + 0x44], al
inc ecx
inc esi
mov dword [esp + 0xcc], esi
mov al, byte [esi]
cmp al, bl
jne 0x4c2706
jmp 0x4c2773
mov dword [esp + 0x24], ebx
inc esi
mov dword [esp + 0xcc], esi
cmp dword [esp + 0x14], ebx
mov byte [esp + ecx + 0x44], bl
jne 0x4c2a2f
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
je 0x4c27f2
push edi
lea edx, [esp + 0x48]
push 1
push edx
mov dword [esp + 0x2c], ebx
call fcn.004b3a70
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x4c27f2
cmp esi, 0x7efffffd
jl 0x4c27c8
mov ecx, dword [edi + 0x860]
cmp ecx, ebx
je 0x4c2aae
call fcn.00485e30
test eax, eax
je 0x4c2aae
mov eax, dword [edi + 0x584]
push esi
push eax
call fcn.004b6150
add esp, 8
cmp eax, ebx
je 0x4c2aae
mov eax, dword [eax + 0x54]
cmp eax, ebx
je 0x4c2aae
mov ebp, eax
jmp 0x4c2b18
mov esi, dword [esp + 0x40]
cmp esi, ebx
jne 0x4c28ac
mov al, byte [esp + 0x44]
cmp al, 0x5f
jne 0x4c28b0
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._root
push edx
call fcn.0043bb20
add esp, 0xc
test al, al
je 0x4c28ac
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4c283c
mov ebp, eax
mov dword [esp + 0x20], ebx
jmp 0x4c2b18
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4c28a3
mov esi, dword [esp + 0x28]
cmp esi, eax
je 0x4c28a3
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c2869
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c2864
call fcn.004a0f20
cmp eax, 6
jg 0x4c288a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4c2899
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c2885
call fcn.004a0f20
cmp eax, 6
jle 0x4c2899
mov al, byte [ebp + 0x54]
test al, al
jns 0x4c2899
cmp dword [edi + 0xcac], ebx
je 0x4c28a3
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4c2847
mov dword [esp + 0x20], ebx
jmp 0x4c2b18
mov al, byte [esp + 0x44]
cmp al, 0x2e
jne 0x4c28c4
cmp byte [esp + 0x45], al
jne 0x4c28c4
cmp byte [esp + 0x46], bl
je 0x4c2a9c
cmp esi, ebx
jne 0x4c28ef
cmp al, 0x5f
jne 0x4c28ef
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._parent
push edx
call fcn.0043bb20
add esp, 0xc
test al, al
jne 0x4c2a9c
mov al, byte [esp + 0x44]
cmp dword [esp + 0x38], ebx
je 0x4c293b
cmp al, 0x5f
jne 0x4c293b
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push str._global
push ecx
call fcn.0043bb20
add esp, 0xc
test al, al
je 0x4c293b
push 1
mov ecx, edi
call fcn.004bfbf0
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x4c2aae
xor ebp, ebp
mov dword [esp + 0x14], 1
jmp 0x4c2b18
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.004bfd80
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x4c2a09
mov edi, dword [esp + 0x3c]
jmp 0x4c2960
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x4c297a
cmp eax, 0x61
je 0x4c297a
cmp eax, 9
je 0x4c297a
cmp eax, 2
jne 0x4c29d8
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
or eax, 1
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x4c299f
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4c29a9
and ecx, 0x1f
mov eax, ecx
cmp eax, 5
jne 0x4c29d8
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc74]
xor eax, eax
mov al, byte [ecx + 0x215]
push eax
push edx
push edi
call fcn.004266a0
add esp, 0xc
test al, al
je 0x4c29d8
mov al, 1
jmp 0x4c29da
xor al, al
mov ecx, dword [esp + 0x18]
test cl, 2
je 0x4c29ea
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
test cl, 1
je 0x4c29f6
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp al, bl
jne 0x4c2a98
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x4c2960
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c2aae
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0xc8], ecx
xor ebp, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x14], 1
jne 0x4c2b18
test byte [esp + 0xd0], 2
jne 0x4c2aae
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc74]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c2a5d
call fcn.004a0f20
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004bf050
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
cmp eax, ebx
mov eax, dword [esp + 0x40]
push eax
push ecx
mov ecx, esi
je 0x4c2abd
call fcn.004c40f0
jmp 0x4c2ac2
mov ebp, esi
jmp 0x4c2a2b
cmp ebp, dword [esp + 0x30]
je 0x4c2aae
mov ebp, dword [ebp + 8]
cmp ebp, ebx
je 0x4c2aae
cmp dword [ebp + 0x20], ebx
jne 0x4c2b18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10
call fcn.004c3460
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x4c2aae
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.004c0960
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x4c2aae
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4c2b18
mov ecx, dword [esp + 0x10]
push 1
call fcn.004bfbf0
cmp dword [esp + 0xc8], eax
je 0x4c2b18
mov ebp, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x2c], 2
mov esi, dword [esp + 0xcc]
mov al, byte [esi]
cmp al, bl
jne 0x4c2700
cmp dword [esp + 0x14], ebx
jne 0x4c2b60
xor esi, esi
cmp ebp, ebx
je 0x4c2b42
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c2b42
mov esi, dword [eax + 0xb4]
push ebx
mov ecx, dword [esp + 0x14]
push esi
call fcn.0040e010
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x10
mov esi, dword [esp + 0xc8]
push ebx
jmp 0x4c2b43
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10