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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x3c
push edi
xor edi, edi
cmp eax, edi
jne 0x4b5b55
xor eax, eax
pop edi
add esp, 0x3c
ret
push ebx
mov ebx, dword [esp + 0x68]
push ebx
call fcn.00508aa0
add esp, 4
test eax, eax
jne 0x4b5b6d
pop ebx
pop edi
add esp, 0x3c
ret
mov eax, dword [esp + 0x48]
push eax
call fcn.0058ea30
add esp, 4
test eax, eax
jne 0x4b5b84
mov ecx, dword [ebx]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x5c]
push ebp
xor ebp, ebp
cmp eax, edi
mov ecx, 1
push esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], ecx
jg 0x4b5bd9
cmp eax, 0xffffffff
jne 0x4b5bd0
mov dword [esp + 0x34], ecx
jmp 0x4b5bd5
call fcn.0048bd70
mov dword [esp + 0x64], edi
cmp dword [esp + 0x68], edi
jl 0x4b5be8
call fcn.00589940
mov dword [esp + 0x68], eax
push 0x1068
call fcn.005d9f91
mov esi, eax
push 0x1068
mov dword [esp + 0x38], esi
call fcn.005d9f91
push 0x1068
mov dword [esp + 0x2c], eax
call fcn.005d9f91
add esp, 0xc
cmp esi, edi
mov dword [esp + 0x18], eax
je 0x4b5e7e
cmp dword [esp + 0x20], edi
je 0x4b5e7e
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x4b5e7e
mov eax, dword [esp + 0x54]
cmp byte [eax], 0x20
jne 0x4b5c49
mov edi, edi
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4b5c40
cmp byte [eax], 0
je 0x4b5e93
mov edx, esi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b5c56
push 0x20
push esi
call fcn.0051c5e0
add esp, 8
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x4b5e7e
mov esi, dword [esp + 0x58]
cmp esi, edi
je 0x4b5cbc
push 0x14
call fcn.005d9f91
mov ecx, eax
add esp, 4
cmp ecx, edi
mov dword [esp + 0x1c], ecx
je 0x4b5cb8
mov eax, dword [esp + 0x5c]
cmp eax, edi
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov ebp, 2
je 0x4b5caf
mov dword [ecx + 8], eax
mov ebp, 3
jmp 0x4b5cb2
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
jmp 0x4b5cd0
mov eax, dword [esp + 0x10]
lea ebx, [ebx]
test eax, eax
je 0x4b5ea6
mov ecx, dword [eax]
cmp byte [ecx], 0x7b
jne 0x4b5cfd
mov dl, byte [ecx + 1]
test dl, dl
jne 0x4b5cfd
push eax
push eax
call fcn.004e8a00
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4b5cd8
jmp 0x4b5ea6
mov eax, dword [esp + 0x68]
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x48]
push ecx
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 1
push 0
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x8c]
push edx
push edi
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x88]
push ebp
push eax
mov eax, dword [esp + 0x78]
push ecx
push edx
mov edx, dword [esp + 0xb8]
push eax
lea ecx, [esp + 0x7c]
push ecx
push edx
call fcn.004aec10
add esp, 0x74
cmp eax, 0xffffffff
je 0x4b5cc6
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4b5d96
mov eax, dword [esp + 0x54]
mov byte [eax], 0
xor edi, edi
jmp 0x4b5e93
mov ebx, dword [esp + 0x18]
mov byte [ebx], 0
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4b5e43
lea esp, [esp]
cmp dword [ebp + 0x1c], 1
jne 0x4b5e38
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4b5e38
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b5dc6
sub eax, edx
mov edx, eax
mov eax, dword [ebp]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b5dd7
sub eax, esi
add eax, edx
cmp eax, 0x1036
ja 0x4b5e43
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4b5e0a
cmp byte [ebx], 0
je 0x4b5e0a
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b5df8
mov cx, word [0x5f4858]
mov word [edi], cx
mov eax, dword [ebp]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b5e10
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4b5e20
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebp, dword [ebp + 0x40]
test ebp, ebp
jne 0x4b5db0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4b5e61
push 4
push 0x5f7924
push ebx
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x4b5e61
mov byte [ebx], al
mov edx, dword [esp + 0x54]
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b5e70
xor edi, edi
jmp 0x4b5e93
push 2
push str.evaluation
push edi
push edi
call fcn.0048bd90
add esp, 0x10
mov dword [esp + 0x14], eax
cmp dword [esp + 0x10], edi
je 0x4b5ea6
lea edx, [esp + 0x10]
push edx
call fcn.004e8c50
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b5eb7
push eax
call fcn.005d9fa3
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4b5ec8
push eax
call fcn.005d9fa3
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4b5ed9
push eax
call fcn.005d9fa3
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b5eea
push eax
call fcn.005d9fa3
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4b5efb
push eax
call fcn.005d9fa3
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b5f0c
push eax
call fcn.005d9fa3
add esp, 4
mov al, byte [0x643160]
test al, al
je 0x4b5f4a
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4b5f4a
mov esi, dword [esp + 0x64]
cmp esi, dword [0x6441cc]
jg 0x4b5f31
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x50]
push esi
push 1
push 0
push eax
call fcn.0048c350
add esp, 0x10
call fcn.0048bd70
jmp 0x4b5f4e
mov esi, dword [esp + 0x64]
test esi, esi
pop esi
pop ebp
jg 0x4b5f66
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x48]
push ecx
push edx
call fcn.0058ae70
add esp, 8
mov eax, dword [esp + 0xc]
pop ebx
pop edi
add esp, 0x3c
ret