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

Disassembly:
push 0xffffffffffffffff
push 0x59ab93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb0]
mov ebx, ecx
push edi
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], ebx
add esi, 0x40
call fcn.00458f00
mov ebp, dword [esp + 0xbc]
test ebp, ebp
mov dword [esp + 0xac], 0
lea ecx, [esp + 0x64]
push esi
je 0x49ab0a
call fcn.004591c0
jmp 0x49ab0f
call fcn.004591e0
mov edi, dword [esp + 0xb8]
mov eax, dword [edi]
push eax
push 0
lea ecx, [esp + 0x40]
call fcn.00456a00
lea ecx, [esp + 0x44]
call fcn.00458f00
push 0
lea ecx, [esp + 0x3c]
push ecx
push 0x458f70
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 1
call fcn.00458110
lea ecx, [esp + 0x84]
call fcn.00458f00
test ebp, ebp
mov byte [esp + 0xac], 2
je 0x49abab
mov ecx, dword [esp + 0xb4]
call fcn.0049a5e0
mov ebx, eax
test ebx, ebx
je 0x49ab94
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x10]
test eax, eax
je 0x49ab94
push 0x5b3d3c
mov ecx, ebx
call fcn.00591e20
test eax, eax
jne 0x49ab96
xor ebx, ebx
lea ecx, [esp + 0x84]
push ebx
push ecx
call fcn.0049a470
mov ebx, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x18]
call fcn.00458f00
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 3
call fcn.004585a0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x49abe8
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00457fe0
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x10], 0
je 0x49ac10
mov edx, dword [ebx]
push ebp
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call dword [edx + 0x38]
mov eax, dword [esp + 0x10]
jmp 0x49ac1e
push 5
call fcn.0043f570
add esp, 4
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x49ac2e
mov edx, dword [esp + 0xb4]
mov dword [edx + 0x30], eax
jmp 0x49ac38
mov ecx, dword [esp + 0xb4]
mov dword [ecx + 0x34], eax
mov eax, dword [eax + 0x78]
mov edx, dword [edi]
mov ebx, dword [sym.imp.SanCalc.dll_int___cdecl_limsub_int__int_]
push eax
push edx
call ebx
add esp, 8
test ebp, ebp
mov dword [edi], eax
je 0x49ad31
push 0
push 0x45aa10
mov ecx, esi
call fcn.004583f0
mov eax, dword [esi + 4]
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x49ac8c
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
test eax, eax
je 0x49ac8c
push 0x5b3d3c
mov ecx, ebp
call fcn.00591e20
test eax, eax
je 0x49ac8c
mov eax, ebp
jmp 0x49ac8e
xor eax, eax
mov eax, dword [eax + 0x50]
push eax
push 0x55
call ebx
mov edx, dword [esi + 0xc]
mov ecx, eax
mov eax, 5
sub eax, edx
push eax
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
push 0
push edx
call dword [sym.imp.SanCalc.dll_int___cdecl_minmax_int__int__int_]
mov ebx, dword [esi + 4]
add esp, 0x14
cmp eax, 5
mov ebp, eax
jge 0x49ad31
lea ebx, [ebx]
test ebx, ebx
je 0x49ad31
mov eax, ebx
mov esi, dword [eax + 8]
test esi, esi
mov ebx, dword [ebx]
je 0x49acfa
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
test eax, eax
je 0x49acfa
push 0x5b3d3c
mov ecx, esi
call fcn.00591e20
test eax, eax
jne 0x49acfc
xor esi, esi
mov ecx, dword [esp + 0x10]
push ebp
call fcn.00435e50
mov edi, dword [esp + 0xb4]
push eax
add edi, 0x2c
push esi
mov ecx, edi
call fcn.004736e0
push esi
call fcn.0049a7b0
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.004736f0
inc ebp
cmp ebp, 5
jl 0x49acd0
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 2
call fcn.00458f20
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 1
call fcn.00458f20
lea ecx, [esp + 0x44]
mov byte [esp + 0xac], 0
call fcn.00458f20
lea ecx, [esp + 0x64]
mov dword [esp + 0xac], 0xffffffff
call fcn.00458f20
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 0xc