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

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x90
push 0x54326c
call fcn.00466fd0
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test ah, 0x20
je 0x4ce8be
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
lea ebp, [ecx + 0x20]
jmp 0x4ce8c0
xor ebp, ebp
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4cecf5
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x4cecf5
test al, 4
je 0x4ce8e4
test al, 0xe3
jne 0x4cecf5
test al, 1
jne 0x4ce8f0
test al, 2
jne 0x4cecf5
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x38]
mov dword [esi], ecx
lea edx, [edi + edx*2]
mov dword [esi + 0x30], eax
mov dword [esi + 4], edi
mov dword [esi + 8], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], 0xa
xor eax, eax
mov edx, dword [esi + 0x30]
inc eax
mov dword [edx + eax*4 - 4], ebx
mov edx, dword [esi + 0x34]
cmp eax, edx
jb 0x4ce91d
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov word [esi + 0x68], 0xffff
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
push 0x928
mov dword [ecx], 0xfed7
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 2
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], 0x53b0b4
call fcn.0044ffd0
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 4
cmp edi, ebx
mov dword [eax + 0x14], edi
jne 0x4ce9a0
push 0xc
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
lea eax, [edi + 0x3c]
mov dword [edi + 0x10], ebx
push eax
push esi
call fcn.004d2a00
lea eax, [edi + 0x3c]
push ebx
mov dword [esi + 0x64], eax
mov dword [edi + 0x920], ebx
mov dword [edi + 0x924], ebx
mov dword [edi + 0x14], ebx
mov ecx, dword [esi + 0x64]
push ecx
push esi
call fcn.004d3520
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x14]
add esp, 0x14
cmp eax, ebx
je 0x4ce9e9
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x14
push 0x64
call fcn.004d4c10
add esp, 8
cmp eax, ebx
mov dword [esi + 0x80], eax
jne 0x4cea0f
push 0xc
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.004d1020
mov al, byte [esi + 0x18]
add esp, 4
test al, 0xc0
je 0x4cea47
call fcn.004d2990
mov edx, dword [esi + 0x64]
and eax, 0xffff
push eax
push edx
call fcn.004d2b70
mov ecx, dword [esi + 0x60]
mov word [esi + 0x68], ax
mov eax, dword [esi + 0x64]
push eax
push ecx
call fcn.004d31b0
add esp, 0x10
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4cea5d
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x60]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
push eax
push 0x70
push 0x65
push esi
call fcn.004ceed0
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x14]
add esp, 0x14
cmp eax, ebx
je 0x4cea8e
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 0x60]
push ecx
call fcn.004d3e30
mov eax, dword [esi + 0x14]
add esp, 4
cmp eax, ebx
je 0x4ceab0
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
cmp ebp, ebx
je 0x4cead9
push str._n_n_n_RAW__n
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
mov edx, dword [esi + 0x60]
push ebp
push edx
call fcn.004d4bf0
mov eax, dword [esi + 0x70]
push 1
push ebp
push eax
call fcn.004d0dd0
add esp, 0x1c
mov ecx, dword [esi + 0x70]
push ecx
push esi
call fcn.004d0a70
mov edx, dword [esi + 0x70]
push 1
push edx
call fcn.004d0a80
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x70]
push eax
call fcn.004d0ac0
push esi
call fcn.004d0af0
add esp, 0x18
cmp ebp, ebx
je 0x4ceb22
push str._n_n_n_TREE_FIXED__n
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
mov ecx, dword [esi + 0x70]
push 1
push ebp
push ecx
call fcn.004d0dd0
add esp, 0x14
mov edx, dword [esi + 0x70]
push ebp
push edx
push esi
call fcn.004d0b30
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [ecx + 8]
or edx, eax
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4ceb52
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 0x8c]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x18], eax
jle 0x4cebba
mov dword [esp + 0x1c], 0x44
cmp ebp, ebx
je 0x4ceb85
mov eax, dword [esp + 0x18]
push eax
push str._n_n_n_LA_d__n
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x88]
add ecx, eax
push ebp
push ecx
push esi
call fcn.004d0b80
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x8c]
add esp, 0xc
inc eax
add edx, 0x44
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jl 0x4ceb6d
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4cebd0
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esi + 0x70]
test byte [edx + 1], 2
je 0x4cebe4
mov eax, dword [esi]
mov ecx, dword [eax + 8]
or ch, 0x20
mov dword [eax + 8], ecx
cmp ebp, ebx
je 0x4cebf7
push str._n_n_n_SEARCH__n
push ebp
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 8
mov eax, dword [esi + 0x60]
push ebp
push eax
call fcn.004d3ee0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
je 0x4cec1a
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 0x60]
push ecx
push esi
call fcn.004cedc0
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
je 0x4cec3d
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esi + 0x60]
lea eax, [edi + 0x14]
push eax
push edx
call fcn.004d4990
mov eax, dword [esi + 0x14]
add esp, 8
cmp eax, ebx
je 0x4cec63
push eax
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x2c]
mov dword [eax + 4], ecx
mov dword [esi], ebx
mov dword [edi], 0xfed9
mov edx, dword [esi + 0x18]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [esi + 0x70]
mov dword [edi + 0x10], ecx
mov edx, dword [esi + 0x7c]
mov dword [esi + 0x70], ebx
mov dword [edi + 0x38], edx
test byte [esi + 0x18], 8
mov ecx, 0x4d5680
jne 0x4ceca6
mov ecx, 0x4d5660
mov dword [edi + 0x91c], ecx
mov ecx, dword [esi + 0x88]
mov dword [edi + 0x920], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x8c]
mov dword [esi + 0x88], ebx
test ch, 8
mov dword [edi + 0x924], edx
je 0x4cece6
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x20
push ecx
push eax
call fcn.004d0dc0
add esp, 8
push ebx
push esi
call fcn.004ced00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x10
pop ebx
ret