Function at 0x4c1bb0
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 0x4c1c05
mov eax, dword [ecx + 0x864]
cmp eax, ebx
jne 0x4c1c05
mov eax, dword [ecx + 0xc70]
cmp eax, ebx
je 0x4c1c7e
mov eax, dword [eax + 0xb4]
cmp eax, ebx
je 0x4c1c7e
mov eax, dword [eax + 0x2c]
cmp eax, ebx
je 0x4c1c7e
mov eax, dword [eax + 0xac]
cmp eax, ebx
je 0x4c1c7e
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x4c1c28
mov eax, dword [ecx + 0x23c]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xc4], ebx
je 0x4c21da
mov esi, dword [esp + 0xc8]
cmp byte [esi], bl
je 0x4c21da
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edi
call dword [edx + 8]
test eax, eax
mov edi, 1
je 0x4c1c84
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 0x4c1c75
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc8], ebx
jmp 0x4c1c88
mov dword [esp + 0x2c], ebx
jmp 0x4c1c1e
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x560]
cmp eax, ebx
mov dword [esp + 0x20], edi
je 0x4c1ca3
cmp byte [eax + 0x38], bl
je 0x4c1ca3
mov ecx, edi
jmp 0x4c1ca5
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x40], ecx
je 0x4c1cb7
cmp byte [eax + 0x39], 6
mov dword [esp + 0x38], ebx
jb 0x4c1cbb
mov dword [esp + 0x38], edi
xor eax, eax
cmp ecx, ebx
mov ecx, dword [edx + 0xc70]
movzx edx, byte [ecx + 0x215]
sete al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
jne 0x4c1d63
cmp byte [esi], 0x2f
jne 0x4c1d63
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4c1d53
cmp dword [esp + 0x28], eax
je 0x4c1d53
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c1d15
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c1d10
call fcn.004a0d20
cmp eax, 6
jg 0x4c1d36
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4c1d49
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c1d31
call fcn.004a0d20
cmp eax, 6
jle 0x4c1d49
mov al, byte [ebp + 0x54]
test al, al
jns 0x4c1d49
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xca8], ebx
je 0x4c1d53
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4c1cf1
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 0x4c2199
lea ecx, [ecx]
xor ecx, ecx
cmp al, bl
je 0x4c1de3
cmp ecx, 0x7f
jge 0x4c1de3
cmp al, 0x2f
je 0x4c1dd7
test byte [esp + 0xd0], 1
jne 0x4c1da8
cmp al, 0x3a
jne 0x4c1da8
mov esi, dword [esp + 0xcc]
cmp byte [esi + 1], 0x2f
je 0x4c1daf
inc esi
cmp ecx, ebx
mov dword [esp + 0xcc], esi
jne 0x4c1de3
jmp 0x4c1dcf
mov esi, dword [esp + 0xcc]
cmp dword [esp + 0x24], ebx
je 0x4c1dc2
cmp al, 0x2e
jne 0x4c1dc2
cmp byte [esi + 1], al
jne 0x4c1ddb
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 0x4c1d76
jmp 0x4c1de3
mov dword [esp + 0x24], ebx
inc esi
mov dword [esp + 0xcc], esi
cmp dword [esp + 0x14], ebx
mov byte [esp + ecx + 0x44], bl
jne 0x4c209f
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
je 0x4c1e62
push edi
lea edx, [esp + 0x48]
push 1
push edx
mov dword [esp + 0x2c], ebx
call fcn.004b3510
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x4c1e62
cmp esi, 0x7efffffd
jl 0x4c1e38
mov ecx, dword [edi + 0x860]
cmp ecx, ebx
je 0x4c211e
call fcn.00485b90
test eax, eax
je 0x4c211e
mov eax, dword [edi + 0x584]
push esi
push eax
call fcn.004b5a00
add esp, 8
cmp eax, ebx
je 0x4c211e
mov eax, dword [eax + 0x54]
cmp eax, ebx
je 0x4c211e
mov ebp, eax
jmp 0x4c2188
mov esi, dword [esp + 0x40]
cmp esi, ebx
jne 0x4c1f1c
mov al, byte [esp + 0x44]
cmp al, 0x5f
jne 0x4c1f20
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._root
push edx
call fcn.0043b9b0
add esp, 0xc
test al, al
je 0x4c1f1c
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4c1eac
mov ebp, eax
mov dword [esp + 0x20], ebx
jmp 0x4c2188
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4c1f13
mov esi, dword [esp + 0x28]
cmp esi, eax
je 0x4c1f13
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c1ed9
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c1ed4
call fcn.004a0d20
cmp eax, 6
jg 0x4c1efa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4c1f09
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c1ef5
call fcn.004a0d20
cmp eax, 6
jle 0x4c1f09
mov al, byte [ebp + 0x54]
test al, al
jns 0x4c1f09
cmp dword [edi + 0xca8], ebx
je 0x4c1f13
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4c1eb7
mov dword [esp + 0x20], ebx
jmp 0x4c2188
mov al, byte [esp + 0x44]
cmp al, 0x2e
jne 0x4c1f34
cmp byte [esp + 0x45], al
jne 0x4c1f34
cmp byte [esp + 0x46], bl
je 0x4c210c
cmp esi, ebx
jne 0x4c1f5f
cmp al, 0x5f
jne 0x4c1f5f
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._parent
push edx
call fcn.0043b9b0
add esp, 0xc
test al, al
jne 0x4c210c
mov al, byte [esp + 0x44]
cmp dword [esp + 0x38], ebx
je 0x4c1fab
cmp al, 0x5f
jne 0x4c1fab
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push str._global
push ecx
call fcn.0043b9b0
add esp, 0xc
test al, al
je 0x4c1fab
push 1
mov ecx, edi
call fcn.004bf250
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x4c211e
xor ebp, ebp
mov dword [esp + 0x14], 1
jmp 0x4c2188
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.004bf3e0
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x4c2079
mov edi, dword [esp + 0x3c]
jmp 0x4c1fd0
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x4c1fea
cmp eax, 0x61
je 0x4c1fea
cmp eax, 9
je 0x4c1fea
cmp eax, 2
jne 0x4c2048
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 0x4c200f
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4c2019
and ecx, 0x1f
mov eax, ecx
cmp eax, 5
jne 0x4c2048
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xc70]
xor eax, eax
mov al, byte [ecx + 0x215]
push eax
push edx
push edi
call fcn.00426670
add esp, 0xc
test al, al
je 0x4c2048
mov al, 1
jmp 0x4c204a
xor al, al
mov ecx, dword [esp + 0x18]
test cl, 2
je 0x4c205a
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
test cl, 1
je 0x4c2066
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp al, bl
jne 0x4c2108
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x4c1fd0
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c211e
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 0x4c2188
test byte [esp + 0xd0], 2
jne 0x4c211e
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc70]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4c20cd
call fcn.004a0d20
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004be610
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 0x4c212d
call fcn.004c3760
jmp 0x4c2132
mov ebp, esi
jmp 0x4c209b
cmp ebp, dword [esp + 0x30]
je 0x4c211e
mov ebp, dword [ebp + 8]
cmp ebp, ebx
je 0x4c211e
cmp dword [ebp + 0x20], ebx
jne 0x4c2188
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10
call fcn.004c2ad0
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x4c211e
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.004bffc0
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x4c211e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4c2188
mov ecx, dword [esp + 0x10]
push 1
call fcn.004bf250
cmp dword [esp + 0xc8], eax
je 0x4c2188
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 0x4c1d70
cmp dword [esp + 0x14], ebx
jne 0x4c21d0
xor esi, esi
cmp ebp, ebx
je 0x4c21b2
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4c21b2
mov esi, dword [eax + 0xb4]
push ebx
mov ecx, dword [esp + 0x14]
push esi
call fcn.0040dfe0
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 0x4c21b3
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10