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

Disassembly:
push 0xffffffffffffffff
push 0x72ddf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0xa0]
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 4]
xor ebp, ebp
and edi, 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
call fcn.005c53e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.005b3190
cmp edi, 1
mov byte [esp + 0x6c], 2
jne 0x6766d8
cmp dword [esp + 0x14], ebp
jle 0x676778
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x676736
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [edx + edi + 0x18]
call fcn.005e5200
test eax, eax
je 0x6766ca
mov eax, dword [esi + 0x20]
add eax, edi
push eax
lea ecx, [esp + 0x2c]
call fcn.005c5470
lea ecx, [esp + 0x8c]
push ecx
mov ecx, esi
call fcn.006760f0
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
inc ebp
add edi, 0x3c
cmp ebp, eax
jl 0x676680
jmp 0x67672e
cmp ebx, ebp
jle 0x67676f
xor edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x676736
mov eax, dword [esi]
lea edx, [esp + 0x8c]
push edx
lea ecx, [edi + eax + 0x18]
call fcn.005e5200
test eax, eax
je 0x676726
mov ecx, dword [esi]
add ecx, edi
push ecx
lea ecx, [esp + 0x2c]
call fcn.005c5470
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.006760f0
mov dword [esp + 0x10], 1
inc ebp
add edi, 0x3c
cmp ebp, ebx
jl 0x6766e2
mov eax, dword [esp + 0x10]
test eax, eax
je 0x67676b
mov eax, dword [esp + 0xb0]
push eax
sub esp, 0x3c
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.005c5560
lea ecx, [esp + 0x68]
call fcn.005c5740
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x78]
call fcn.005c5470
mov edi, dword [esp + 0x18]
cmp edi, 1
jne 0x6768b4
xor edi, edi
test ebx, ebx
jle 0x6767a3
xor ebp, ebp
mov edx, dword [esi]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [edx + ebp + 0x18]
call fcn.005e5200
test eax, eax
jne 0x676824
inc edi
add ebp, 0x3c
cmp edi, ebx
jl 0x676780
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x6767d9
mov eax, dword [esp + 0xb0]
test ah, ah
js 0x6767d9
movzx ecx, ax
push ecx
lea ecx, [esp + 0x90]
call fcn.005e5670
push eax
lea edx, [esp + 0x28]
push str.Journal_Crash__Partial_Update_on_non_existant_entry__plot:_s_flags:_i
push edx
call fcn.005e5680
add esp, 0x10
mov eax, dword [esp + 0x18]
sub esp, 0x3c
cmp eax, 1
mov dword [esp + 0xec], esp
mov ecx, esp
jne 0x6769eb
mov ebx, dword [esi + 4]
lea eax, [esp + 0xb0]
push eax
call fcn.005c5560
mov ecx, esi
call fcn.005c5920
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x10], eax
jne 0x6769ce
test eax, eax
je 0x676988
add eax, eax
jmp 0x67698d
mov eax, dword [esp + 0xb0]
push eax
sub esp, 0x3c
lea edx, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0xf0], esp
push edx
call fcn.005c5560
imul edi, edi, 0x3c
add edi, dword [esi]
mov ecx, edi
call fcn.005c5740
test byte [esi + 0x40], 1
je 0x67685e
mov ecx, esi
call fcn.00676530
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 4
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 3
call fcn.005ea000
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0
call fcn.005ea000
lea ecx, [esp + 0x8c]
mov dword [esp + 0x6c], 6
call fcn.005e5c20
mov byte [esp + 0x6c], 5
jmp 0x676ac8
mov eax, dword [esp + 0x14]
xor edi, edi
test eax, eax
jle 0x6767a3
lea ebx, [esi + 0x20]
xor ebp, ebp
jmp 0x6768d0
mov ecx, dword [ebx]
lea eax, [esp + 0x8c]
push eax
lea ecx, [ecx + ebp + 0x18]
call fcn.005e5200
test eax, eax
jne 0x6768f8
mov eax, dword [esp + 0x14]
inc edi
add ebp, 0x3c
cmp edi, eax
jl 0x6768d0
jmp 0x6767a3
mov edx, dword [esp + 0xb0]
push edx
sub esp, 0x3c
lea eax, [esp + 0xb4]
mov ecx, esp
mov dword [esp + 0xf0], esp
push eax
call fcn.005c5560
imul edi, edi, 0x3c
add edi, dword [ebx]
mov ecx, edi
call fcn.005c5740
test byte [esi + 0x40], 1
je 0x676932
mov ecx, ebx
call fcn.00676530
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 8
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 7
call fcn.005ea000
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0
call fcn.005ea000
lea ecx, [esp + 0x8c]
mov dword [esp + 0x6c], 0xa
call fcn.005e5c20
mov byte [esp + 0x6c], 9
jmp 0x676ac8
mov eax, 0x10
mov edi, dword [esi + 0xc]
lea ecx, [eax*4]
push ecx
mov dword [esi + 0x14], eax
call fcn.006fa7e6
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x6769c1
nop
mov ecx, dword [edi + eax*4]
mov edx, dword [esi + 0xc]
mov dword [edx + eax*4], ecx
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
jl 0x6769b0
test edi, edi
je 0x6769ce
push edi
call fcn.006fa390
add esp, 4
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [eax + edx*4], ebx
inc dword [esi + 0x10]
test byte [esi + 0x40], 1
je 0x676a77
mov ecx, esi
jmp 0x676a72
mov ebp, dword [esi + 0x24]
lea edx, [esp + 0xb0]
push edx
call fcn.005c5560
lea ebx, [esi + 0x20]
mov ecx, ebx
call fcn.005c5920
mov eax, dword [esi + 0x34]
cmp dword [esi + 0x30], eax
jne 0x676a5e
test eax, eax
je 0x676a15
add eax, eax
jmp 0x676a1a
mov eax, 0x10
mov edi, dword [esi + 0x2c]
mov dword [esi + 0x34], eax
shl eax, 2
push eax
call fcn.006fa7e6
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x2c], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x676a51
jmp 0x676a40
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x30]
inc eax
cmp eax, ecx
jl 0x676a40
test edi, edi
je 0x676a5e
push edi
call fcn.006fa390
add esp, 4
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov dword [ecx + eax*4], ebp
inc dword [esi + 0x30]
test byte [esi + 0x40], 1
je 0x676a77
mov ecx, ebx
call fcn.00676530
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c], 1
call fcn.005e5c20
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0xc
call fcn.005e5c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 0xb
call fcn.005ea000
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0
call fcn.005ea000
lea ecx, [esp + 0x8c]
mov dword [esp + 0x6c], 0xe
call fcn.005e5c20
mov byte [esp + 0x6c], 0xd
lea ecx, [esp + 0x7c]
call fcn.005ea000
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], 0xffffffff
call fcn.005ea000
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret 0x40