Function at 0x4034a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44497e
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x453c00]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x453c00]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x10]
mov esi, edx
call fcn.00417750
xor ebx, ebx
mov dword [esp + 0xa0], ebx
cmp esi, ebx
jne 0x4034fe
xor eax, eax
jmp 0x40350c
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403503
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00403c50
push ebx
push ebx
push ebx
mov ecx, 0x4567f4
call fcn.00411e90
cmp dword [0x456800], ebx
jne 0x403562
mov edx, 0x44a7a2
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403536
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403b50
push 2
push 0x44aa90
lea ecx, [esp + 0x18]
call fcn.00403b50
cmp edi, ebx
jne 0x403570
xor eax, eax
jmp 0x40357e
mov edx, dword [0x4567f8]
cmp edx, ebx
jne 0x403531
xor eax, eax
jmp 0x40353f
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403575
sub eax, edx
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.00403b50
push 0x33
push 8
mov dword [esp + 0x1c], vtable.AxAnsiString.0
call fcn.004181b0
push eax
call dword [0x446104]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
xor eax, eax
xor ebx, ebx
lea edi, [esp + 0x14]
call fcn.0040ec10
mov byte [esp + 0xa0], 1
push 0x3f
lea eax, [esp + 0x51]
push ebx
push eax
mov byte [esp + 0x58], bl
call fcn.0042aed0
add esp, 0xc
push 0x44aa94
push str.update_hall_log.txt
call fcn.00428461
mov esi, eax
add esp, 8
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x403652
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x18]
mov esi, dword [0x446100]
mov dword [esp + 0x14], vtable.AxAnsiString.0
cmp eax, ebx
je 0x40361d
push eax
push ebx
call fcn.004181b0
push eax
call esi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x403633
push eax
push ebx
call fcn.004181b0
push eax
call esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004177c0
xor eax, eax
jmp 0x403832
lea ecx, [esp + 0x4c]
push ecx
call fcn.0042865a
add esp, 4
xor eax, eax
lea ebx, [esp + 0x4c]
lea edi, [esp + 0x14]
call fcn.0040ec10
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403673
sub eax, edx
push esi
push eax
lea edx, [esp + 0x54]
push 1
push edx
call fcn.00428855
push esi
push 1
push 1
push 0x44aaac
call fcn.00428855
lea eax, [esp + 0x6c]
push eax
call fcn.0042897a
add esp, 0x24
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.00411e90
mov ebx, dword [esp + 0x20]
push 0x44aab0
lea esi, [esp + 0x18]
call fcn.0040ed60
push 0
push 0
push 0
mov ecx, esi
call fcn.00411e90
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x4c]
push ecx
call fcn.0040ed60
lea eax, [esp + 0x4c]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4036f0
mov esi, dword [esp + 0x24]
push esi
sub eax, ecx
push eax
mov ebx, 1
lea edx, [esp + 0x54]
push ebx
push edx
call fcn.00428855
push esi
push ebx
push ebx
push 0x44aaac
call fcn.00428855
mov ecx, dword [esp + 0x30]
add esp, 0x20
cmp dword [ecx - 4], ebx
jle 0x403739
mov eax, dword [ecx - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.004039d0
mov ecx, dword [esp + 0x10]
mov eax, ecx
lea edi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403740
sub eax, edi
cmp dword [ecx - 4], ebx
mov edi, eax
jle 0x403761
mov ecx, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.004039d0
mov ecx, dword [esp + 0x10]
push esi
push edi
push ebx
push ecx
call fcn.00428855
push esi
push 0xa
call fcn.00427a35
push esi
call fcn.00428a5e
add esp, 0x1c
cmp dword [ebp + 8], 0
je 0x40380b
push 0
push str.frame_error_log.ini
lea edx, [esp + 0x30]
push edx
call fcn.0040d840
mov byte [esp + 0xa0], 2
push 0
push 0
push 0
lea ecx, [esp + 0x20]
call fcn.00411e90
cmp dword [esp + 0x20], 0
mov eax, 0x44a7a2
je 0x4037bd
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ecx
push str.error
lea ecx, [esp + 0x30]
call fcn.0040e190
mov esi, eax
mov byte [esp + 0xa0], bl
lea ecx, [esp + 0x28]
call fcn.0040d930
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call fcn.0040ebc0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004177c0
mov eax, esi
jmp 0x403832
mov byte [esp + 0xa0], 0
lea ecx, [esp + 0x14]
call fcn.0040ebc0
mov dword [esp + 0xa0], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004177c0
mov eax, ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004279c9
mov esp, ebp
pop ebp
ret