Function at 0x4555a0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x958
mov eax, dword [0x49b470]
xor eax, esp
mov dword [esp + 0x954], eax
mov eax, dword [esp + 0x95c]
push ebx
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [0x4b5af0]
push esi
push edi
mov esi, ecx
test eax, eax
jne 0x454d54
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x10000
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x10000
mov edi, eax
push 0
push edi
call fcn.00463f50
add esp, 0xc
cmp esi, 0x63
jne 0x454dac
push 0x4b3848
lea ecx, [esp + 0x164]
push str._s_save_file00.dat
push ecx
call fcn.0045f116
push 0x4b3848
lea edx, [esp + 0x570]
push str._s_save_file00c.dat
push edx
call fcn.0045f116
add esp, 0x18
jmp 0x454de2
lea ebx, [esi + 1]
push ebx
push 0x4b3848
lea eax, [esp + 0x168]
push str._s_save_file_02d.dat
push eax
call fcn.0045f116
push ebx
push 0x4b3848
lea ecx, [esp + 0x578]
push str._s_save_file_02dc.dat
push ecx
call fcn.0045f116
add esp, 0x20
mov edx, dword [str.______________:___]
mov ecx, dword [0x495a18]
mov eax, dword [0x495a14]
mov dword [esp + 0x40], edx
mov edx, dword [0x495a1c]
mov dword [esp + 0x48], ecx
movzx ecx, byte [0x495a22]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x44], eax
mov ax, word [0x495a20]
lea edx, [esp + 0x28]
push edx
mov word [esp + 0x54], ax
mov byte [esp + 0x56], cl
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [esp + 0x28]
push 0xa
lea eax, [esp + 0x3c]
push eax
push ecx
call fcn.00460624
movzx edx, byte [esp + 0x44]
mov al, byte [esp + 0x45]
movzx ecx, byte [esp + 0x46]
mov byte [esp + 0x4e], al
movzx eax, word [esp + 0x36]
mov byte [esp + 0x4d], dl
movzx edx, byte [esp + 0x47]
mov byte [esp + 0x50], dl
cdq
mov byte [esp + 0x4f], cl
mov ecx, 0xa
idiv ecx
add esp, 0xc
add al, 0x30
mov byte [esp + 0x46], al
movzx eax, word [esp + 0x2e]
add dl, 0x30
mov byte [esp + 0x47], dl
cdq
idiv ecx
add al, 0x30
mov byte [esp + 0x49], al
movzx eax, word [esp + 0x30]
add dl, 0x30
mov byte [esp + 0x4a], dl
cdq
idiv ecx
add al, 0x30
mov byte [esp + 0x4c], al
movzx eax, word [esp + 0x32]
add dl, 0x30
mov byte [esp + 0x4d], dl
cdq
idiv ecx
add al, 0x30
add dl, 0x30
mov byte [esp + 0x4f], al
mov byte [esp + 0x50], dl
cmp esi, 0x63
jne 0x454ede
lea edx, [esp + 0x40]
push edx
push 0x4b5be4
lea eax, [esp + 0x68]
push 0x495a24
push eax
call fcn.0045f116
add esp, 0x10
jmp 0x454efc
lea ecx, [esp + 0x40]
push ecx
push 0x4b5be4
inc esi
push esi
lea edx, [esp + 0x6c]
push 0x495a38
push edx
call fcn.0045f116
add esp, 0x14
mov eax, 0x4b5be4
mov ecx, edi
sub ecx, eax
mov dword [edi], 1
lea edx, [ecx + 0x10]
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x454f10
mov eax, 0x4b5524
mov edx, edi
sub edx, eax
add edx, 0x50
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x454f26
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [0x4b3d14]
test eax, eax
je 0x454f8e
mov ecx, dword [eax + 0xfc]
test ecx, ecx
je 0x454f71
mov eax, ecx
mov ecx, dword [eax + 0xfc]
test ecx, ecx
jne 0x454f65
test eax, eax
je 0x454f8e
mov eax, dword [eax + 0xf4]
add eax, 0x14
lea edx, [esp + 0x40]
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x454f84
lea eax, [esp + 0x40]
mov edx, eax
mov ecx, edi
sub ecx, edx
lea edx, [ecx + 0x70]
jmp 0x454fa0
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x454fa0
mov eax, 0x4b5b70
mov ecx, edi
sub ecx, eax
lea edx, [ecx + 0x90]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x454fc0
mov eax, 0x4b5ba4
mov edx, edi
sub edx, eax
add edx, 0xa0
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x454fe0
mov eax, 0x4b5bc4
mov ecx, edi
sub ecx, eax
lea edx, [ecx + 0xc0]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455000
mov edx, dword [0x4b5b80]
mov dword [edi + 0xe0], edx
mov eax, dword [0x4b5b88]
sub eax, dword [0x4b3d1c]
lea edx, [edi + 0xe8]
mov dword [edi + 0xe4], eax
mov ecx, dword [0x4b5e4c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x455033
mov eax, dword [0x4b5e4c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455045
mov ecx, dword [0x4b5b84]
sub eax, edx
add eax, 4
and eax, 0xfffffffc
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
add esi, 0x3a
lea edx, [edi + esi*4]
jmp 0x455070
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x455070
mov eax, dword [0x4b5b84]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455082
mov ecx, dword [0x4b5e04]
sub eax, edx
add eax, 4
and eax, 0xfffffffc
cdq
and edx, 3
add eax, edx
sar eax, 2
add esi, eax
mov dword [edi + esi*4], ecx
mov edx, dword [0x4b5e08]
inc esi
mov dword [edi + esi*4], edx
inc esi
mov eax, 0x4b5e0c
lea ecx, [esi*4]
sub ecx, eax
lea edx, [ecx + edi]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4550c1
mov edx, dword [0x4b5e1c]
add esi, 4
mov dword [edi + esi*4], edx
inc esi
mov eax, 0x4b5e20
lea ecx, [esi*4]
sub ecx, eax
lea edx, [ecx + edi]
lea esp, [esp]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4550f0
mov edx, dword [0x4b5e30]
add esi, 4
mov dword [edi + esi*4], edx
inc esi
mov eax, 0x4b5e34
lea ecx, [esi*4]
sub ecx, eax
lea edx, [ecx + edi]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455118
mov edx, dword [0x4b5e44]
mov dword [edi + esi*4 + 0x10], edx
mov eax, dword [0x4b5e48]
add esi, 4
mov dword [edi + esi*4 + 4], eax
mov ecx, dword [0x4b3cd8]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [0x4b5c38]
inc esi
mov dword [edi + esi*4 + 4], edx
mov eax, dword [0x4b5c34]
inc esi
inc esi
mov dword [edi + esi*4], eax
mov ecx, dword [0x4b5c30]
inc esi
mov dword [edi + esi*4], ecx
inc esi
mov dword [edi + esi*4], 0x4b5453
mov ebp, dword [0x4b5b68]
inc esi
test ebp, ebp
je 0x455363
lea edx, [esi*4]
sub edx, ebp
mov eax, ebp
add edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455186
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455195
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
mov ecx, 0x4953f4
mov eax, ebp
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4551d0
test dl, dl
je 0x4551cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4551d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4551b0
xor eax, eax
jmp 0x4551d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x455227
mov ebx, dword [ebp + 0xf4]
mov ecx, dword [ebx + 0xf4]
lea edx, [edi + esi*4]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4551e8
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 1]
jmp 0x455200
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455200
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
mov eax, dword [ebx + 0xfc]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ecx]
mov dword [edi + esi*4], edx
jmp 0x455354
mov ecx, 0x4953b4
mov eax, ebp
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455250
test dl, dl
je 0x45524c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455250
add eax, 2
add ecx, 2
test dl, dl
jne 0x455230
xor eax, eax
jmp 0x455255
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x455313
mov ebx, dword [ebp + 0xf4]
mov ecx, dword [ebx + 0xf4]
lea edx, [edi + esi*4]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x455270
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455283
mov ebx, dword [ebx + 0xfc]
mov ecx, dword [ebx + 0xf4]
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
lea edx, [edi + esi*4]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4552a3
mov eax, dword [ebx + 0xf4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4552b6
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
mov eax, dword [ebx + 0xfc]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ecx]
mov dword [edi + esi*4], edx
mov eax, dword [eax + 0xfc]
mov ecx, dword [eax + 0xf4]
inc esi
lea edx, [edi + esi*4]
mov bl, byte [ecx]
mov byte [edx], bl
inc ecx
inc edx
test bl, bl
jne 0x4552e8
mov eax, dword [eax + 0xf4]
lea edx, [eax + 1]
jmp 0x455300
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455300
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
jmp 0x455355
mov ecx, 0x495490
mov eax, ebp
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455340
test dl, dl
je 0x45533c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455340
add eax, 2
add ecx, 2
test dl, dl
jne 0x455320
xor eax, eax
jmp 0x455345
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x455355
mov eax, dword [ebp + 0xf4]
mov ecx, dword [eax]
mov dword [edi + esi*4], ecx
inc esi
mov ebp, dword [ebp + 0xfc]
test ebp, ebp
jne 0x455179
mov dword [edi + esi*4], 0x524156
mov ebp, dword [0x4b5b6c]
inc esi
test ebp, ebp
je 0x45550b
lea esp, [esp]
lea edx, [esi*4]
sub edx, ebp
mov eax, ebp
add edx, edi
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455390
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4553a0
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
movsx eax, byte [ebp + 0xf3]
mov dword [edi + esi*4], eax
movsx eax, byte [ebp + 0xf3]
add eax, 0xffffffdf
inc esi
cmp eax, 9
ja case.0x4553d6.34
movzx ecx, byte [eax + 0x455fb4]
jmp dword [ecx*4 + 0x455fa0]
mov edx, dword [ebp + 0xf4]
mov eax, dword [edx]
mov dword [edi + esi*4], eax
inc esi
jmp case.0x4553d6.34
mov ecx, dword [ebp + 0xf4]
fld dword [ecx]
inc esi
fstp dword [edi + esi*4 - 4]
jmp case.0x4553d6.34
mov ecx, dword [ebp + 0xf4]
lea edx, [edi + esi*4]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x455410
mov eax, dword [ebp + 0xf4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455423
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
jmp case.0x4553d6.34
mov ecx, dword [ebp + 0xf4]
test ecx, ecx
je case.0x4553d6.34
jmp 0x455450
lea edx, [esi*4]
sub edx, ecx
mov eax, ecx
lea ebx, [edx + edi]
mov edi, edi
mov dl, byte [eax]
mov byte [eax + ebx], dl
inc eax
test dl, dl
jne 0x455460
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x455470
sub eax, ebx
add eax, 4
shr eax, 2
add esi, eax
movsx eax, byte [ecx + 0xf3]
mov dword [edi + esi*4], eax
movsx eax, byte [ecx + 0xf3]
inc esi
sub eax, 0x21
je 0x4554e3
sub eax, 3
je 0x4554af
sub eax, 1
jne 0x4554ef
mov edx, dword [ecx + 0xf4]
mov eax, dword [edx]
mov dword [edi + esi*4], eax
jmp 0x4554ee
mov edx, dword [ecx + 0xf4]
lea ebx, [edi + esi*4]
mov al, byte [edx]
mov byte [ebx], al
inc edx
inc ebx
test al, al
jne 0x4554b8
mov eax, dword [ecx + 0xf4]
lea ebx, [eax + 1]
jmp 0x4554d0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4554d0
sub eax, ebx
add eax, 4
shr eax, 2
add esi, eax
jmp 0x4554ef
mov edx, dword [ecx + 0xf4]
fld dword [edx]
fstp dword [edi + esi*4]
inc esi
mov ecx, dword [ecx + 0xfc]
test ecx, ecx
jne 0x455450
mov ebp, dword [ebp + 0xfc]
test ebp, ebp
jne 0x455380
mov dword [edi + esi*4], sym.imp.KERNEL32.dll_HeapCreate
mov ebp, dword [0x4b5ba0]
inc esi
test ebp, ebp
je 0x4556ab
lea ecx, [esi*4]
sub ecx, ebp
mov eax, ebp
lea edx, [ecx + edi]
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x455530
mov eax, ebp
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455540
sub eax, edx
movsx edx, byte [ebp + 0xf3]
add eax, 4
shr eax, 2
add esi, eax
mov dword [edi + esi*4], edx
movsx eax, byte [ebp + 0xf3]
add eax, 0xffffffdf
inc esi
cmp eax, 9
ja case.0x455576.34
movzx eax, byte [eax + 0x455fd4]
jmp dword [eax*4 + 0x455fc0]
mov ecx, dword [ebp + 0xf4]
mov edx, dword [ecx]
mov dword [edi + esi*4], edx
inc esi
jmp case.0x455576.34
mov eax, dword [ebp + 0xf4]
fld dword [eax]
inc esi
fstp dword [edi + esi*4 - 4]
jmp case.0x455576.34
mov ecx, dword [ebp + 0xf4]
lea edx, [edi + esi*4]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4555b0
mov eax, dword [ebp + 0xf4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4555c3
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
jmp case.0x455576.34
mov ecx, dword [ebp + 0xf4]
test ecx, ecx
je case.0x455576.34
jmp 0x4555f0
lea edx, [esi*4]
sub edx, ecx
mov eax, ecx
lea ebx, [edx + edi]
mov edi, edi
mov dl, byte [eax]
mov byte [eax + ebx], dl
inc eax
test dl, dl
jne 0x455600
mov eax, ecx
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x455610
sub eax, ebx
add eax, 4
shr eax, 2
add esi, eax
movsx eax, byte [ecx + 0xf3]
mov dword [edi + esi*4], eax
movsx eax, byte [ecx + 0xf3]
inc esi
sub eax, 0x21
je 0x455683
sub eax, 3
je 0x45564f
sub eax, 1
jne 0x45568f
mov edx, dword [ecx + 0xf4]
mov eax, dword [edx]
mov dword [edi + esi*4], eax
jmp 0x45568e
mov edx, dword [ecx + 0xf4]
lea ebx, [edi + esi*4]
mov al, byte [edx]
mov byte [ebx], al
inc edx
inc ebx
test al, al
jne 0x455658
mov eax, dword [ecx + 0xf4]
lea ebx, [eax + 1]
jmp 0x455670
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x455670
sub eax, ebx
add eax, 4
shr eax, 2
add esi, eax
jmp 0x45568f
mov edx, dword [ecx + 0xf4]
fld dword [edx]
fstp dword [edi + esi*4]
inc esi
mov ecx, dword [ecx + 0xfc]
test ecx, ecx
jne 0x4555f0
mov ebp, dword [ebp + 0xfc]
test ebp, ebp
jne 0x455521
mov dword [edi + esi*4], 0x4c4553
mov eax, dword [0x4b5e9c]
inc esi
mov dword [edi + esi*4], eax
xor eax, eax
inc esi
cmp dword [0x4b5e9c], eax
jle 0x455755
lea ebx, [ebx]
mov ecx, dword [eax*4 + 0x4b5ea4]
movsx edx, word [ecx]
mov dword [edi + esi*4], edx
mov ecx, dword [eax*4 + 0x4b5ea4]
movsx edx, word [ecx + 2]
mov dword [edi + esi*4 + 4], edx
mov ecx, dword [eax*4 + 0x4b5ea4]
movsx edx, word [ecx + 4]
inc esi
inc esi
mov dword [edi + esi*4], edx
mov ecx, dword [eax*4 + 0x4b5ea4]
movsx edx, word [ecx + 6]
inc esi
mov dword [edi + esi*4], edx
mov ecx, dword [eax*4 + 0x4b5ea4]
inc esi
add ecx, 0x10
lea ebx, [edi + esi*4]
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
test dl, dl
jne 0x455720
mov ecx, dword [eax*4 + 0x4b5ea4]
add ecx, 0x10
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x455737
sub ecx, ebx
add ecx, 4
shr ecx, 2
inc eax
add esi, ecx
cmp eax, dword [0x4b5e9c]
jl 0x4556d0
mov ebp, dword [0x4b5a34]
mov dword [edi + esi*4], 0x444e57
inc esi
test ebp, ebp
je 0x455a7b
cmp dword [ebp], 0xffffffff
mov dword [esp + 0x14], 0
je 0x455a7b
mov eax, ebp
nop
mov ecx, dword [eax]
movzx ebx, byte [ecx + 6]
movzx edx, byte [ecx + 7]
or edx, ebx
movzx ebx, byte [ecx + 5]
movzx ecx, byte [ecx + 4]
or edx, ebx
or edx, ecx
mov dword [edi + esi*4], edx
mov edx, dword [eax]
movsx ecx, word [edx + 8]
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0xa]
mov dword [edi + esi*4 + 8], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0xc]
mov dword [edi + esi*4 + 0xc], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0xe]
mov dword [edi + esi*4 + 0x10], ecx
mov edx, dword [eax]
movsx ecx, byte [edx + 0x14]
inc esi
mov dword [edi + esi*4 + 0x10], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0x34]
add esi, 4
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0x36]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0x38]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0x3a]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movzx ebx, byte [ecx + 0x32]
movzx edx, byte [ecx + 0x33]
inc esi
or edx, ebx
movzx ebx, byte [ecx + 0x31]
movzx ecx, byte [ecx + 0x30]
or edx, ebx
or edx, ecx
mov dword [edi + esi*4 + 4], edx
mov edx, dword [eax]
movsx ecx, byte [edx + 0x40]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0x26]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0x28]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, byte [edx + 0x21]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, byte [edx + 0x20]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, byte [edx + 0x23]
inc esi
inc esi
mov dword [edi + esi*4], ecx
mov edx, dword [eax]
movsx ecx, byte [edx + 0x22]
inc esi
mov dword [edi + esi*4], ecx
inc esi
mov edx, dword [eax]
cmp byte [edx + 0x70], 0
je 0x4558a1
mov dword [edi + esi*4], 0x4d5246
mov ecx, dword [eax]
inc esi
add ecx, 0x70
lea ebx, [edi + esi*4]
mov edi, edi
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
test dl, dl
jne 0x455880
mov ecx, dword [eax]
movsx edx, word [ecx + 0x50]
add esi, 4
mov dword [edi + esi*4], edx
mov ecx, dword [eax]
movsx edx, word [ecx + 0x52]
inc esi
mov dword [edi + esi*4], edx
inc esi
mov ecx, dword [eax]
cmp byte [ecx + 0xc0], 0
je 0x455912
mov dx, word [0x495a5c]
mov word [edi + esi*4], dx
mov cl, byte [0x495a5e]
mov byte [edi + esi*4 + 2], cl
mov ecx, dword [eax]
inc esi
add ecx, 0xc0
lea ebx, [edi + esi*4]
lea ecx, [ecx]
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
test dl, dl
jne 0x4558d0
mov edx, dword [eax]
movsx ecx, word [edx + 0xa0]
mov dword [edi + esi*4 + 0x10], ecx
mov edx, dword [eax]
movsx ecx, word [edx + 0xa2]
add esi, 4
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax]
movsx ecx, byte [edx + 0xab]
inc esi
inc esi
mov dword [edi + esi*4], ecx
mov edx, dword [eax]
mov ecx, dword [edx + 0xd0]
inc esi
mov dword [edi + esi*4], ecx
inc esi
mov edx, dword [eax]
cmp byte [edx + 0x104], 0
je 0x455975
mov cx, word [0x495a60]
mov word [edi + esi*4], cx
mov dl, byte [0x495a62]
mov byte [edi + esi*4 + 2], dl
mov ecx, dword [eax]
inc esi
add ecx, 0x104
lea ebx, [edi + esi*4]
mov edi, edi
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
test dl, dl
jne 0x455940
mov ecx, dword [eax]
movsx edx, word [ecx + 0xe4]
mov dword [edi + esi*4 + 0x10], edx
mov ecx, dword [eax]
movsx edx, word [ecx + 0xe6]
add esi, 4
inc esi
mov dword [edi + esi*4], edx
mov ecx, dword [eax]
movsx edx, byte [ecx + 0xef]
inc esi
mov dword [edi + esi*4], edx
inc esi
mov eax, dword [eax]
mov edx, dword [eax + 0x120]
test edx, edx
je 0x455a63
mov dword [edi + esi*4], 0x4e5442
inc esi
mov dword [esp + 0x20], edx
test edx, edx
je 0x455a63
lea eax, [edi + esi*4]
lea esp, [esp]
lea ecx, [edx + 0x28]
mov ebx, eax
sub ebx, ecx
mov dword [esp + 0x18], ebx
jmp 0x4559b0
mov bl, byte [ecx]
mov ebp, dword [esp + 0x18]
mov byte [ecx + ebp], bl
inc ecx
test bl, bl
jne 0x4559b0
add eax, 0x20
lea ecx, [edx + 0x38]
mov ebx, eax
add esi, 8
sub ebx, ecx
mov dword [esp + 0x18], ebx
nop
mov bl, byte [ecx]
mov ebp, dword [esp + 0x18]
mov byte [ecx + ebp], bl
inc ecx
test bl, bl
jne 0x4559d0
movsx ecx, word [edx + 8]
add eax, 0x20
mov dword [eax], ecx
movsx ecx, word [edx + 0xa]
add esi, 8
add eax, 4
inc esi
mov dword [eax], ecx
mov ebp, dword [edx + 0x108]
inc esi
add eax, 4
test ebp, ebp
je 0x455a32
lea ecx, [ebp + 0x28]
mov ebx, eax
sub ebx, ecx
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
test dl, dl
jne 0x455a10
movsx edx, word [ebp + 8]
add eax, 0x20
mov dword [eax], edx
movsx ecx, word [ebp + 0xa]
mov edx, dword [esp + 0x20]
add eax, 4
mov dword [eax], ecx
jmp 0x455a47
mov byte [eax], 0
add eax, 0x20
mov dword [eax], 0
add eax, 4
mov dword [eax], 0
mov edx, dword [edx]
add esi, 8
inc esi
inc esi
add eax, 4
mov dword [esp + 0x20], edx
test edx, edx
jne 0x4559a0
mov ebp, dword [0x4b5a34]
mov eax, dword [esp + 0x14]
inc eax
cmp dword [ebp + eax*4], 0xffffffff
mov dword [esp + 0x14], eax
lea eax, [ebp + eax*4]
jne 0x455780
mov edx, dword [0x4b5a38]
mov dword [edi + esi*4], 0x525053
inc esi
test edx, edx
je 0x455b70
cmp dword [edx], 0xffffffff
mov dword [esp + 0x14], 0
je 0x455b70
mov ecx, edx
lea eax, [edi + esi*4]
mov ebx, dword [ecx]
add ebx, 0x28
cmp byte [ebx], 0
je 0x455af5
mov ebp, eax
mov dl, byte [ebx]
mov byte [ebp], dl
inc ebx
inc ebp
test dl, dl
jne 0x455ab3
mov edx, dword [ecx]
movsx edx, word [edx + 8]
mov dword [eax + 0x10], edx
mov edx, dword [ecx]
movsx edx, word [edx + 0xa]
add eax, 0x10
mov dword [eax + 4], edx
mov edx, dword [ecx]
movsx edx, byte [edx + 0x13]
add eax, 4
mov dword [eax + 4], edx
mov edx, dword [ecx]
movsx edx, byte [edx + 0x18]
add eax, 4
add eax, 4
mov dword [eax], edx
mov edx, dword [0x4b5a38]
jmp 0x455b1f
mov dword [eax], 0
add eax, 0x10
mov dword [eax], 0
add eax, 4
mov dword [eax], 0
add eax, 4
mov dword [eax], 0
add eax, 4
mov dword [eax], 0
mov ebx, dword [ecx]
movsx ebx, byte [ebx + 0x38]
mov dword [eax + 4], ebx
mov ebx, dword [ecx]
movsx ebx, byte [ebx + 0x17]
add eax, 4
mov dword [eax + 4], ebx
mov ebx, dword [ecx]
movsx ebx, byte [ebx + 0x39]
add eax, 4
add esi, 4
inc esi
add eax, 4
mov dword [eax], ebx
mov ecx, dword [ecx]
movzx ecx, word [ecx + 0x44]
inc esi
inc esi
inc esi
add eax, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
inc esi
inc esi
inc ecx
inc esi
mov dword [esp + 0x14], ecx
lea ecx, [edx + ecx*4]
inc esi
add eax, 4
cmp dword [ecx], 0xffffffff
jne 0x455aa7
mov eax, dword [0x4b5acc]
mov dword [edi + esi*4], 0x465542
mov edx, dword [eax + 0x5c7c]
mov dword [edi + esi*4 + 4], edx
mov ecx, dword [eax + 0x5c80]
mov edx, dword [0x4b5a58]
inc esi
mov dword [edi + esi*4 + 4], ecx
inc esi
mov dword [edi + esi*4 + 4], edx
mov ecx, dword [eax + 0x5c84]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax + 0x5c88]
inc esi
mov dword [edi + esi*4 + 4], edx
mov ecx, dword [eax + 0x572c]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov edx, dword [eax + 0x5734]
inc esi
inc esi
mov dword [edi + esi*4], edx
mov ecx, dword [eax + 0x5774]
inc esi
mov dword [edi + esi*4], ecx
inc esi
lea ecx, [eax + 0x5794]
lea edx, [esi*4]
sub edx, ecx
lea ebx, [edx + edi]
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
test dl, dl
jne 0x455be5
mov ecx, dword [eax + 0x578c]
mov eax, dword [eax + 0x5788]
mov ebp, dword [0x4b5a3c]
add esi, 4
mov dword [edi + esi*4], eax
inc esi
mov dword [edi + esi*4], ecx
inc esi
mov dword [edi + esi*4], 0x4e5442
inc esi
test ebp, ebp
je 0x455d27
cmp dword [ebp], 0xffffffff
mov dword [esp + 0x14], 0
je 0x455d27
mov eax, ebp
mov ecx, dword [eax]
cmp byte [ecx + 0x28], 0
lea edx, [ecx + 0x28]
je 0x455cb1
lea ebx, [edi + esi*4]
mov edi, edi
mov cl, byte [edx]
mov byte [ebx], cl
inc edx
inc ebx
test cl, cl
jne 0x455c40
mov ecx, dword [eax]
movsx edx, word [ecx + 8]
add esi, 4
mov dword [edi + esi*4], edx
mov ecx, dword [eax]
movsx edx, word [ecx + 0xa]
inc esi
mov dword [edi + esi*4], edx
mov ecx, dword [eax]
inc esi
add ecx, 0x110
lea ebx, [edi + esi*4]
lea esp, [esp]
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
test dl, dl
jne 0x455c70
mov ecx, dword [eax]
add ecx, 0x110
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x455c85
sub ecx, ebx
add ecx, 4
shr ecx, 2
add esi, ecx
mov ecx, dword [eax]
movsx edx, word [ecx + 0x10c]
mov dword [edi + esi*4], edx
mov eax, dword [eax]
movsx ecx, word [eax + 0x10e]
inc esi
mov dword [edi + esi*4], ecx
jmp 0x455d10
mov dword [edi + esi*4], 0
add esi, 4
mov dword [edi + esi*4], 0
inc esi
mov dword [edi + esi*4], 0
mov ecx, dword [eax]
inc esi
add ecx, 0x110
lea ebx, [edi + esi*4]
mov dl, byte [ecx]
mov byte [ebx], dl
inc ecx
inc ebx
test dl, dl
jne 0x455cd6
mov eax, dword [eax]
add eax, 0x110
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x455cf0
sub eax, edx
add eax, 4
shr eax, 2
add esi, eax
mov dword [edi + esi*4], 0
inc esi
mov dword [edi + esi*4], 0
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
lea eax, [ebp + eax*4]
inc esi
cmp dword [eax], 0xffffffff
jne 0x455c30
mov dword [edi + esi*4], 0x4d4e41
mov dx, word [0x495a74]
inc esi
mov word [edi + esi*4], dx
mov al, byte [0x495a76]
mov byte [edi + esi*4 + 2], al
mov eax, dword [0x4b5a44]
inc esi
test eax, eax
je 0x455df8
xor edx, edx
cmp dword [eax], 0xffffffff
je 0x455df8
lea esp, [esp]
mov ecx, dword [eax]
movzx ebx, byte [ecx + 4]
movzx ebp, byte [ecx + 5]
shl ebx, 8
or ebx, ebp
movzx ebp, byte [ecx + 6]
movzx ecx, byte [ecx + 7]
shl ebx, 8
or ebx, ebp
shl ebx, 8
or ebx, ecx
mov dword [edi + esi*4], ebx
mov ecx, dword [eax]
movsx ecx, word [ecx + 8]
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, word [ecx + 0xa]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, word [ecx + 0xc]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, word [ecx + 0xe]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, byte [ecx + 0x14]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, byte [ecx + 0x18]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, word [ecx + 0x1a]
inc esi
mov dword [edi + esi*4 + 4], ecx
mov ecx, dword [eax]
movsx ecx, word [ecx + 0x1c]
inc esi
inc esi
mov dword [edi + esi*4], ecx
mov eax, dword [eax]
movsx ecx, word [eax + 0x1e]
mov eax, dword [0x4b5a44]
inc esi
inc edx
mov dword [edi + esi*4], ecx
lea eax, [eax + edx*4]
inc esi
cmp dword [eax], 0xffffffff
jne 0x455d60
push 0
push 0x80000080
push 4
push 0
push 0
push 0x40000000
lea ecx, [esp + 0x178]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
add esi, esi
add esi, esi
push esi
push 0
mov ebx, eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0
test eax, eax
jne 0x455e70
mov edx, dword [0x4b3c9c]
push 0x48ba48
push 0x495a78
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4b5af0]
test eax, eax
jne 0x455e5f
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x455f86
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push ebx
call ebp
push 0
lea eax, [esp + 0x28]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov eax, dword [0x4b5af0]
test eax, eax
jne 0x455ec1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x1c], 0
je 0x455f77
push 0
push 0x80000080
push 4
push 0
push 0
push 0x40000000
lea ecx, [esp + 0x578]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [esp + 0x970]
imul edi, dword [esp + 0x974]
push 0
add edi, edi
add edi, edi
push edi
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0
test eax, eax
jne 0x455f3d
mov edx, dword [0x4b3c9c]
push 0x48ba48
push 0x495a78
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call ebx
xor eax, eax
jmp 0x455f86
push 0
push 0
push esi
call ebp
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x28]
push eax
push edi
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call ebx
call fcn.004542d0
call fcn.004549c0
mov eax, 1
mov ecx, dword [esp + 0x964]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f0aa
add esp, 0x958
ret