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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x65b2e1
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 8]
sub eax, edx
cmp eax, 0x14
jl 0x5ea11b
mov esi, dword [esp + 0xb0]
mov ebx, dword [edi + 0x3e]
push 4
push esi
mov ecx, 0x732bc0
mov dword [esp + 0x5c], ebx
call fcn.00495d00
mov ecx, dword [0x73a96c]
push 0x6a2904
push ecx
push 3
push 0x4b
lea edx, [esp + 0x98]
push esi
push edx
push 0x732bc0
mov dword [esp + 0x78], eax
call fcn.00496340
mov eax, dword [0x739a24]
mov ecx, dword [esi + 4]
add esp, 0x1c
lea ebp, [ebx - 0x14]
push eax
push 3
push ebp
push ecx
call dword [fcn.0065f5d0]
mov eax, 0x2aaaaaab
mov dword [edi + 0xf2], ebp
imul ebx
mov eax, edx
lea ecx, [ebx + ebx*2]
shr eax, 0x1f
add edx, eax
mov eax, 0x2aaaaaab
mov dword [esp + 0x58], edx
push 0x16
lea ebp, [edx + 0xa]
imul ecx
mov ecx, edx
mov eax, 0x2aaaaaab
shr ecx, 0x1f
shl ebx, 2
lea edx, [edx + ecx + 8]
mov ecx, dword [edi + 0x3e]
mov dword [esp + 0x64], edx
imul ebx
mov eax, edx
push ecx
shr eax, 0x1f
push 0x16
push 0
lea ebx, [edx + eax + 0xa]
push esi
mov ecx, 0x732bc0
mov dword [esp + 0x78], ebx
call fcn.00495d40
mov edx, dword [0x73a974]
push 0x6a0b94
push 0
push edx
push 0x1a
push 4
lea eax, [esp + 0x60]
push esi
push eax
push 0x732bc0
call fcn.00496440
mov ecx, dword [0x73a974]
add esp, 0x20
add ebp, 6
lea edx, [esp + 0x4c]
push 0x6b622c
push 0
push ecx
push 0x1a
push ebp
push esi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [0x73a974]
mov ecx, dword [esp + 0x80]
add esp, 0x20
lea edx, [esp + 0x4c]
push 0x6bfa8c
push 0
push eax
push 0x1a
push ecx
push esi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [0x73a974]
add esp, 0x20
add ebx, 8
lea ecx, [esp + 0x4c]
push 0x6c0e30
push 0
push eax
push 0x1a
push ebx
push esi
push ecx
push 0x732bc0
call fcn.00496440
mov edx, dword [edi + 0x3e]
add esp, 0x20
mov ecx, 0x732bc0
push 0x2c
push edx
push 0x2c
push 0
push esi
call fcn.00495d40
mov eax, dword [edi + 0xce]
mov ebp, 0x30
test eax, eax
mov dword [edi + 0xea], 0x31
jg 0x5e9c0f
mov eax, dword [esp + 0x5c]
push eax
jmp 0x5ea110
mov eax, dword [edi + 0x42]
mov ecx, dword [edi + 0x3a]
sub eax, ecx
mov ecx, dword [edi + 0xee]
sub eax, 0x31
inc ecx
cdq
idiv ecx
mov ecx, dword [edi + 0xde]
mov dword [esp + 0x18], 0
mov edx, ecx
sub edx, eax
mov dword [edi + 0xe2], eax
lea eax, [edx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
and eax, edx
cmp eax, ecx
mov dword [edi + 0xda], eax
mov dword [esp + 0x38], eax
jg 0x5ea101
shl eax, 5
mov dword [esp + 0x10], eax
jmp 0x5e9c68
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0xd2]
mov dx, word [eax + ecx + 0x10]
mov ecx, dword [0x826818]
push edx
call fcn.004466b0
mov ebx, eax
test ebx, ebx
je 0x5ea0cd
mov eax, dword [edi + 0xd2]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov dx, word [eax + 0x1a]
mov ax, word [eax + 0x1c]
push edx
push eax
call fcn.00624a50
add esp, 8
test eax, eax
jne 0x5e9cb7
mov ecx, dword [0x73a95c]
mov dword [esp + 0x14], ecx
jmp 0x5e9cd1
cmp eax, 1
jne 0x5e9cc8
mov edx, dword [0x73a968]
mov dword [esp + 0x14], edx
jmp 0x5e9cd1
mov eax, dword [0x73a964]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0xd2]
mov edx, dword [esp + 0x10]
lea eax, [edx + ecx]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 0xa]
mov dx, word [eax + 8]
mov eax, dword [0x73a974]
push ecx
push edx
push 0x69f550
push 0
push eax
push ebp
push 2
lea ecx, [esp + 0x9c]
push esi
push ecx
push 0x732bc0
call fcn.00496440
mov edx, dword [esp + 0x80]
add esp, 0x28
push 0
push edx
push ebx
call fcn.00472c00
mov ecx, dword [ebx + 0xe8]
mov edx, dword [edi + 0xd2]
movsx eax, ax
add esp, 4
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + edx + 0x12]
mov edx, dword [esp + 0x70]
push ecx
push ebp
push edx
lea eax, [esp + 0x94]
push esi
push eax
mov ecx, 0x732bc0
call fcn.00496a70
mov edx, dword [0x73a9c8]
lea ecx, [ebx + 0x18]
push ecx
push 0xffffffffffffffff
push edx
push ebx
call fcn.00482f30
add esp, 0xc
lea ecx, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x60]
add eax, 0xa
push ebp
push eax
push esi
push ecx
push 0x732bc0
call fcn.004966d0
add esp, 0x1c
lea ecx, [esp + 0x1c]
call fcn.00643d62
mov edx, dword [edi + 0xd2]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa8], 0
mov ax, word [eax + edx + 0x1c]
cmp ax, 0x64
jl 0x5e9e15
mov ecx, dword [0x8267e8]
push 1
call dword [sym.imp.TCalc.dll_public:_struct_tag_INDEXINFO____thiscall_CalcInterface::operator___unsigned_char_const]
mov ecx, dword [edi + 0xd2]
mov edx, dword [esp + 0x10]
movsx edx, word [edx + ecx + 0x1c]
lea ecx, [edx + edx*8]
shl ecx, 3
sub ecx, edx
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8 - 0x4554f]
lea ecx, [esp + 0x4c]
push edx
call fcn.00643d2c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xac], 1
call fcn.00644098
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa8], 0
call fcn.00643d26
jmp 0x5e9e28
push eax
call fcn.00624a40
add esp, 4
lea ecx, [esp + 0x1c]
push eax
call fcn.006440b6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x64]
push eax
push 0
push ecx
push ebp
push edx
lea eax, [esp + 0xa4]
push esi
push eax
push 0x732bc0
call fcn.00496440
mov ecx, dword [esp + 0x58]
mov edx, dword [edi + 0xda]
mov eax, dword [edi + 0xe6]
sub ecx, edx
add esp, 0x20
cmp eax, ecx
jne 0x5ea0b9
mov dl, byte [ebx + 0xec]
lea eax, [edi + 0xf6]
mov byte [edi + 0xfd], dl
mov ecx, dword [ebx]
mov dword [eax], ecx
mov dx, word [ebx + 4]
push 7
mov ecx, esi
mov word [eax + 4], dx
mov byte [edi + 0xfc], 0
call fcn.0064442e
mov dword [esp + 0x14], eax
mov eax, dword [0x6adcac]
xor ebx, ebx
cmp eax, ebx
mov eax, dword [edi + 0xee]
je 0x5e9edf
mov ecx, dword [0x73a950]
mov edx, dword [esp + 0x54]
push 1
push ebx
mov ebx, dword [0x73a9b0]
lea eax, [eax + ebp - 3]
xor ecx, ebx
add edx, 0xfffffffe
push ecx
push eax
push edx
push eax
push 2
push esi
mov ecx, 0x732bc0
call fcn.00495d80
jmp 0x5ea0a5
mov ecx, dword [esp + 0x54]
lea eax, [eax + ebp - 4]
add ecx, 0xfffffffe
push eax
push ecx
push ebp
lea edx, [esp + 0x74]
push 2
push edx
call dword [fcn.0065f4dc]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
sub eax, ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], ebx
sub ecx, edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], eax
call fcn.0064414c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0x661a18
cmp esi, ebx
mov byte [esp + 0xa8], 3
jne 0x5e9f43
xor eax, eax
jmp 0x5e9f46
mov eax, dword [esi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x40]
call fcn.00644146
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
sub eax, ebx
sub ecx, edx
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x24]
call fcn.006440f8
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.00644140
mov edx, dword [0x73a950]
mov ecx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
sub eax, edx
push eax
mov eax, dword [esp + 0x30]
sub ecx, eax
push ecx
push 0
push 0
lea ecx, [esp + 0x50]
call fcn.0064413a
lea edx, [esp + 0x3c]
push 1
push edx
mov ecx, 0x732bc0
call fcn.00495d00
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], eax
call fcn.0064412e
mov eax, dword [0x73a978]
mov edx, dword [0x73a9a8]
xor eax, edx
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00643ed0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x30]
push 0x660046
sub edx, eax
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x48]
push 0
push eax
push ecx
push edx
mov edx, dword [esi + 4]
push ebp
push 2
push edx
call dword [fcn.0065e0cc]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, 0x732bc0
call fcn.00495d20
test ebx, ebx
je 0x5ea056
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x40]
push ebx
push edx
call fcn.00644140
lea ecx, [esp + 0x20]
call fcn.0064406e
lea ecx, [esp + 0x3c]
call fcn.00644134
mov dword [esp + 0x20], 0x661578
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.0064406e
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], 0x6602dc
mov byte [esp + 0xa8], 0
call fcn.0064411c
mov eax, dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.0064442e
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00643d26
mov ecx, dword [edi + 0xee]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
inc eax
lea ebp, [ecx + ebp + 1]
mov ecx, dword [edi + 0xde]
add edx, 0x20
cmp eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], edx
jle 0x5e9c64
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x5ea10b
mov dword [edi + 0xe6], 0xffffffff
mov edx, dword [esp + 0x5c]
push edx
push esi
mov ecx, 0x732bc0
call fcn.00495d20
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret 4