Function at 0x401000
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x4ec
cmp dword [ebp + 0x7c], 0
jne 0x401427
mov eax, dword [ebp + 0x70]
xor eax, dword [ebp + 0x70]
mov dword [ebp + 0x70], eax
jmp 0x401029
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, 0x701f1b31
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 [ebp + 0x70]
cmp edx, dword [ebp + 0x4c]
jge 0x4010c9
mov dword [ebp + 0xc], 1
jmp 0x4010d0
mov dword [ebp + 0xc], 0
mov al, byte [ebp + 0xc]
mov byte [ebp + 0x57], al
mov ecx, dword [ebp + 0x4c]
xor ecx, dword [ebp + 0x4c]
mov dword [ebp + 0x4c], ecx
movzx edx, byte [ebp + 0x57]
test edx, edx
je 0x40124e
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x70]
mov dl, byte [ecx + 0x412060]
mov byte [ebp + eax - 0x16], dl
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f189a
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 + 0x44], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f182f
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 + 0x48], ecx
mov eax, dword [ebp + 0x44]
add eax, dword [ebp + 0x70]
xor edx, edx
div dword [ebp + 0x48]
mov eax, dword [ebp + 0x70]
movsx ecx, byte [ebp + eax - 0x16]
xor ecx, edx
mov edx, dword [ebp + 0x70]
mov byte [ebp + edx - 0x16], cl
mov eax, dword [ebp + 0x48]
xor eax, dword [ebp + 0x48]
mov dword [ebp + 0x48], eax
mov ecx, dword [ebp + 0x44]
xor ecx, dword [ebp + 0x44]
mov dword [ebp + 0x44], ecx
jmp 0x401020
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b2e
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, dword [ebp + 0x70]
xor edx, dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
sub eax, dword [ebp + 0x40]
mov byte [ebp + eax - 0x16], dl
mov ecx, dword [ebp + 0x40]
xor ecx, dword [ebp + 0x40]
mov dword [ebp + 0x40], ecx
mov edx, dword [ebp + 0x70]
xor edx, dword [ebp + 0x70]
mov dword [ebp + 0x70], edx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x16]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x64]
xor ecx, dword [ebp + 0x64]
mov dword [ebp + 0x64], ecx
jmp 0x401332
mov edx, dword [ebp + 0x64]
add edx, 1
mov dword [ebp + 0x64], edx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b31
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 [ebp + 0x64]
cmp eax, dword [ebp + 0x3c]
jge 0x4013d3
mov dword [ebp + 8], 1
jmp 0x4013da
mov dword [ebp + 8], 0
mov cl, byte [ebp + 8]
mov byte [ebp + 0x5b], cl
mov edx, dword [ebp + 0x3c]
xor edx, dword [ebp + 0x3c]
mov dword [ebp + 0x3c], edx
movzx eax, byte [ebp + 0x5b]
test eax, eax
je 0x40140f
mov ecx, dword [ebp + 0x64]
movsx edx, byte [ebp + ecx - 0x16]
mov eax, dword [ebp + 0x64]
movsx ecx, byte [ebp + eax - 0x16]
xor ecx, edx
mov edx, dword [ebp + 0x64]
mov byte [ebp + edx - 0x16], cl
jmp 0x401329
mov eax, dword [ebp + 0x64]
xor eax, dword [ebp + 0x64]
mov dword [ebp + 0x64], eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401cb5
mov edx, dword [ebp + 0x6c]
xor edx, dword [ebp + 0x6c]
mov dword [ebp + 0x6c], edx
jmp 0x40143b
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, 0x701f1b31
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 + 0x38], edx
mov ecx, dword [ebp + 0x6c]
cmp ecx, dword [ebp + 0x38]
jge 0x4014dc
mov dword [ebp + 4], 1
jmp 0x4014e3
mov dword [ebp + 4], 0
mov dl, byte [ebp + 4]
mov byte [ebp + 0x5a], dl
mov eax, dword [ebp + 0x38]
xor eax, dword [ebp + 0x38]
mov dword [ebp + 0x38], eax
movzx ecx, byte [ebp + 0x5a]
test ecx, ecx
je 0x40165f
mov edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
mov cl, byte [eax + 0x412060]
mov byte [ebp + edx - 0x24], cl
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f189a
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 + 0x30], eax
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f182f
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 + 0x34], eax
mov eax, dword [ebp + 0x30]
add eax, dword [ebp + 0x6c]
xor edx, edx
div dword [ebp + 0x34]
mov eax, dword [ebp + 0x6c]
movsx ecx, byte [ebp + eax - 0x24]
xor ecx, edx
mov edx, dword [ebp + 0x6c]
mov byte [ebp + edx - 0x24], cl
mov eax, dword [ebp + 0x34]
xor eax, dword [ebp + 0x34]
mov dword [ebp + 0x34], eax
mov ecx, dword [ebp + 0x30]
xor ecx, dword [ebp + 0x30]
mov dword [ebp + 0x30], ecx
jmp 0x401432
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b2e
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 + 0x2c], eax
mov edx, dword [ebp + 0x6c]
xor edx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
sub eax, dword [ebp + 0x2c]
mov byte [ebp + eax - 0x24], dl
mov ecx, dword [ebp + 0x2c]
xor ecx, dword [ebp + 0x2c]
mov dword [ebp + 0x2c], ecx
mov edx, dword [ebp + 0x6c]
xor edx, dword [ebp + 0x6c]
mov dword [ebp + 0x6c], edx
push 0
push 0x80
push 4
push 0
push 3
push 4
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x60]
xor ecx, dword [ebp + 0x60]
mov dword [ebp + 0x60], ecx
jmp 0x401740
mov edx, dword [ebp + 0x60]
add edx, 1
mov dword [ebp + 0x60], edx
mov eax, 4
shl eax, 0
mov ecx, dword [eax + 0x4122cc]
not ecx
xor ecx, 0x701f1b31
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 + 0x28], ecx
mov eax, dword [ebp + 0x60]
cmp eax, dword [ebp + 0x28]
jge 0x4017e1
mov dword [ebp], 1
jmp 0x4017e8
mov dword [ebp], 0
mov cl, byte [ebp]
mov byte [ebp + 0x59], cl
mov edx, dword [ebp + 0x28]
xor edx, dword [ebp + 0x28]
mov dword [ebp + 0x28], edx
movzx eax, byte [ebp + 0x59]
test eax, eax
je 0x40181d
mov ecx, dword [ebp + 0x60]
movsx edx, byte [ebp + ecx - 0x24]
mov eax, dword [ebp + 0x60]
movsx ecx, byte [ebp + eax - 0x24]
xor ecx, edx
mov edx, dword [ebp + 0x60]
mov byte [ebp + edx - 0x24], cl
jmp 0x401737
mov eax, dword [ebp + 0x60]
xor eax, dword [ebp + 0x60]
mov dword [ebp + 0x60], eax
cmp dword [ebp + 0x10], 0
je 0x401cb5
cmp dword [ebp + 0x10], 0xffffffff
je 0x401cb5
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [ebp + 0x68]
xor edx, dword [ebp + 0x68]
mov dword [ebp + 0x68], edx
jmp 0x401858
mov eax, dword [ebp + 0x68]
add eax, 1
mov dword [ebp + 0x68], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ecx + 0x4122cc]
not edx
xor edx, 0x701f1b1d
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 + 0x24], edx
mov ecx, dword [ebp + 0x68]
cmp ecx, dword [ebp + 0x24]
jge 0x4018f9
mov dword [ebp - 4], 1
jmp 0x401900
mov dword [ebp - 4], 0
mov dl, byte [ebp - 4]
mov byte [ebp + 0x58], dl
mov eax, dword [ebp + 0x24]
xor eax, dword [ebp + 0x24]
mov dword [ebp + 0x24], eax
movzx ecx, byte [ebp + 0x58]
test ecx, ecx
je 0x401a7c
mov edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x412070]
mov byte [ebp + edx - 0x76], cl
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1825
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 + 0x1c], eax
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f182f
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 + 0x20], eax
mov eax, dword [ebp + 0x1c]
add eax, dword [ebp + 0x68]
xor edx, edx
div dword [ebp + 0x20]
mov eax, dword [ebp + 0x68]
movsx ecx, byte [ebp + eax - 0x76]
xor ecx, edx
mov edx, dword [ebp + 0x68]
mov byte [ebp + edx - 0x76], cl
mov eax, dword [ebp + 0x20]
xor eax, dword [ebp + 0x20]
mov dword [ebp + 0x20], eax
mov ecx, dword [ebp + 0x1c]
xor ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], ecx
jmp 0x40184f
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b2e
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 + 0x18], eax
mov edx, dword [ebp + 0x68]
xor edx, dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
sub eax, dword [ebp + 0x18]
mov byte [ebp + eax - 0x76], dl
mov ecx, dword [ebp + 0x18]
xor ecx, dword [ebp + 0x18]
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp + 0x68]
xor edx, dword [ebp + 0x68]
mov dword [ebp + 0x68], edx
mov eax, dword [ebp + 0x7c]
push eax
movzx ecx, word [ebp - 0x34]
push ecx
movzx edx, word [ebp - 0x36]
push edx
movzx eax, word [ebp - 0x38]
push eax
movzx ecx, word [ebp - 0x3a]
push ecx
movzx edx, word [ebp - 0x3e]
push edx
movzx eax, word [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x76]
push ecx
lea edx, [ebp - 0x478]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x28
mov eax, dword [ebp + 0x5c]
xor eax, dword [ebp + 0x5c]
mov dword [ebp + 0x5c], eax
jmp 0x401b7e
mov ecx, dword [ebp + 0x5c]
add ecx, 1
mov dword [ebp + 0x5c], ecx
mov edx, 4
shl edx, 0
mov eax, dword [edx + 0x4122cc]
not eax
xor eax, 0x701f1b1d
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 + 0x14], eax
mov edx, dword [ebp + 0x5c]
cmp edx, dword [ebp + 0x14]
jge 0x401c1e
mov dword [ebp - 8], 1
jmp 0x401c25
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov byte [ebp + 0x55], al
mov ecx, dword [ebp + 0x14]
xor ecx, dword [ebp + 0x14]
mov dword [ebp + 0x14], ecx
movzx edx, byte [ebp + 0x55]
test edx, edx
je 0x401c5a
mov eax, dword [ebp + 0x5c]
movsx ecx, byte [ebp + eax - 0x76]
mov edx, dword [ebp + 0x5c]
movsx eax, byte [ebp + edx - 0x76]
xor eax, ecx
mov ecx, dword [ebp + 0x5c]
mov byte [ebp + ecx - 0x76], al
jmp 0x401b75
mov edx, dword [ebp + 0x5c]
xor edx, dword [ebp + 0x5c]
mov dword [ebp + 0x5c], edx
lea eax, [ebp - 0x478]
mov dword [ebp + 0x50], eax
mov ecx, dword [ebp + 0x50]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0x50]
mov al, byte [edx]
mov byte [ebp + 0x56], al
add dword [ebp + 0x50], 1
cmp byte [ebp + 0x56], 0
jne 0x401c75
mov ecx, dword [ebp + 0x50]
sub ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
push 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x478]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebp, 0x74
mov esp, ebp
pop ebp
ret