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

Disassembly:
push 0xffffffffffffffff
push 0x596d5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push edi
mov ebx, ecx
call fcn.004479b0
lea ecx, [esp + 0x48]
mov ebp, eax
call fcn.00459e30
mov al, byte [ebx + 0x20]
xor edi, edi
test al, 1
mov dword [esp + 0x90], edi
je 0x451d53
mov ecx, ebp
call fcn.00423e60
test eax, eax
jne 0x451d53
lea ecx, [esp + 0x48]
mov dword [esp + 0x90], 0xffffffff
call fcn.00459e50
xor eax, eax
jmp 0x45268c
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x40]
test eax, eax
mov esi, dword [esp + 0x9c]
jne 0x451d75
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x20], edi
je 0x451d7d
mov dword [esp + 0x20], 1
mov ecx, ebx
call fcn.00447ba0
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x18], eax
call dword [edx + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xb8]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xbc]
mov edi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edi
call fcn.0056bc10
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.0056bc10
push esi
mov byte [esp + 0x98], 2
call fcn.00404810
add esp, 4
test eax, eax
je 0x452653
test byte [esi + 0x20], 1
jne 0x452653
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4520c2
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4520c2
mov ecx, esi
call fcn.0044b6d0
cmp eax, 0x33
jne 0x451ef0
test byte [ebx + 0x20], 1
je 0x451ef0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x80]
push eax
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.00424cb0
push eax
call dword [sym.imp.SanCalc.dll_int___cdecl_limsub_int__int_]
add esp, 8
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
push eax
call dword [sym.imp.SanCalc.dll_int___cdecl_min_int__int_]
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
mov dword [esp + 0x3c], eax
call dword [edx + 0x80]
mov ecx, dword [esp + 0x3c]
push ebp
push edi
add eax, ecx
push 2
mov dword [esp + 0x44], eax
push 0x1cb5
lea eax, [esp + 0x48]
push eax
push 0
call fcn.0053f050
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push ebp
push 1
push 0x261f
lea ecx, [esp + 0x44]
push ecx
push 0
call fcn.0053f050
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
call fcn.0056bec0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0x1b
push 0xf
push edx
push eax
push 2
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004226f0
add esp, 0x1c
jmp 0x4520c2
test byte [esi + 0x20], 2
jne 0x451f75
mov ecx, esi
call fcn.0044d650
test eax, eax
je 0x451f6b
push esi
push ebp
push edi
mov ecx, ebx
call fcn.00447ba0
push eax
push 4
push 0x1be5
call fcn.0053f010
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push esi
push ebp
push edi
push 3
push 0x2606
call fcn.0053f010
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
call fcn.0056bec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x1b
push 0xa5
push eax
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004226f0
add esp, 0x1c
jmp 0x4520c2
test byte [esi + 0x20], 2
je 0x4520c2
test byte [ebx + 0x20], 1
je 0x4520c2
mov eax, dword [esi + 0x8c]
push 2
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.SanCalc.dll_int___cdecl_limsub_int__int_]
add esp, 8
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.0044a990
mov edx, dword [esp + 0x30]
xor eax, eax
xor edi, edi
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], eax
call fcn.00457770
test eax, eax
je 0x451fe5
mov edi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0x50]
call fcn.00457c00
mov dword [esp + 0x40], edi
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x58]
test eax, eax
je 0x452027
lea ecx, [ecx]
cmp dword [esp + 0x28], 3
jge 0x452027
lea ecx, [esp + 0x4c]
call fcn.004f4f90
push eax
push 0x5b3d3c
call fcn.0040b380
mov ecx, dword [esp + 0x30]
mov dword [esp + ecx*4 + 0x48], eax
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x48]
add esp, 8
inc ecx
test eax, eax
mov dword [esp + 0x28], ecx
jne 0x451ff0
push edi
call fcn.00404810
add esp, 4
test eax, eax
je 0x4520be
mov ecx, dword [esp + 0x48]
test ecx, ecx
jne 0x452042
mov ecx, edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x45204c
mov eax, edi
push esi
push ebp
push ecx
push eax
mov eax, dword [esp + 0x40]
push edi
push eax
push 6
push 0x1c8e
lea ecx, [esp + 0x58]
push ecx
push 0
call fcn.0053f050
add esp, 0x28
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push esi
push ebp
push edi
push 3
push 0x264a
lea edx, [esp + 0x4c]
push edx
push 0
call fcn.0053f050
add esp, 0x1c
push eax
lea ecx, [esp + 0x14]
call fcn.0056bec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x1b
push 0xa5
push eax
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004226f0
add esp, 0x1c
mov edi, dword [esp + 0x34]
mov ecx, esi
call fcn.00447900
test byte [esi + 0x20], 2
mov ecx, esi
je 0x4523d7
call fcn.00448a10
mov dword [esp + 0x34], eax
and eax, 0xfffff
mov ecx, esi
mov dword [esp + 0x28], eax
call fcn.0044aa00
mov edi, eax
mov eax, dword [esp + 0x34]
shr eax, 0x14
add eax, 0xfffffff9
cmp eax, 0x5f
ja case.0x45210a.8
movzx ecx, byte [eax + 0x4526bc]
jmp dword [ecx*4 + 0x4526a8]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push 0xf4240
push edx
call fcn.0042b7f0
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x45210a.8
mov eax, dword [esp + 0x28]
push edi
push 1
push 0x1c8b
lea ecx, [esp + 0x44]
push ecx
push 0
mov dword [esp + 0x4c], eax
call fcn.0053f050
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push edi
push 1
push 0x2613
lea edx, [esp + 0x44]
push edx
push 0
call fcn.0053f050
add esp, 0x14
jmp 0x4522d6
mov ecx, dword [esp + 0x28]
push 0xf4240
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0042b970
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x45210a.8
mov edx, dword [esp + 0x28]
push edi
push 1
push 0x1c8c
lea eax, [esp + 0x44]
push eax
push 0
mov dword [esp + 0x4c], edx
call fcn.0053f050
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push edi
push 1
push 0x2614
lea ecx, [esp + 0x44]
push ecx
push 0
call fcn.0053f050
add esp, 0x14
push eax
lea ecx, [esp + 0x14]
call fcn.0056bec0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0x1b
push 0xa5
push edx
push eax
push 2
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
jmp 0x4522fd
mov eax, dword [esp + 0x28]
push eax
call fcn.0043efa0
push eax
mov dword [esp + 0x30], eax
call fcn.00404810
add esp, 8
test eax, eax
je case.0x45210a.8
mov ecx, dword [esp + 0x28]
push 1
push ecx
mov ecx, dword [esp + 0x38]
call fcn.0043ca50
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x45210a.8
mov edx, dword [esp + 0x28]
push edx
push edi
push 2
push 0x1c8d
call fcn.0053f010
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
mov eax, dword [esp + 0x28]
push eax
push edi
push 2
push 0x2615
call fcn.0053f010
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
call fcn.0056bec0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0x1b
push 0xa5
push ecx
push edx
push 2
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
jmp 0x4522fd
mov edx, dword [esp + 0x28]
push edx
mov ecx, ebp
call fcn.00425d40
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x45210a.8
push edi
push 1
push 0x1cf4
call fcn.0053f010
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push edi
push 1
push 0x267a
call fcn.0053f010
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.0056bec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x1b
push 0xa5
push eax
push ecx
push 2
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004226f0
add esp, 0x1c
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], eax
je 0x4523a8
mov ecx, dword [edi + 0x84]
test ecx, ecx
jne 0x4523a8
push 1
push eax
mov ecx, ebp
call fcn.00424170
lea ecx, [esp + 0x6c]
call fcn.0045cd50
push 0
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
mov byte [esp + 0x9c], 3
call fcn.004253e0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x452397
lea ecx, [esp + 0x6c]
call fcn.004f4f90
mov edi, eax
test edi, edi
je 0x45237c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
test eax, eax
je 0x45237c
push 0x5b4074
mov ecx, edi
call fcn.00591e20
test eax, eax
jne 0x45237e
xor edi, edi
mov ecx, edi
call fcn.00447900
mov ecx, dword [esp + 0x24]
push edi
call fcn.0042c3b0
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x452352
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 2
call fcn.0045cd70
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0044a990
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.0044cd40
mov ecx, esi
call fcn.00447900
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov edi, dword [esp + 0x24]
jmp 0x4525b3
call fcn.0044c180
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x84]
push eax
mov ecx, ebx
call fcn.00447b10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
push eax
mov ecx, ebp
call fcn.00425d40
mov eax, dword [esi + 0x34]
push eax
mov ecx, ebp
call fcn.00425d90
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.0044aa40
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call fcn.0044aa60
push esi
call fcn.00444600
add esp, 4
mov ecx, esi
call fcn.004479b0
push eax
mov dword [esp + 0x38], eax
call fcn.00404810
add esp, 4
test eax, eax
je 0x4524e6
mov ecx, esi
call fcn.0044b6d0
cmp eax, 0x33
jne 0x4524e6
mov eax, dword [esp + 0x34]
cmp eax, ebp
je 0x4524e6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4524d2
push eax
push edi
push 2
push 0x1cb4
call fcn.0053f010
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
call fcn.0056bec0
push ebp
push edi
push 2
push 0x261e
call fcn.0053f010
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
call fcn.0056bec0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0x1b
push 0xa5
push eax
push ecx
push 1
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004226f0
mov eax, dword [esp + 0x50]
add esp, 0x1c
mov edi, dword [esp + 0x24]
push eax
push edi
push 0
mov ecx, esi
call fcn.0044f340
jmp 0x4525a5
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x2c], eax
je 0x452589
mov ecx, dword [edi + 0x84]
test ecx, ecx
jne 0x452589
push 1
push eax
mov ecx, ebp
call fcn.00424170
lea ecx, [esp + 0x6c]
call fcn.0045cd50
push 0
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
mov byte [esp + 0x9c], 4
call fcn.004253e0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x452578
lea ecx, [esp + 0x6c]
call fcn.004f4f90
mov edi, eax
test edi, edi
je 0x45255d
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x10]
test eax, eax
je 0x45255d
push 0x5b4074
mov ecx, edi
call fcn.00591e20
test eax, eax
jne 0x45255f
xor edi, edi
mov ecx, edi
call fcn.00447900
mov ecx, dword [esp + 0x24]
push edi
call fcn.0042c3b0
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x452533
lea ecx, [esp + 0x6c]
mov byte [esp + 0x94], 2
call fcn.0045cd70
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0044a990
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.0044cd40
mov edi, dword [esp + 0x24]
mov ecx, esi
call fcn.00447900
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov esi, dword [esi + 4]
push 1
push 0
push esi
call fcn.0043f710
add esp, 0xc
push 1
mov ecx, ebx
call fcn.0044c210
push edi
call fcn.00404810
add esp, 4
test eax, eax
je 0x4525ed
push 0
push 0
push 0
mov ecx, edi
call fcn.00430230
mov ecx, edi
call fcn.00431740
mov esi, dword [esp + 0x2c]
cmp esi, edi
je 0x452616
push esi
call fcn.00404810
add esp, 4
test eax, eax
je 0x452616
push 0
push 0
push 0
mov ecx, esi
call fcn.00430230
mov ecx, esi
call fcn.00431740
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.0056bd20
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0
call fcn.0056bd20
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], 0xffffffff
call fcn.00459e50
mov eax, 1
jmp 0x45268b
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
call fcn.0056bd20
lea ecx, [esp + 0x14]
mov byte [esp + 0x94], 0
call fcn.0056bd20
lea ecx, [esp + 0x4c]
mov dword [esp + 0x94], 0xffffffff
call fcn.00459e50
xor eax, eax
pop esi
mov ecx, dword [esp + 0x88]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 8