Function at 0x403263
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x5beeb0
push str.CALMIFInfo::WriteLog
push 5
mov esi, ecx
xor edi, edi
call fcn.00423f75
add esp, 0xc
lea eax, [esi + 0x98]
push 4
push eax
mov ebx, 0x98
push ebx
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov dword [ebp - 4], esi
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x9c]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xa0]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xa4]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xa8]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xac]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xb0]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xb4]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xb8]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xbc]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xc0]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xc4]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xc8]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xcc]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xd0]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xd4]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xd8]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xdc]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xe0]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xe4]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xe8]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xec]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xf0]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xf4]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xf8]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0xfc]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x100]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x104]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x108]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x10c]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x110]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x114]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x118]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x11c]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x120]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x124]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x128]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
push 4
lea eax, [esi + 0x12c]
push eax
mov eax, esi
sub eax, dword [ebp - 4]
mov ecx, esi
add eax, ebx
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401347
test eax, eax
je 0x40385c
lea edi, [esi + 0x130]
cmp dword [edi + 0x14], 8
jb 0x4037eb
mov eax, dword [edi]
jmp 0x4037ed
mov eax, edi
push eax
call fcn.00435877
pop ecx
test eax, eax
je 0x403809
cmp dword [edi + 0x14], 8
jb 0x403800
mov edi, dword [edi]
push 0x40
push 0x5bf154
jmp 0x403818
cmp dword [edi + 0x14], 8
jb 0x403811
mov edi, dword [edi]
push 0x40
push 0x5bf15c
push edi
call fcn.0058815d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40385c
push edi
push ebx
push 1
push esi
call fcn.0058899e
add esp, 0x10
cmp eax, ebx
jne 0x40385c
push 0x5beecc
push str.CALMIFInfo::WriteLog
push 5
call fcn.00423f75
add esp, 0xc
test edi, edi
je 0x403857
push edi
call fcn.0058853b
pop ecx
xor eax, eax
inc eax
jmp 0x40387d
push 0x5beee8
push str.CALMIFInfo::WriteLog
push 5
call fcn.00423f75
add esp, 0xc
test edi, edi
je 0x40387b
push edi
call fcn.0058853b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret