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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a44ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x407c
call fcn.0048c610
cmp byte [0x4e2fec], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x4318a8
push 0x4c9d04
push str.Repair.log
push 4
call fcn.004641b0
add esp, 0xc
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x38]
push edi
call fcn.00441920
test al, al
jne 0x432057
mov eax, dword [esi + 0x70]
lea ecx, [ebp + 8]
lea ebx, [esi + 0x6c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0042da60
mov ecx, dword [eax]
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x4318e4
cmp ecx, ebx
je 0x4318ed
call fcn.0048c48f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
cmp dword [eax + 4], ecx
jne 0x431e61
cmp dword [esi + 0x98], 0
je 0x431a20
lea ecx, [esi + 0x88]
call fcn.0042d670
mov ebx, dword [eax]
lea ecx, [esi + 0x88]
mov dword [esp + 0x28], ebx
call fcn.0042d270
mov edx, dword [esi + 0x70]
lea ecx, [esi + 0x6c]
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea edx, [esp + 0x38]
push edx
call fcn.0042da60
mov dword [esp + 0x10], eax
mov eax, dword [eax]
test eax, eax
je 0x43194d
lea ecx, [esi + 0x6c]
cmp eax, ecx
je 0x431952
call fcn.0048c48f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 4], eax
je 0x431c1d
cmp byte [esi + 0xa0], 0
je 0x431976
mov ecx, 0x64
call fcn.00444820
lea edx, [esp + 0x28]
push edx
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov eax, dword [eax]
push ebx
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0042cc40
mov ecx, dword [esi + 0xc]
imul ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x44]
push edx
call fcn.004359d0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x4098], 0
call fcn.00441920
test al, al
je 0x431a39
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
jb 0x4319d8
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
jmp 0x4319e0
lea edx, [esp + 0x40]
mov dword [esp + 0x10], edx
mov ecx, dword [esi + 0x48]
push ebx
call fcn.004193f0
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x7c]
call fcn.004132f0
mov ecx, eax
call fcn.0042cae0
test al, al
je 0x431a39
mov ecx, dword [esi + 4]
push 0xa
add ecx, 0x1c0
call fcn.0041afd0
lea ecx, [esp + 0x3c]
call fcn.00427a00
xor al, al
mov ecx, dword [esp + 0x408c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [esi + 0xa0], 0
je 0x431a4c
mov ecx, 0x64
call fcn.00444820
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x431a5b
lea eax, [esp + 0x40]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x50]
imul edx, ebx
push ecx
mov ecx, dword [esi]
push eax
push edx
call fcn.00435cf0
test eax, eax
je 0x431bcc
lea eax, [esp + 0x28]
push eax
lea ecx, [esi + 0x6c]
call fcn.004293c0
cmp edi, dword [esp + 0x34]
mov dword [eax], ebx
je 0x431bf2
lea ecx, [esp + 0x10]
push ecx
lea edi, [esi + 0x88]
mov ecx, edi
call fcn.0042d0a0
push eax
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x2c], esp
push edx
mov ecx, edi
call fcn.0042d0a0
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x38], esp
push eax
mov ecx, edi
call fcn.0042d070
lea edx, [ebp + 8]
lea ecx, [esp + 0x44]
call fcn.0042df60
mov ecx, eax
call fcn.0042d040
test al, al
mov edi, dword [ebp + 8]
jne 0x431bf2
mov eax, dword [esi + 0x70]
mov ecx, dword [eax]
lea ebx, [esi + 0x6c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [ebx + 4]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edx
call fcn.00405df0
test al, al
je 0x431b38
lea ecx, [esp + 0x10]
call fcn.00427890
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x10]
call fcn.00427890
cmp dword [eax + 4], edi
je 0x431b38
lea ecx, [esp + 0x10]
call fcn.004275a0
jmp 0x431af7
lea edx, [ebp + 8]
push edx
mov ecx, ebx
call fcn.004293c0
mov dword [eax], edi
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004293c0
mov ebx, dword [esp + 0x34]
mov dword [eax], ebx
cmp byte [esi + 0xa0], 0
je 0x431b6a
mov ecx, 0x64
call fcn.00444820
mov eax, dword [esi + 0xc]
push eax
imul eax, edi
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esi]
call fcn.004359d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40a0], 1
call fcn.00401840
lea ecx, [esp + 0x58]
mov byte [esp + 0x4094], 0
call fcn.00427a00
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
jae 0x431bb4
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x50]
mov ecx, dword [esi]
push edx
push eax
mov eax, dword [esi + 0xc]
imul eax, ebx
push eax
call fcn.00435cf0
test eax, eax
jne 0x431c04
lea ecx, [esp + 0x3c]
mov byte [esi + 0x25], 1
call fcn.00427a00
xor al, al
mov ecx, dword [esp + 0x408c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov edx, dword [esp + 0x34]
mov dword [eax], edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x4094], 0xffffffff
call fcn.00427a00
jmp 0x431e61
lea eax, [esp + 0x10]
lea edi, [esi + 0x88]
push eax
mov ecx, edi
call fcn.0042d0a0
push eax
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
mov ecx, edi
call fcn.0042d0a0
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x38], esp
push edx
mov ecx, edi
call fcn.0042d070
lea edx, [ebp + 8]
lea ecx, [esp + 0x44]
call fcn.0042df60
mov ecx, eax
call fcn.0042d040
test al, al
mov edi, dword [ebp + 8]
jne 0x431d9a
cmp edi, ebx
je 0x431d9a
mov ecx, dword [esi + 0x70]
mov ecx, dword [ecx]
lea eax, [esi + 0x6c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
lea esp, [esp]
mov edx, dword [esi + 0x70]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edx
call fcn.00405df0
test al, al
je 0x431cd1
lea ecx, [esp + 0x10]
call fcn.00427890
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x10]
call fcn.00427890
cmp dword [eax + 4], edi
je 0x431cd1
lea ecx, [esp + 0x10]
call fcn.004275a0
jmp 0x431c90
lea edx, [ebp + 8]
push edx
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov dword [eax], edi
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov dword [eax], ebx
cmp byte [esi + 0xa0], 0
je 0x431d01
mov ecx, 0x64
call fcn.00444820
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
sub ecx, 1
cmp ebx, ecx
jae 0x431d12
mov ecx, eax
jmp 0x431d1c
mov ecx, dword [esi + 0x14]
mov edx, eax
imul edx, ebx
sub ecx, edx
imul eax, edi
push ecx
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004359d0
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4094], 2
jae 0x431d47
lea eax, [esp + 0x40]
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x50]
imul edx, ebx
push ecx
mov ecx, dword [esi]
push eax
push edx
call fcn.00435cf0
test eax, eax
lea ecx, [esp + 0x3c]
jne 0x431d85
mov byte [esi + 0x25], 1
call fcn.00427a00
xor al, al
mov ecx, dword [esp + 0x408c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [esp + 0x4094], 0xffffffff
call fcn.00427a00
jmp 0x431e61
push ebx
mov ecx, esi
call fcn.0042d000
test al, al
jne 0x431e53
push ebx
mov ecx, esi
call fcn.0042cc40
push 0xff
mov edx, 0x4000
lea ecx, [esp + 0x8c]
mov dword [esp + 0x14], eax
call fcn.00444d30
cmp dword [esp + 0x10], 0
mov dword [esp + 0x34], 0
jle 0x431e53
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
jmp 0x431df0
sub eax, ecx
cmp eax, 0x4000
mov dword [esp + 0x28], 0x4000
jge 0x431e05
mov dword [esp + 0x28], eax
cmp byte [esi + 0xa0], 0
je 0x431e18
mov ecx, 0x14
call fcn.00444820
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x28]
imul edx, ebx
add edx, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esi]
push edx
call fcn.00435cf0
test eax, eax
je 0x431ef0
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov dword [esp + 0x34], ecx
jl 0x431df0
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov dword [eax], ebx
cmp byte [esi + 0xa0], 0
je 0x431e74
mov ecx, 0x64
call fcn.00444820
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [esi + 0xc]
imul edx, dword [eax]
add edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi]
push edx
call fcn.00435cf0
test eax, eax
je 0x431ef0
mov ecx, dword [esi + 0x2c]
test ecx, ecx
lea ebx, [esi + 0x28]
je 0x431eb3
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x431eb8
call fcn.0048c48f
mov eax, dword [ebx + 4]
add dword [eax + edi*4], 0xffffffff
lea edx, [ebp + 8]
lea eax, [eax + edi*4]
lea ecx, [esi + 0x60]
push edx
call fcn.00431460
cmp dword [eax + 0x10], 0
jne 0x431ee1
push edi
mov ecx, ebx
call fcn.00475f80
cmp dword [eax], 0
je 0x431f21
mov eax, dword [esi + 0x10]
sub eax, 1
cmp edi, eax
jae 0x431f0d
mov eax, dword [esi + 0xc]
jmp 0x431f18
mov byte [esi + 0x25], 1
xor al, al
mov ecx, dword [esp + 0x408c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
imul ecx, edi
sub eax, ecx
cmp dword [ebp + 0x14], eax
jne 0x432057
mov edx, dword [esi + 0x10]
sub edx, 1
cmp edi, edx
jae 0x431f30
mov ebx, dword [esi + 0xc]
jmp 0x431f3b
mov eax, dword [esi + 0xc]
mov ebx, dword [esi + 0x14]
imul eax, edi
sub ebx, eax
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x6c]
call fcn.004293c0
mov edx, dword [eax]
imul edx, dword [esi + 0xc]
mov ecx, dword [esi]
push ebx
push edx
lea eax, [esp + 0x60]
push eax
call fcn.004359d0
mov ecx, dword [esi + 0x48]
push edi
mov dword [esp + 0x4098], 3
call fcn.004193f0
push eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x78]
call fcn.00413b50
mov ecx, eax
call fcn.0042ca30
test al, al
je 0x432070
push 1
push edi
lea ecx, [esi + 0x38]
call fcn.004418f0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi + 4]
add ecx, 0x1a4
mov dword [esp + 0x20], edi
call fcn.004167a0
lea edx, [ebp + 8]
push edx
lea ecx, [esi + 0x60]
call fcn.00431460
mov ecx, eax
call fcn.0044e540
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x4c]
call fcn.0042e0b0
mov ebx, eax
mov ecx, ebx
call fcn.0042dad0
mov ecx, dword [ebx + 8]
mov edx, 1
shl edx, cl
push edi
mov ecx, esi
or dword [eax], edx
call fcn.0042cc40
sub dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 4]
mov dword [ecx + 0x34], eax
fild dword [esi + 0x1c]
mov edx, dword [esi + 0x1c]
test edx, edx
jge 0x432008
fadd dword [0x4c9d00]
mov eax, dword [esi + 0x14]
fild dword [esi + 0x14]
test eax, eax
jge 0x432018
fadd dword [0x4c9d00]
fdivp st(1)
mov ecx, dword [esi + 4]
fld1
fsubrp st(1)
fmul qword [0x4b2060]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [ecx]
cmp dword [esi + 0x1c], 0
jne 0x43204e
mov ecx, dword [esi]
call fcn.00434590
mov ecx, dword [esi + 4]
call fcn.004191c0
mov ecx, dword [esi + 4]
call fcn.004192f0
lea ecx, [esp + 0x58]
call fcn.00427a00
mov al, 1
mov ecx, dword [esp + 0x408c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ebx, [esi + 0x78]
push edi
mov ecx, ebx
call fcn.00475f80
add dword [eax], 1
push edi
mov ecx, ebx
call fcn.00475f80
cmp dword [eax], 3
jle 0x43209b
mov ecx, dword [esi + 4]
push 5
add ecx, 0x1c0
call fcn.0041afd0
push edi
mov ecx, esi
call fcn.0042cc40
mov ecx, dword [esi + 4]
push eax
call fcn.00419390
lea edx, [ebp + 8]
lea ebx, [esi + 0x60]
push edx
mov ecx, ebx
call fcn.00431460
mov ecx, eax
call fcn.0044e540
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 8]
push ecx
mov ecx, ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0
call fcn.00431460
mov ecx, eax
call fcn.0042f330
push edi
mov ecx, esi
call fcn.0042cc40
add dword [esi + 0x18], eax
lea ecx, [esp + 0x58]
call fcn.00427a00
mov ecx, dword [esp + 0x408c]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10