Function at 0x4637d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov eax, dword [0x632b20]
xor eax, ebp
mov dword [ebp - 0xc], eax
push esi
mov dword [ebp - 0x110], 0
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x218], 0
push 0xe8
push 0
lea ecx, [ebp - 0x214]
push ecx
call fcn.005cbc50
add esp, 0xc
mov dword [ebp - 0x128], 0
xor edx, edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x100], 0
push 0xe8
push 0
lea eax, [ebp - 0xfc]
push eax
call fcn.005cbc50
add esp, 0xc
mov dword [0x6bc070], 0
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 8], eax
push 0xc
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x600f80], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [0x9cef68]
and edx, 8
je 0x4638db
cmp dword [0x600f80], 0x10
jge 0x4638db
push 0x10
push 0x5e9b58
push 0x5e9b60
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
push 0xc4
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
push eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov dword [0x6ba8fc], eax
cmp dword [0x6ba8fc], 0
jne 0x46391d
push 0x10
push 0x5e9b90
push str.GlobalAllocPtr_Error___DIRECT_DRAW__
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x9c], 0
mov eax, dword [0x6ba8fc]
mov dword [eax + 0xa0], 0
mov ecx, dword [0x6ba8fc]
mov dword [ecx + 0x94], 0x280
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x98], 0x1e0
mov dword [0x124bc8c], 0x40
mov dword [0x1267cb4], 0x30
push 0
push 0x5fa138
mov eax, dword [0x6ba8fc]
add eax, 4
push eax
push 0
call sub.DDRAW.dll_DirectDrawCreateEx
test eax, eax
je 0x4639c7
push 0
push 0x5fa138
mov ecx, dword [0x6ba8fc]
add ecx, 4
push ecx
push 2
call sub.DDRAW.dll_DirectDrawCreateEx
test eax, eax
je 0x4639c7
push 0x10
push 0x5e9bc0
push str.DirectDrawCreateEx_Error
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
cmp dword [0x9cf360], 0
je 0x463bf3
push 8
mov eax, dword [0x9cef70]
push eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x50]
call eax
test eax, eax
je 0x463a19
push 0x10
push 0x5e9be4
push 0x5e9bec
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
push 0x7c
push 0
mov edx, dword [0x6ba8fc]
add edx, 0x14
push edx
call fcn.005cbc50
add esp, 0xc
mov eax, dword [0x6ba8fc]
mov dword [eax + 0x14], 0x7c
mov ecx, dword [0x6ba8fc]
mov dword [ecx + 0x18], 1
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x7c], 0x2200
push 0
mov eax, dword [0x6ba8fc]
add eax, 8
push eax
mov ecx, dword [0x6ba8fc]
add ecx, 0x14
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 4]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x18]
call ecx
test eax, eax
je 0x463aa8
push 0x10
push 0x5e9c08
push 0x5e9c10
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
push 0
mov eax, dword [0x6ba8fc]
add eax, 0x10
push eax
push 0
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x463af2
push 0x10
push 0x5e9c2c
push str.Clipper
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
mov edx, dword [0x9cef70]
push edx
push 0
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x10]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x20]
call edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 8]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 8]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x70]
call ecx
push 0x7c
push 0
mov edx, dword [0x6ba8fc]
add edx, 0x14
push edx
call fcn.005cbc50
add esp, 0xc
mov eax, dword [0x6ba8fc]
mov dword [eax + 0x14], 0x7c
mov ecx, dword [0x6ba8fc]
mov dword [ecx + 0x18], 7
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x7c], 0x2040
mov eax, dword [0x6ba8fc]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x94]
mov dword [eax + 0x20], edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x98]
mov dword [eax + 0x1c], edx
push 0
mov eax, dword [0x6ba8fc]
add eax, 0xc
push eax
mov ecx, dword [0x6ba8fc]
add ecx, 0x14
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 4]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x18]
call ecx
test eax, eax
je 0x463bee
push 0x10
push 0x5e9c48
push 0x5e9c50
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
jmp 0x463d69
push 0x51
mov eax, dword [0x9cef70]
push eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x50]
call eax
test eax, eax
je 0x463c38
push 0x10
push 0x5e9c68
push str.SetCooperativeLevel_Error
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
push 0
push 0
mov edx, dword [0x600f80]
push edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x94]
push eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x54]
call eax
push 0x7c
push 0
mov ecx, dword [0x6ba8fc]
add ecx, 0x14
push ecx
call fcn.005cbc50
add esp, 0xc
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x14], 0x7c
mov eax, dword [0x6ba8fc]
mov dword [eax + 0x18], 0x21
mov ecx, dword [0x6ba8fc]
mov dword [ecx + 0x7c], 0x2218
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x28], 1
push 0
mov eax, dword [0x6ba8fc]
add eax, 8
push eax
mov ecx, dword [0x6ba8fc]
add ecx, 0x14
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 4]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 4]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x18]
call ecx
test eax, eax
je 0x463d11
push 0x10
push 0x5e9c8c
push str.Primary_Surface
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
mov dword [ebp - 0x110], 4
mov eax, dword [0x6ba8fc]
add eax, 0xc
push eax
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 8]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 8]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x30]
call ecx
test eax, eax
je 0x463d69
push 0x10
push 0x5e9cb0
push str.Back_Buffer
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
cmp dword [0x600f80], 8
je 0x463ea9
mov eax, dword [0x6ba8fc]
cmp dword [eax + 0xc], 0
jne 0x463d88
mov al, 1
jmp 0x464baa
xor ecx, ecx
mov edx, dword [0x6ba8fc]
add edx, 0x5c
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [0x6ba8fc]
mov dword [eax + 0x5c], 0x20
mov ecx, dword [0x6ba8fc]
add ecx, 0x5c
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xc]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xc]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x54]
call ecx
test eax, eax
je 0x463de5
mov al, 1
jmp 0x464baa
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x6c]
mov dword [0x6bbc4c], eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x70]
mov dword [0x6b9ac8], edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x74]
mov dword [0x6ba8f4], ecx
mov edx, dword [0x6bbc4c]
push edx
call fcn.00471e90
add esp, 4
mov ecx, 8
sub ecx, eax
mov dword [0x6b9acc], ecx
mov edx, dword [0x6b9ac8]
push edx
call fcn.00471e90
add esp, 4
mov ecx, 8
sub ecx, eax
mov dword [0x6bc068], ecx
mov edx, dword [0x6ba8f4]
push edx
call fcn.00471e90
add esp, 4
mov ecx, 8
sub ecx, eax
mov dword [0x6bc058], ecx
mov edx, dword [0x6ba8f4]
push edx
call fcn.00471e90
add esp, 4
mov esi, eax
mov eax, dword [0x6b9ac8]
push eax
call fcn.00471e90
add esp, 4
add esi, eax
mov dword [0x6ba6ec], esi
mov ecx, dword [0x6ba8f4]
push ecx
call fcn.00471e90
add esp, 4
mov dword [0x6ba2e0], eax
mov dword [0x6bbc54], 0
cmp dword [0x600f80], 0x10
jne 0x463fc5
push 0x600
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
push eax
call dword [sym.imp.kernel32.dll_GlobalLock]
mov edx, dword [0x6ba8fc]
mov dword [edx + 0xc0], eax
mov eax, dword [0x6ba8fc]
cmp dword [eax + 0xc0], 0
jne 0x463f04
push 0x10
push 0x5e9cd0
push str.GlobalAllocPtr_Error___PALDATA__
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov al, 1
jmp 0x464baa
mov dword [ebp - 0x21c], 0
jmp 0x463f1f
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x21c], 0x100
jge 0x463fc3
mov eax, dword [ebp - 0x21c]
mov ecx, dword [0x6b9acc]
sar eax, cl
mov ecx, dword [0x6ba6ec]
shl eax, cl
mov ecx, dword [ebp - 0x21c]
imul ecx, ecx, 6
mov edx, dword [0x6ba8fc]
mov edx, dword [edx + 0xc0]
mov word [edx + ecx + 4], ax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [0x6bc068]
sar eax, cl
mov ecx, dword [0x6ba2e0]
shl eax, cl
mov ecx, dword [ebp - 0x21c]
imul ecx, ecx, 6
mov edx, dword [0x6ba8fc]
mov edx, dword [edx + 0xc0]
mov word [edx + ecx + 2], ax
mov eax, dword [ebp - 0x21c]
mov ecx, dword [0x6bc058]
sar eax, cl
mov ecx, dword [0x6bbc54]
shl eax, cl
mov ecx, dword [ebp - 0x21c]
imul ecx, ecx, 6
mov edx, dword [0x6ba8fc]
mov edx, dword [edx + 0xc0]
mov word [ecx + edx], ax
jmp 0x463f10
jmp 0x463fd4
mov eax, dword [0x6ba8fc]
mov dword [eax + 0xc0], 0
mov dword [0x6bc06c], 1
movsx ecx, byte [0x6ba901]
cmp ecx, 1
jg 0x46402e
mov dl, byte [0x6ba901]
mov byte [0x6ba900], dl
movsx eax, byte [0x6ba901]
cmp eax, 1
jge 0x46402e
push 0x10
push 0x5e9cfc
push 0x5e9d04
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x6ba900], 1
mov dl, byte [0x6ba900]
mov byte [0x6ba901], dl
mov eax, dword [0x9cef68]
and eax, 1
je 0x46404b
mov byte [0x6ba900], 1
mov cl, byte [0x6ba900]
mov byte [0x6ba901], cl
mov byte [ebp - 0x21d], 0
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x60]
and eax, 0xe0001
je 0x464069
mov byte [ebp - 0x21d], 1
mov ecx, dword [0x6ba8fc]
cmp dword [ecx + 0x64], 0
je 0x46407c
mov byte [ebp - 0x21d], 1
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x68]
cmp eax, dword [0x600f80]
je 0x464094
mov byte [ebp - 0x21d], 1
movsx ecx, byte [ebp - 0x21d]
test ecx, ecx
je 0x4640c9
push 0x10
push 0x5e9d40
push 0x5e9d48
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x6ba900], 1
mov al, byte [0x6ba900]
mov byte [0x6ba901], al
movsx ecx, byte [0x6ba901]
cmp ecx, 1
jg 0x4640dc
xor al, al
jmp 0x464baa
mov edx, dword [0x6ba8fc]
add edx, 0x9c
push edx
push 0x5fa108
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 4]
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 4]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx]
call edx
test eax, eax
je 0x46412c
push 0x10
push 0x5e9d84
push str.Direct3D_Object
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x464a27
mov dword [ebp - 4], 0
wait
fnstcw word [ebp - 4]
movsx ecx, byte [0x6ba901]
cmp ecx, 4
jl 0x46418e
mov edx, dword [0x6ba8fc]
add edx, 0xa0
push edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xc]
push ecx
push 0x5fa0d8
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x9c]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x9c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x10]
call ecx
test eax, eax
jne 0x46418e
mov byte [0x6ba900], 4
jmp 0x46423e
movsx edx, byte [0x6ba901]
cmp edx, 3
jl 0x4641e0
mov eax, dword [0x6ba8fc]
add eax, 0xa0
push eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xc]
push edx
push 0x5fa0e8
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x9c]
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x9c]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x10]
call edx
test eax, eax
jne 0x4641e0
mov byte [0x6ba900], 3
jmp 0x46423e
movsx eax, byte [0x6ba901]
cmp eax, 2
jl 0x464234
mov ecx, dword [0x6ba8fc]
add ecx, 0xa0
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xc]
push eax
push 0x5fa0f8
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x9c]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0x9c]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x464234
mov byte [0x6ba900], 2
jmp 0x46423e
jmp 0x464a27
fldcw word [ebp - 4]
lea ecx, [ebp - 0x100]
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xc]
call ecx
test eax, eax
je 0x464276
jmp 0x464a27
mov edx, dword [0x6ba8fc]
mov dword [edx + 0xbc], 0
mov eax, dword [ebp - 0x100]
and eax, 0x400
je 0x4642d6
push 1
push 0x29
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xa0]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x50]
call eax
test eax, eax
je 0x4642c6
jmp 0x464a27
mov ecx, dword [0x6ba8fc]
mov dword [ecx + 0xbc], 1
push 0
push 0x88
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x46430b
jmp 0x464a27
push 0
push 0x89
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x464340
jmp 0x464a27
push 0
push 0x10
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x464372
jmp 0x464a27
push 0
push 7
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x4643a4
jmp 0x464a27
push 0
push 4
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x4643d6
jmp 0x464a27
push 0
push 0xe
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x464408
jmp 0x464a27
push 1
push 0x1b
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x46443a
jmp 0x464a27
push 1
push 0x16
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x50]
call ecx
test eax, eax
je 0x46446c
jmp 0x464a27
push 4
push 4
push 0
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x94]
call ecx
test eax, eax
je 0x4644a3
jmp 0x464a27
push 2
push 5
push 0
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x94]
call ecx
test eax, eax
je 0x4644da
jmp 0x464a27
push 0
push 6
push 0
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x94]
call ecx
test eax, eax
je 0x464511
jmp 0x464a27
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x94]
mov dword [ebp - 0x120], eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x98]
mov dword [ebp - 0x11c], edx
fldz
fstp dword [ebp - 0x118]
fld1
fstp dword [ebp - 0x114]
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xa0]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x34]
call eax
test eax, eax
je 0x46458d
jmp 0x464a27
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xc]
call ecx
test eax, eax
jge 0x4645c2
jmp 0x464a27
mov edx, dword [0x6ba8fc]
add edx, 0xa4
mov eax, dword [ebp - 0x154]
mov dword [edx], eax
mov ecx, dword [ebp - 0x150]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x14c]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x148]
mov dword [edx + 0xc], ecx
mov edx, dword [0x6ba8fc]
mov eax, dword [ebp - 0x1bc]
mov dword [edx + 0xb4], eax
mov ecx, dword [0x124bc8c]
add ecx, 2
mov edx, dword [0x6ba8fc]
mov word [edx + 0xb8], cx
mov eax, dword [0x1267cb4]
add eax, 2
mov ecx, dword [0x6ba8fc]
mov word [ecx + 0xba], ax
mov edx, dword [0x6ba8fc]
movsx eax, word [edx + 0xb8]
mov dword [ebp - 0x224], eax
mov ecx, dword [0x6ba8fc]
movsx edx, word [ecx + 0xba]
mov dword [ebp - 0x228], edx
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xb4]
and ecx, 2
je 0x4646f6
mov edx, 1
mov eax, dword [0x6ba8fc]
mov word [eax + 0xb8], dx
jmp 0x464697
mov ecx, dword [0x6ba8fc]
mov dx, word [ecx + 0xb8]
shl dx, 1
mov eax, dword [0x6ba8fc]
mov word [eax + 0xb8], dx
mov ecx, dword [0x6ba8fc]
movsx edx, word [ecx + 0xb8]
cmp dword [ebp - 0x224], edx
jle 0x4646ae
jmp 0x46467b
mov eax, 1
mov ecx, dword [0x6ba8fc]
mov word [ecx + 0xba], ax
jmp 0x4646df
mov edx, dword [0x6ba8fc]
mov ax, word [edx + 0xba]
shl ax, 1
mov ecx, dword [0x6ba8fc]
mov word [ecx + 0xba], ax
mov edx, dword [0x6ba8fc]
movsx eax, word [edx + 0xba]
cmp dword [ebp - 0x228], eax
jle 0x4646f6
jmp 0x4646c2
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xb4]
and edx, 0x20
je 0x46475a
mov eax, dword [0x6ba8fc]
movsx ecx, word [eax + 0xb8]
mov edx, dword [0x6ba8fc]
movsx eax, word [edx + 0xba]
cmp ecx, eax
jle 0x464740
mov ecx, dword [0x6ba8fc]
mov edx, dword [0x6ba8fc]
mov ax, word [edx + 0xb8]
mov word [ecx + 0xba], ax
jmp 0x46475a
mov ecx, dword [0x6ba8fc]
mov edx, dword [0x6ba8fc]
mov ax, word [edx + 0xba]
mov word [ecx + 0xb8], ax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x22c], 0
push 0x800
push 0
push 0x100
push 0x100
call fcn.004650d0
add esp, 0x10
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x4648e5
mov dword [ebp - 0x230], 0
jmp 0x4647b5
mov ecx, dword [ebp - 0x230]
add ecx, 1
mov dword [ebp - 0x230], ecx
cmp dword [ebp - 0x230], 8
jge 0x4648a9
mov edx, dword [ebp - 0x234]
push edx
push 0
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xa0]
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0x8c]
call edx
test eax, eax
je 0x464819
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x234], 0
jmp 0x464a25
lea ecx, [ebp - 0x22c]
push ecx
push 0
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0xa0]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x88]
call ecx
test eax, eax
je 0x464871
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x234], 0
jmp 0x464a23
cmp dword [ebp - 0x22c], 0
je 0x464890
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x4648a9
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x22c]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x4647a6
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x234], 0
cmp dword [ebp - 0x230], 8
jl 0x4648da
jmp 0x464a21
mov eax, dword [ebp - 0x230]
mov dword [0x6ba6e8], eax
movsx ecx, byte [0x6ba900]
movsx edx, byte [0x6ba901]
cmp ecx, edx
je 0x464a18
movsx eax, byte [0x6ba900]
cmp eax, 3
jne 0x464920
push 0x10
push 0x5e9da8
push 0x5e9db0
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
movsx edx, byte [0x6ba900]
cmp edx, 2
jne 0x464944
push 0x10
push 0x5e9dec
push 0x5e9df4
mov eax, dword [0x9cef70]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x5e9e30
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0xffffffff
je 0x464a0c
movsx ecx, byte [0x6ba900]
push ecx
push 0x5e9e40
lea edx, [ebp - 0x248]
push edx
call fcn.005cc4f5
add esp, 0xc
lea eax, [ebp - 0x248]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
add ecx, 1
mov dword [ebp - 0x264], ecx
mov edx, dword [ebp - 0x260]
mov al, byte [edx]
mov byte [ebp - 0x265], al
add dword [ebp - 0x260], 1
cmp byte [ebp - 0x265], 0
jne 0x4649ab
mov ecx, dword [ebp - 0x260]
sub ecx, dword [ebp - 0x264]
mov dword [ebp - 0x26c], ecx
push 0
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x248]
push ecx
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov cl, byte [0x6ba900]
mov byte [0x6ba901], cl
xor al, al
jmp 0x464baa
jmp 0x464a27
jmp 0x464a27
jmp 0x464a27
mov edx, dword [0x6ba8fc]
cmp dword [edx + 0xa0], 0
je 0x464a64
mov eax, dword [0x6ba8fc]
mov ecx, dword [eax + 0xa0]
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0xa0]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [0x6ba8fc]
mov dword [eax + 0xa0], 0
mov ecx, dword [0x6ba8fc]
cmp dword [ecx + 0x9c], 0
je 0x464aa3
mov edx, dword [0x6ba8fc]
mov eax, dword [edx + 0x9c]
mov ecx, dword [0x6ba8fc]
mov edx, dword [ecx + 0x9c]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 8]
call ecx
mov edx, dword [0x6ba8fc]
mov dword [edx + 0x9c], 0
mov eax, dword [0x6ba8fc]
mov dword [eax + 0xbc], 0
mov cx, word [0x5e9e44]
mov word [ebp - 0x25c], cx
xor edx, edx
mov dword [ebp - 0x25a], edx
mov dword [ebp - 0x256], edx
mov byte [ebp - 0x252], dl
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.dataupdate.dat
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0xffffffff
je 0x464b7c
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
add ecx, 1
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x270]
mov al, byte [edx]
mov byte [ebp - 0x275], al
add dword [ebp - 0x270], 1
cmp byte [ebp - 0x275], 0
jne 0x464b1b
mov ecx, dword [ebp - 0x270]
sub ecx, dword [ebp - 0x274]
mov dword [ebp - 0x27c], ecx
push 0
lea edx, [ebp - 0x24c]
push edx
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 0x250]
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [ebp - 0x250]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x10
push 0x5e9e58
push 0x5e9e60
mov ecx, dword [0x9cef70]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov byte [0x6ba900], 1
mov dl, byte [0x6ba900]
mov byte [0x6ba901], dl
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005cbcfe
mov esp, ebp
pop ebp
ret