Function at 0x406860
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xdc
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
imul esi, eax
mov dword [ebp - 0x38], esi
mov eax, dword [0x413224]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b2b
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp + 0x58], eax
push 0x413118
call fcn.00401cc0
add esp, 4
mov edx, dword [ebp + 0x58]
mov ecx, dword [0x413224]
mov dword [ecx + edx], eax
mov edx, dword [ebp + 0x58]
xor edx, dword [ebp + 0x58]
mov dword [ebp + 0x58], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp + 0x68], 0x413228
mov eax, dword [ebp + 0x68]
movsx ecx, byte [eax]
cmp ecx, 0x2d
jne 0x40696b
mov dword [ebp - 0x2c], 0xffffffff
mov edx, dword [ebp + 0x68]
add edx, 1
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x68]
movsx ecx, byte [eax]
cmp ecx, 0x30
jl 0x40699d
mov edx, dword [ebp + 0x68]
movsx eax, byte [edx]
cmp eax, 0x39
jg 0x40699d
imul ecx, dword [ebp - 0x18], 0xa
mov edx, dword [ebp + 0x68]
movsx eax, byte [edx]
lea ecx, [ecx + eax - 0x30]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp + 0x68]
add edx, 1
mov dword [ebp + 0x68], edx
jmp 0x40696b
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b37
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0x54], ecx
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x18]
mov edx, dword [0x413224]
mov dword [edx + eax], ecx
mov eax, dword [ebp + 0x54]
xor eax, dword [ebp + 0x54]
mov dword [ebp + 0x54], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b33
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x50], edx
mov ecx, dword [ebp + 0x50]
mov edx, dword [0x413224]
mov eax, dword [0x41300c]
mov dword [edx + ecx], eax
mov ecx, dword [ebp + 0x50]
xor ecx, dword [ebp + 0x50]
mov dword [ebp + 0x50], ecx
cmp dword [0x41300c], 0
je 0x406eb8
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b3f
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp + 0x4c], eax
mov edx, dword [0x413224]
add edx, dword [ebp + 0x4c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x4c]
xor eax, dword [ebp + 0x4c]
mov dword [ebp + 0x4c], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b2b
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x48], edx
mov ecx, dword [0x41300c]
imul ecx, dword [ebp + 0x48]
mov dword [ebp - 0x48], ecx
mov edx, dword [0x413008]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp + 0x60], 0
jmp 0x406c68
mov edx, dword [ebp + 0x60]
add edx, 1
mov dword [ebp + 0x60], edx
mov eax, dword [ebp + 0x60]
cmp eax, dword [ebp - 0x48]
jge 0x406c82
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp + 0x60]
mov edx, dword [ebp - 0x60]
add edx, dword [ebp + 0x60]
mov al, byte [edx]
mov byte [ecx], al
jmp 0x406c5f
mov ecx, dword [ebp + 0x48]
xor ecx, dword [ebp + 0x48]
mov dword [ebp + 0x48], ecx
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b3f
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp + 0x40], eax
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b2b
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp + 0x44], eax
mov edx, dword [0x413114]
add edx, dword [ebp + 0x40]
mov eax, dword [0x41300c]
imul eax, dword [ebp + 0x44]
add edx, eax
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x44]
xor ecx, dword [ebp + 0x44]
mov dword [ebp + 0x44], ecx
mov edx, dword [ebp + 0x40]
xor edx, dword [ebp + 0x40]
mov dword [ebp + 0x40], edx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b2b
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0x3c], ecx
mov eax, dword [0x41300c]
imul eax, dword [ebp + 0x3c]
mov dword [ebp - 0x54], eax
mov ecx, dword [0x413220]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
mov dword [ebp + 0x5c], 0
jmp 0x406e95
mov ecx, dword [ebp + 0x5c]
add ecx, 1
mov dword [ebp + 0x5c], ecx
mov edx, dword [ebp + 0x5c]
cmp edx, dword [ebp - 0x54]
jge 0x406eaf
mov eax, dword [ebp - 0x58]
add eax, dword [ebp + 0x5c]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp + 0x5c]
mov dl, byte [ecx]
mov byte [eax], dl
jmp 0x406e8c
mov eax, dword [ebp + 0x3c]
xor eax, dword [ebp + 0x3c]
mov dword [ebp + 0x3c], eax
mov ecx, dword [ebp + 0x74]
xor ecx, dword [ebp + 0x74]
mov dword [ebp + 0x74], ecx
jmp 0x406ecc
mov edx, dword [ebp + 0x74]
add edx, 1
mov dword [ebp + 0x74], edx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b36
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0x38], ecx
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x38]
jge 0x406f6d
mov dword [ebp - 0x30], 1
jmp 0x406f74
mov dword [ebp - 0x30], 0
mov cl, byte [ebp - 0x30]
mov byte [ebp + 0x65], cl
mov edx, dword [ebp + 0x38]
xor edx, dword [ebp + 0x38]
mov dword [ebp + 0x38], edx
movzx eax, byte [ebp + 0x65]
test eax, eax
je 0x4070f2
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x74]
mov al, byte [edx + 0x4120f8]
mov byte [ebp + ecx - 0x25], al
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b52
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x30], edx
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f182f
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x34], edx
mov eax, dword [ebp + 0x30]
add eax, dword [ebp + 0x74]
xor edx, edx
div dword [ebp + 0x34]
mov ecx, dword [ebp + 0x74]
movsx eax, byte [ebp + ecx - 0x25]
xor eax, edx
mov ecx, dword [ebp + 0x74]
mov byte [ebp + ecx - 0x25], al
mov edx, dword [ebp + 0x34]
xor edx, dword [ebp + 0x34]
mov dword [ebp + 0x34], edx
mov eax, dword [ebp + 0x30]
xor eax, dword [ebp + 0x30]
mov dword [ebp + 0x30], eax
jmp 0x406ec3
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b2e
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x2c], edx
mov ecx, dword [ebp + 0x74]
xor ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x74]
sub edx, dword [ebp + 0x2c]
mov byte [ebp + edx - 0x25], cl
mov eax, dword [ebp + 0x2c]
xor eax, dword [ebp + 0x2c]
mov dword [ebp + 0x2c], eax
mov ecx, dword [ebp + 0x74]
xor ecx, dword [ebp + 0x74]
mov dword [ebp + 0x74], ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x25]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x70]
xor eax, dword [ebp + 0x70]
mov dword [ebp + 0x70], eax
jmp 0x4071d7
mov ecx, dword [ebp + 0x70]
add ecx, 1
mov dword [ebp + 0x70], ecx
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b36
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp + 0x28], eax
mov edx, dword [ebp + 0x70]
cmp edx, dword [ebp + 0x28]
jge 0x407277
mov dword [ebp - 0x34], 1
jmp 0x40727e
mov dword [ebp - 0x34], 0
mov al, byte [ebp - 0x34]
mov byte [ebp + 0x67], al
mov ecx, dword [ebp + 0x28]
xor ecx, dword [ebp + 0x28]
mov dword [ebp + 0x28], ecx
movzx edx, byte [ebp + 0x67]
test edx, edx
je 0x4072b3
mov eax, dword [ebp + 0x70]
movsx ecx, byte [ebp + eax - 0x25]
mov edx, dword [ebp + 0x70]
movsx eax, byte [ebp + edx - 0x25]
xor eax, ecx
mov ecx, dword [ebp + 0x70]
mov byte [ebp + ecx - 0x25], al
jmp 0x4071ce
mov edx, dword [ebp + 0x70]
xor edx, dword [ebp + 0x70]
mov dword [ebp + 0x70], edx
cmp dword [ebp + 4], 0
je 0x4077c0
cmp dword [ebp + 4], 0xffffffff
je 0x4077c0
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b3f
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0x1c], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b2b
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0x20], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b2b
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0x24], ecx
mov eax, dword [0x41300c]
imul eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
add ecx, eax
mov edx, dword [0x41300c]
imul edx, dword [ebp + 0x24]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x24]
xor eax, dword [ebp + 0x24]
mov dword [ebp + 0x24], eax
mov ecx, dword [ebp + 0x20]
xor ecx, dword [ebp + 0x20]
mov dword [ebp + 0x20], ecx
mov edx, dword [ebp + 0x1c]
xor edx, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], edx
mov eax, dword [0x413114]
mov dword [ebp + 0x10], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b2e
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x18], edx
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x6c], ecx
mov edx, dword [ebp + 0x18]
xor edx, dword [ebp + 0x18]
mov dword [ebp + 0x18], edx
jmp 0x40756a
mov eax, dword [ebp + 0x6c]
add eax, 1
mov dword [ebp + 0x6c], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b2b
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp + 0x14], edx
mov eax, dword [ebp - 0x3c]
xor edx, edx
div dword [ebp + 0x14]
cmp dword [ebp + 0x6c], eax
jae 0x407610
mov dword [ebp - 0x40], 1
jmp 0x407617
mov dword [ebp - 0x40], 0
mov cl, byte [ebp - 0x40]
mov byte [ebp + 0x66], cl
mov edx, dword [ebp + 0x14]
xor edx, dword [ebp + 0x14]
mov dword [ebp + 0x14], edx
movzx eax, byte [ebp + 0x66]
test eax, eax
je 0x40779c
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
xor eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x10]
mov dword [edx + ecx*4], eax
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x1f337439
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 8], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b20
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0x6c]
imul eax, dword [ebp + 8]
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x10]
xor edx, dword [ecx + eax*4]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + eax*4], edx
mov edx, dword [ebp + 0xc]
xor edx, dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
xor eax, dword [ebp + 8]
mov dword [ebp + 8], eax
jmp 0x407561
push 0
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [0x413114]
push eax
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701e9b2f
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp - 4], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b2f
mov edx, 4
shl edx, 2
mov eax, dword [edx + 0x4122cc]
not eax
shr eax, 1
sub ecx, eax
mov edx, 4
imul eax, edx, 3
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 2
mov eax, 4
shl eax, 2
mov eax, dword [eax + 0x4122cc]
shl eax, 3
and edx, eax
add ecx, edx
mov edx, 4
shl edx, 1
mov eax, dword [edx + 0x4122cc]
shl eax, 1
mov edx, 4
imul edx, edx, 3
mov edx, dword [edx + 0x4122cc]
not edx
shr edx, 2
imul eax, edx
sub ecx, eax
mov eax, 4
shl eax, 1
mov edx, dword [eax + 0x4122cc]
not edx
shr edx, 3
add ecx, edx
mov dword [ebp], ecx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp]
push ecx
mov edx, dword [0x413224]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp]
xor eax, dword [ebp]
mov dword [ebp], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701e9b2f
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp - 0xc], eax
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b2f
mov ecx, 4
shl ecx, 2
mov edx, dword [ecx + 0x4122cc]
not edx
shr edx, 1
sub eax, edx
mov ecx, 4
imul edx, ecx, 3
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 2
mov edx, 4
shl edx, 2
mov edx, dword [edx + 0x4122cc]
shl edx, 3
and ecx, edx
add eax, ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ecx + 0x4122cc]
shl edx, 1
mov ecx, 4
imul ecx, ecx, 3
mov ecx, dword [ecx + 0x4122cc]
not ecx
shr ecx, 2
imul edx, ecx
sub eax, edx
mov edx, 4
shl edx, 1
mov ecx, dword [edx + 0x4122cc]
not ecx
shr ecx, 3
add eax, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [0x413008]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701e9b2f
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp - 0x14], edx
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b2f
mov eax, 4
shl eax, 2
mov ecx, dword [eax + 0x4122cc]
not ecx
shr ecx, 1
sub edx, ecx
mov eax, 4
imul ecx, eax, 3
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 2
mov ecx, 4
shl ecx, 2
mov ecx, dword [ecx + 0x4122cc]
shl ecx, 3
and eax, ecx
add edx, eax
mov eax, 4
shl eax, 1
mov ecx, dword [eax + 0x4122cc]
shl ecx, 1
mov eax, 4
imul eax, eax, 3
mov eax, dword [eax + 0x4122cc]
not eax
shr eax, 2
imul ecx, eax
sub edx, ecx
mov ecx, 4
shl ecx, 1
mov eax, dword [ecx + 0x4122cc]
not eax
shr eax, 3
add edx, eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x413220]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
pop esi
add ebp, 0x78
mov esp, ebp
pop ebp
ret