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

Disassembly:
sub esp, 0x3c
push esi
push edi
xor edi, edi
cmp edx, edi
mov esi, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], esi
jne 0x4a5dff
pop edi
xor eax, eax
pop esi
add esp, 0x3c
ret 0x1c
push ebx
mov ebx, dword [esp + 0x64]
mov ecx, ebx
call fcn.004f0af0
test eax, eax
jne 0x4a5e18
pop ebx
pop edi
pop esi
add esp, 0x3c
ret 0x1c
mov ecx, esi
call fcn.00561000
test eax, eax
jne 0x4a5e29
mov eax, dword [ebx]
mov dword [esp + 0x20], eax
push ebp
mov eax, 1
push 0x3e7
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edi
xor ebp, ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x18], eax
call fcn.00591118
mov esi, eax
push 0x3e7
mov dword [esp + 0x38], esi
call fcn.00591118
push 0x3e7
mov dword [esp + 0x2c], eax
call fcn.00591118
add esp, 0xc
cmp esi, edi
mov dword [esp + 0x10], eax
je 0x4a60ee
cmp dword [esp + 0x20], edi
je 0x4a60ee
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x4a60ee
mov eax, dword [esp + 0x18]
cmp byte [eax], 0x20
jne 0x4a5ebc
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4a5eb3
cmp byte [eax], 0
je 0x4a6102
mov edx, esi
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a5ed0
mov dl, 0x20
mov ecx, esi
call fcn.00503b10
cmp eax, edi
mov dword [esp + 0x68], eax
je 0x4a60ee
mov esi, dword [esp + 0x50]
cmp esi, edi
je 0x4a5f34
push 0x14
call fcn.00591118
mov ecx, eax
add esp, 4
cmp ecx, edi
mov dword [esp + 0x1c], ecx
je 0x4a5f30
mov eax, dword [esp + 0x54]
cmp eax, edi
mov dword [ecx], edi
mov dword [ecx + 4], esi
mov ebp, 2
je 0x4a5f27
mov dword [ecx + 8], eax
mov ebp, 3
jmp 0x4a5f2a
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], edi
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
jmp 0x4a5f42
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4a6111
lea ebx, [ebx]
mov ecx, dword [eax]
cmp byte [ecx], 0x7b
jne 0x4a5f74
mov dl, byte [ecx + 1]
test dl, dl
jne 0x4a5f74
mov edx, eax
mov ecx, eax
call fcn.004d3ac0
test eax, eax
mov dword [esp + 0x68], eax
jne 0x4a5f50
jmp 0x4a6111
mov eax, dword [esp + 0x5c]
test eax, eax
jg 0x4a5f84
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x60]
test eax, eax
jl 0x4a5f95
call fcn.0055cf60
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x60]
push ebx
lea ecx, [esp + 0x38]
push ecx
push edx
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x44]
push eax
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 1
push 0
push 0
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x88]
push ecx
push edi
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x88]
push ebp
push edx
mov edx, dword [esp + 0x70]
push eax
push ecx
mov ecx, dword [esp + 0x8c]
push edx
lea edx, [esp + 0xd4]
call fcn.0049f680
cmp eax, 0xffffffff
je 0x4a5f3e
test eax, eax
mov dword [esp + 0x14], eax
jne 0x4a602f
mov eax, dword [esp + 0x18]
mov byte [eax], 0
xor edi, edi
jmp 0x4a6102
mov ebx, dword [esp + 0x10]
mov byte [ebx], 0
mov ebp, dword [esp + 0x68]
test ebp, ebp
je 0x4a60d7
cmp dword [ebp + 0x1c], 1
jne 0x4a60cc
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4a60cc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a6058
sub eax, edx
mov edx, eax
mov eax, dword [ebp]
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a6070
sub eax, esi
add eax, edx
cmp eax, 0x3e7
jae 0x4a60d7
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4a60a3
cmp byte [ebx], 0
je 0x4a60a3
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4a6091
mov cx, word [0x5a5348]
mov word [edi], cx
mov eax, dword [ebp]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4a60a8
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4a60b4
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 0x4a6042
mov edx, dword [esp + 0x18]
mov eax, ebx
sub edx, ebx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4a60e0
xor edi, edi
jmp 0x4a6102
push 2
xor ecx, ecx
xor edx, edx
push str.evaluation
call fcn.004803b0
mov dword [esp + 0x14], eax
cmp dword [esp + 0x68], edi
je 0x4a6111
lea ecx, [esp + 0x68]
call fcn.004d3d60
mov eax, dword [esp + 0x1c]
test eax, eax
pop ebp
je 0x4a6123
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4a6134
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a6145
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a6156
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a6167
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4a6178
push eax
call fcn.0059112a
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
jg 0x4a618d
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
call fcn.0055e470
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
add esp, 0x3c
ret 0x1c