Function at 0x1002bcd4
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x57c]
sub esp, 0x5f0
mov eax, dword [0x1009700c]
xor eax, ebp
mov dword [ebp + 0x578], eax
push esi
mov eax, dword [ebp + 0x590]
mov dword [0x1009d548], eax
mov eax, dword [ebp + 0x58c]
mov dword [0x1009d554], eax
mov eax, dword [ebp + 0x588]
mov dword [0x1009d54c], eax
push 0x400
push 0
lea eax, [ebp + 0x40]
push eax
call fcn.10009f50
add esp, 0xc
lea eax, [ebp + 0x40]
push eax
call fcn.1002ec1f
pop ecx
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x18], 0x65
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x18], 0x79
xor eax, eax
inc eax
imul eax, eax, 3
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jae 0x1002bd55
jmp 0x1002bd5a
call fcn.1000814a
mov eax, dword [ebp - 0x58]
mov byte [ebp + eax - 0x18], 0
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x18], 0x73
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp + 0xd], al
mov ecx, dword [ebp - 0x20]
cmp al, byte [ecx]
jne 0x1002bdb2
cmp byte [ebp + 0xd], 0
je 0x1002bdac
mov eax, dword [ebp - 0x1c]
mov al, byte [eax + 1]
mov byte [ebp + 0xc], al
mov ecx, dword [ebp - 0x20]
cmp al, byte [ecx + 1]
jne 0x1002bdb2
add dword [ebp - 0x1c], 2
add dword [ebp - 0x20], 2
cmp byte [ebp + 0xc], 0
jne 0x1002bd78
and dword [ebp - 0x50], 0
jmp 0x1002bdba
sbb eax, eax
or eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jne 0x1002bdcf
mov dword [ebp - 0x4c], 1
jmp 0x1002bdd3
and dword [ebp - 0x4c], 0
mov al, byte [ebp - 0x4c]
mov byte [ebp + 0xe], al
lea ecx, [ebp - 4]
call fcn.100024c1
push 0x400
lea ecx, [ebp - 4]
call fcn.10002bcd
push eax
call fcn.1002ec1f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.10002b2e
lea ecx, [ebp]
call fcn.100024c1
push 0x400
lea ecx, [ebp]
call fcn.10002bcd
push eax
call fcn.1002ec1f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp]
call fcn.10002b2e
lea ecx, [ebp - 0x10]
call fcn.100024c1
push 0x400
lea ecx, [ebp - 0x10]
call fcn.10002bcd
push eax
call fcn.1002ec1f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10002b2e
lea ecx, [ebp - 0xc]
call fcn.100024c1
push 0x400
lea ecx, [ebp - 0xc]
call fcn.10002bcd
push eax
call fcn.1002ec1f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0xc]
call fcn.10002b2e
lea ecx, [ebp - 8]
call fcn.100024c1
push 0x400
lea ecx, [ebp - 8]
call fcn.10002bcd
push eax
call fcn.1002ec1f
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.10002b2e
push 0x104
push 0
lea eax, [ebp + 0x440]
push eax
call fcn.10009f50
add esp, 0xc
push 0x104
lea eax, [ebp + 0x440]
push eax
push 0
call fcn.10030dcb
add esp, 0xc
lea eax, [ebp + 0x440]
push eax
call fcn.1002ce29
pop ecx
mov byte [ebp + 0xf], al
movzx eax, byte [ebp + 0xe]
test eax, eax
jne 0x1002bee9
movzx eax, byte [ebp + 0xf]
test eax, eax
je 0x1002bee9
and dword [ebp - 0x48], 0
jmp 0x1002bef0
mov dword [ebp - 0x48], 1
mov al, byte [ebp - 0x48]
mov byte [ebp + 0xb], al
lea ecx, [ebp - 4]
call fcn.100024db
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.1002c7b5
pop ecx
pop ecx
movzx eax, byte [ebp + 0xb]
test eax, eax
jne 0x1002bf22
lea ecx, [ebp + 0x28]
call fcn.10002c84
test eax, eax
jne 0x1002c010
lea ecx, [ebp - 0x2c]
call fcn.100024c1
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax + 0x558], 0x73
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax + 0x558], 0x25
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax + 0x558], 0x25
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax + 0x558], 0x25
xor eax, eax
inc eax
imul eax, eax, 6
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 7
jae 0x1002bf72
jmp 0x1002bf77
call fcn.1000814a
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax + 0x558], 0
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax + 0x558], 0x73
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax + 0x558], 0x73
push dword [ebp - 4]
push str.d9f713e675d04beeb484002b5d47fe24
push 0x10
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp]
call fcn.100025a7
push dword [eax]
lea eax, [ebp + 0x558]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100049f0
add esp, 0x14
lea ecx, [ebp - 0x60]
call fcn.100023c1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x74], esp
lea ecx, [ebp - 0x2c]
call fcn.100024db
push eax
mov ecx, esi
call fcn.10002d51
lea eax, [ebp + 0x10]
push eax
call fcn.1002f41e
add esp, 0x1c
push eax
lea ecx, [ebp + 0x28]
call fcn.10002cdf
lea ecx, [ebp + 0x10]
call fcn.10002cc6
lea ecx, [ebp - 0x2c]
call fcn.100023c1
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax + 0x568], 0x53
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax + 0x568], 0x77
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax + 0x568], 0x5c
xor eax, eax
inc eax
imul eax, eax, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xd
jae 0x1002c04b
jmp 0x1002c050
call fcn.1000814a
mov eax, dword [ebp - 0x30]
mov byte [ebp + eax + 0x568], 0
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax + 0x568], 0x65
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax + 0x568], 0x4f
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax + 0x568], 0x74
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax + 0x568], 0x53
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax + 0x568], 0x72
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax + 0x568], 0x6f
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax + 0x568], 0x53
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax + 0x568], 0x61
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax + 0x568], 0x66
lea eax, [ebp - 0x28]
push eax
call fcn.1002c4c7
pop ecx
lea ecx, [ebp + 0x28]
call fcn.10002c84
push eax
lea ecx, [ebp + 0x28]
call fcn.10002c93
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.100024db
push eax
lea eax, [ebp + 0x568]
push eax
push 0x80000002
call fcn.10030ef9
add esp, 0x18
lea ecx, [ebp + 4]
call fcn.100024c1
xor eax, eax
inc eax
imul eax, eax, 0x11
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x12
jae 0x1002c12c
jmp 0x1002c131
call fcn.1000814a
mov eax, dword [ebp - 0x34]
mov byte [ebp + eax + 0x544], 0
xor eax, eax
inc eax
imul eax, eax, 5
mov byte [ebp + eax + 0x544], 0x5f
xor eax, eax
inc eax
imul eax, eax, 6
mov byte [ebp + eax + 0x544], 0x25
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax + 0x544], 0x64
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax + 0x544], 0x64
xor eax, eax
inc eax
shl eax, 3
mov byte [ebp + eax + 0x544], 0x5f
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax + 0x544], 0x63
xor eax, eax
inc eax
imul eax, eax, 0xf
mov byte [ebp + eax + 0x544], 0x25
xor eax, eax
inc eax
imul eax, eax, 0xb
mov byte [ebp + eax + 0x544], 0x5f
xor eax, eax
inc eax
imul eax, eax, 0xe
mov byte [ebp + eax + 0x544], 0x5f
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax + 0x544], 0x69
xor eax, eax
inc eax
imul eax, eax, 0xc
mov byte [ebp + eax + 0x544], 0x25
xor eax, eax
inc eax
shl eax, 4
mov byte [ebp + eax + 0x544], 0x73
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax + 0x544], 0x6e
xor eax, eax
inc eax
imul eax, eax, 9
mov byte [ebp + eax + 0x544], 0x25
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax + 0x544], 0x74
xor eax, eax
inc eax
imul eax, eax, 7
mov byte [ebp + eax + 0x544], 0x64
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax + 0x544], 0x69
lea ecx, [ebp + 0x28]
call fcn.10002c93
push eax
lea ecx, [ebp + 0x28]
call fcn.10002c84
push eax
movzx eax, byte [ebp + 0xf]
push eax
movzx eax, byte [ebp + 0xe]
push eax
lea eax, [ebp + 0x544]
push eax
lea eax, [ebp + 4]
push eax
call fcn.100049f0
add esp, 0x18
push 0x2d
push 0x2b
lea ecx, [ebp + 4]
call fcn.10002997
push 0x5f
push 0x2f
lea ecx, [ebp + 4]
call fcn.10002997
push 0x20
push 0x3d
lea ecx, [ebp + 4]
call fcn.10002997
lea ecx, [ebp + 4]
call fcn.10002664
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea eax, [ebp + 4]
push eax
call fcn.10002b15
push ecx
mov ecx, esp
mov dword [ebp - 0x70], esp
lea eax, [ebp - 4]
push eax
call fcn.10002b15
call fcn.1002ccb9
pop ecx
pop ecx
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax + 0x560], 0x74
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax + 0x560], 0x64
xor eax, eax
inc eax
shl eax, 2
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 5
jae 0x1002c2d6
jmp 0x1002c2db
call fcn.1000814a
mov eax, dword [ebp - 0x38]
mov byte [ebp + eax + 0x560], 0
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax + 0x560], 0x2e
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax + 0x560], 0x61
lea eax, [ebp + 0x560]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1000250e
add esp, 0xc
push eax
lea ecx, [ebp - 8]
call fcn.10002a5f
lea ecx, [ebp - 0x64]
call fcn.100023c1
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 8]
call fcn.100024db
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x3c], eax
and dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp + 0x28]
call fcn.10002c84
push eax
lea ecx, [ebp + 0x28]
call fcn.10002c93
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x3c]
call fcn.10031789
pop ecx
xor eax, eax
inc eax
shl eax, 1
mov byte [ebp + eax - 0x24], 0x64
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x24], 0x67
xor eax, eax
inc eax
imul eax, eax, 3
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 4
jae 0x1002c3a1
jmp 0x1002c3a6
call fcn.1000814a
mov eax, dword [ebp - 0x40]
mov byte [ebp + eax - 0x24], 0
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x24], 0x69
lea ecx, [ebp]
call fcn.10002b91
push eax
lea ecx, [ebp]
call fcn.100024db
push eax
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x568]
push eax
push 0x80000002
call fcn.10030ef9
add esp, 0x18
xor eax, eax
inc eax
shl eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jae 0x1002c3f5
jmp 0x1002c3fa
call fcn.1000814a
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0x14], 0
xor eax, eax
inc eax
shl eax, 0
mov byte [ebp + eax - 0x14], 0x69
xor eax, eax
inc eax
imul eax, eax, 0
mov byte [ebp + eax - 0x14], 0x63
lea ecx, [ebp - 0x10]
call fcn.10002b91
push eax
lea ecx, [ebp - 0x10]
call fcn.100024db
push eax
push 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x568]
push eax
push 0x80000002
call fcn.10030ef9
add esp, 0x18
lea ecx, [ebp - 0xc]
call fcn.10002b91
push eax
lea ecx, [ebp - 0xc]
call fcn.100024db
push eax
push 1
push 0x100904d8
lea eax, [ebp + 0x568]
push eax
push 0x80000002
call fcn.10030ef9
add esp, 0x18
lea ecx, [ebp + 4]
call fcn.100023c1
lea ecx, [ebp - 0x28]
call fcn.100023c1
lea ecx, [ebp + 0x28]
call fcn.10002cc6
lea ecx, [ebp - 8]
call fcn.100023c1
lea ecx, [ebp - 0xc]
call fcn.100023c1
lea ecx, [ebp - 0x10]
call fcn.100023c1
lea ecx, [ebp]
call fcn.100023c1
lea ecx, [ebp - 4]
call fcn.100023c1
pop esi
mov ecx, dword [ebp + 0x578]
xor ecx, ebp
call fcn.10007e30
add ebp, 0x57c
leave
ret