Function at 0x4026d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x443040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4c8b00
push str.DIARY
push 0x4c8cf0
push 0x43856c
push 0x4c8910
call fcn.00401f00
add esp, 0x14
push 0x4c8910
call fcn.00402370
add esp, 4
push 0x438574
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
cmp dword [0x466c98], 0
je 0x40276e
push 0x438578
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
mov eax, dword [0x466c98]
push eax
push 1
push 0x1948
push 0x4442f8
call fcn.00427056
add esp, 0x10
mov ecx, dword [0x466c98]
push ecx
call fcn.00426d7f
add esp, 4
push str.TRANSFERS
push 0x4c8cf0
push 0x438588
push 0x4c8910
call fcn.00401f00
add esp, 0x10
push 0x4c8910
call fcn.00402370
add esp, 4
push 0x438590
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
cmp dword [0x466c98], 0
je 0x4027e0
mov edx, dword [0x466c98]
push edx
push 1
push 0x42c
push 0x47bba8
call fcn.00427056
add esp, 0x10
mov eax, dword [0x466c98]
push eax
call fcn.00426d7f
add esp, 4
mov cx, word [0x47bbb6]
mov word [0x47b648], cx
mov dx, word [0x47bbb4]
mov word [0x47b64c], dx
mov eax, 1
mov word [ebp - 0x5c], ax
jmp 0x402813
mov cx, word [ebp - 0x5c]
add cx, 1
mov word [ebp - 0x5c], cx
movsx edx, word [ebp - 0x5c]
movsx eax, word [0x47b648]
cmp edx, eax
jg 0x40283c
movsx ecx, word [ebp - 0x5c]
movsx edx, word [ebp - 0x5c]
mov ax, word [ecx*2 + 0x47bfa0]
mov word [edx*2 + 0x47b604], ax
jmp 0x402807
mov ecx, 1
mov word [ebp - 0x5c], cx
jmp 0x402853
mov dx, word [ebp - 0x5c]
add dx, 1
mov word [ebp - 0x5c], dx
movsx eax, word [ebp - 0x5c]
movsx ecx, word [0x47b64c]
cmp eax, ecx
jg 0x40287c
movsx edx, word [ebp - 0x5c]
movsx eax, word [ebp - 0x5c]
mov cx, word [edx*2 + 0x47bed8]
mov word [eax*2 + 0x4762f8], cx
jmp 0x402847
push str.LOADCHARN
push 0x4c8cf0
push 0x4385a0
push 0x4c8a08
call fcn.00401f00
add esp, 0x10
push 0x4c8a08
call fcn.00402370
add esp, 4
push 0x4385a8
push 0x4c8a08
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
mov edx, dword [0x466c98]
push edx
push 1
push 0x1a70
push 0x4763c8
call fcn.00427056
add esp, 0x10
cmp dword [0x466c98], 0
je 0x4028ee
mov eax, dword [0x466c98]
push eax
call fcn.00426d7f
add esp, 4
mov cx, word [0x4763ca]
mov word [0x47b63c], cx
movsx edx, word [0x4763cc]
cmp edx, 1
jne 0x402955
mov eax, 1
mov word [ebp - 0x5c], ax
jmp 0x40291f
mov cx, word [ebp - 0x5c]
add cx, 1
mov word [ebp - 0x5c], cx
movsx edx, word [ebp - 0x5c]
movsx eax, word [0x47b64c]
cmp edx, eax
jg 0x402955
movsx ecx, word [ebp - 0x5c]
movzx edx, byte [ecx + 0x4778a0]
cmp edx, 1
jne 0x402953
movsx eax, word [ebp - 0x5c]
movss xmm0, dword [0x439228]
movss dword [eax*4 + 0x4773f0], xmm0
jmp 0x402913
push str.AAAAWN.TXT
push 0x4c8cf0
push 0x4385b8
push 0x4c8910
call fcn.00401f00
add esp, 0x10
push 0x4385c0
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
mov dword [ebp - 0x60], 0
mov ecx, 1
mov word [ebp - 0x5c], cx
jmp 0x4029a6
mov dx, word [ebp - 0x5c]
add dx, 1
mov word [ebp - 0x5c], dx
movsx eax, word [ebp - 0x5c]
movsx ecx, word [0x47b64c]
cmp eax, ecx
jg 0x402a5e
movsx edx, word [ebp - 0x5c]
movsx eax, byte [edx + 0x4764f8]
cmp eax, 0x41
jne 0x402a4e
movsx ecx, word [ebp - 0x5c]
push ecx
push str.LF_A___i
lea edx, [ebp - 0x58]
push edx
call fcn.00401f00
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0x4385d0
mov ecx, dword [0x466c98]
push ecx
call fcn.0041a370
add esp, 0xc
movsx edx, word [ebp - 0x5c]
movsx eax, word [edx*2 + 0x476bf4]
cmp eax, 1
je 0x402a1d
movsx ecx, word [ebp - 0x5c]
movsx edx, word [ecx*2 + 0x476bf4]
cmp edx, 0xc
jne 0x402a41
movsx eax, word [ebp - 0x5c]
mov byte [eax + 0x476876], 0x57
mov ecx, dword [ebp - 0x60]
add ecx, 1
mov dword [ebp - 0x60], ecx
movsx edx, word [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
mov dword [edx*4 + 0x476168], eax
jmp 0x402a4c
movsx ecx, word [ebp - 0x5c]
mov byte [ecx + 0x476876], 0x54
jmp 0x402a59
movsx edx, word [ebp - 0x5c]
mov byte [edx + 0x476876], 0x4e
jmp 0x40299a
mov eax, dword [0x466c98]
push eax
call fcn.00426d7f
add esp, 4
push 0x1a70
push 0x4763c8
push 0x477e38
call fcn.004217d0
add esp, 0xc
push 0x1a70
push 0x4763c8
push 0x4798a8
call fcn.004217d0
add esp, 0xc
push 0x4c8b00
push str.PARAM00
push 0x4c8cf0
push 0x4385dc
push 0x4c8910
call fcn.00401f00
add esp, 0x14
push 0x4c8910
call fcn.00402370
add esp, 4
push 0x4385e4
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
mov ecx, dword [0x466c98]
push ecx
push 1
push 0x2e8
push 0x47b318
call fcn.00427056
add esp, 0x10
cmp dword [0x466c98], 0
je 0x402b12
mov edx, dword [0x466c98]
push edx
call fcn.00426d7f
add esp, 4
movsx eax, word [0x47b32c]
movsx ecx, word [0x47b32e]
add eax, ecx
shl eax, 1
mov word [0x47b658], ax
movsx edx, word [0x47b658]
cmp edx, 0x1068
jle 0x402b44
mov eax, 0x1068
mov word [0x47b658], ax
push 0x4c8b00
push 0x4c8cf0
push str._sEDGE_s
push 0x4c8910
call fcn.00401f00
add esp, 0x10
push 0x4c8910
call fcn.00402370
add esp, 4
push 0x4385f4
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
mov ecx, 1
mov word [ebp - 0x5c], cx
jmp 0x402b9b
mov dx, word [ebp - 0x5c]
add dx, 1
mov word [ebp - 0x5c], dx
movsx eax, word [ebp - 0x5c]
movsx ecx, word [0x47b31c]
cmp eax, ecx
jg 0x402bcd
mov edx, dword [0x466c98]
push edx
push 1
push 0x68
movsx eax, word [ebp - 0x5c]
imul ecx, eax, 0x68
add ecx, 0x463f80
push ecx
call fcn.00427056
add esp, 0x10
jmp 0x402b8f
cmp dword [0x466c98], 0
je 0x402be5
mov edx, dword [0x466c98]
push edx
call fcn.00426d7f
add esp, 4
movsx eax, word [0x47b35a]
test eax, eax
jle 0x402c97
push 0x4c8b00
push 0x4c8cf0
push str._sGIRDER_s
push 0x4c8910
call fcn.00401f00
add esp, 0x10
push 0x4c8910
call fcn.00402370
add esp, 4
push 0x438604
push 0x4c8910
call fcn.00426e66
add esp, 8
mov dword [0x466c98], eax
mov ecx, 1
mov word [ebp - 0x5c], cx
jmp 0x402c4b
mov dx, word [ebp - 0x5c]
add dx, 1
mov word [ebp - 0x5c], dx
movsx eax, word [ebp - 0x5c]
movsx ecx, word [0x47b35a]
cmp eax, ecx
jg 0x402c7f
mov edx, dword [0x466c98]
push edx
push 1
push 0xf200
movsx eax, word [ebp - 0x5c]
shl eax, 9
add eax, 0x466f60
push eax
call fcn.00427056
add esp, 0x10
jmp 0x402c3f
cmp dword [0x466c98], 0
je 0x402c97
mov ecx, dword [0x466c98]
push ecx
call fcn.00426d7f
add esp, 4
movsx edx, word [0x47b342]
test edx, edx
jle 0x402cd3
movsx eax, word [0x47b34e]
test eax, eax
jle 0x402cd3
mov cx, word [0x47b648]
add cx, 1
mov word [0x47b648], cx
movsx edx, word [0x47b648]
mov eax, 0xa
mov word [edx*2 + 0x47b604], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042089e
mov esp, ebp
pop ebp
ret