Function at 0x424c90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov word [esp + 0x10], 0x80
mov word [esp + 0x12], 0xa0
mov word [esp + 0x14], 0xc0
mov word [esp + 0x16], 0xe0
call fcn.00401950
mov dword [0x64cd6c], eax
mov eax, dword [0x6349a8]
push 0x1c
push eax
call fcn.00401770
mov ecx, dword [0x6349a8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push 0
push 0x3ff00000
push 0
push 0
push 0x2328
push 0
push 0x1c
push ecx
mov ecx, dword [0x64cd6c]
push edx
push eax
push ecx
call fcn.00401b10
call fcn.00401950
mov edx, dword [0x6349a8]
push 0x1e
push edx
mov dword [0x64cd70], eax
call fcn.00401770
mov ecx, dword [0x6349a8]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push 0
push 0x3ff00000
push 0
push 0
push 0x2328
push 0
push 0x1e
push ecx
mov ecx, dword [0x64cd70]
push edx
push eax
push ecx
call fcn.00401b10
mov edx, dword [0x66c0a8]
mov eax, dword [0x66c0d0]
add esp, 0x68
push 0
push 0x424f80
push edx
push 0x82
push eax
call dword [0x48531c]
mov esi, dword [0x485328]
mov ebx, 1
push ebx
push 0x19
push 0xe3
push 0x231
push 0x12
push eax
mov dword [0x64cd78], eax
mov byte [0x63f7a8], 3
call esi
mov edx, dword [0x64cd78]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x485314]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
sub eax, edx
push ebx
mov edi, dword [esp + 0x20]
mov edx, dword [0x64cd78]
sub ecx, edi
push ecx
push eax
push 0
push 0
push 0x3e8
push edx
call dword [0x485330]
push eax
call esi
mov eax, dword [0x64cd78]
push 5
push eax
call dword [0x485344]
call fcn.00421190
call fcn.00422660
lea ecx, [esp + 0x10]
mov dword [0x64cdac], eax
xor esi, esi
mov dword [esp + 0xc], ecx
push 0x10
call fcn.004225a0
mov dword [esi*4 + 0x64cddc], eax
mov byte [eax], 0
mov edx, dword [esi*4 + 0x64cddc]
mov word [edx + 2], 0x12e
mov eax, dword [0x66c0a0]
mov ecx, dword [esi*4 + 0x64cddc]
add eax, 2
mov word [ecx + 4], ax
mov edx, dword [esi*4 + 0x64cddc]
mov dword [edx + 0xc], 0
mov eax, dword [esi*4 + 0x64cddc]
movsx ecx, word [eax + 4]
movsx edx, word [eax + 2]
imul ecx, edx
push ecx
call fcn.004225a0
mov ecx, dword [esi*4 + 0x64cddc]
mov dword [ecx + 8], eax
mov edx, dword [esi*4 + 0x64cddc]
movsx ecx, word [edx + 4]
movsx eax, word [edx + 2]
imul ecx, eax
mov edi, dword [edx + 8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi*4 + 0x64cddc]
mov word [eax + 2], bx
mov ecx, dword [esi*4 + 0x64cddc]
mov word [ecx + 4], bx
call fcn.00407b00
mov edx, dword [0x66c0a0]
push 0
add edx, 4
push 0x3ff00000
imul edx, esi
push 0
push 0
lea ecx, [edx + 0x15e]
mov edx, dword [esi*4 + 0x64cddc]
push 0x24b8
push ebx
push edx
push ecx
push 0xa
push eax
mov dword [esi*4 + 0x64cdc8], eax
mov dword [esi*4 + 0x64cd80], 0xa
mov dword [esi*4 + 0x64cd94], ecx
call fcn.00408a50
add esp, 0x30
cmp esi, 4
jge 0x424f07
mov eax, dword [esp + 0xc]
mov edx, dword [esi*4 + 0x64cdc8]
mov cx, word [eax]
push ecx
push edx
call fcn.004082a0
add esp, 8
mov ecx, dword [esp + 0xc]
inc esi
add ecx, 2
cmp esi, 5
mov dword [esp + 0xc], ecx
jl 0x424df9
mov edi, 0x637434
or ecx, 0xffffffff
xor eax, eax
mov dword [0x64cdf4], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [0x64cdf0], bl
mov eax, ecx
mov esi, edi
mov edi, 0x64cd40
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 5
push 0x637434
push 0x637434
push 0
call fcn.00425310
add esp, 0xc
dec esi
jne 0x424f56
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret