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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1438
call sub.ntdll.dll__chkstk
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
movzx ebx, al
mov dword [ebp - 0x1c], ebx
test edi, edi
je 0x10003328
cmp dword [section..bss], esi
je 0x10003328
mov ecx, 1
lock xadd dword [0x10010218], ecx
inc ecx
mov dword [ebp - 0x20], ecx
test eax, 0x2000
jne 0x10003147
mov dword [ebp - 4], esi
lea edx, [ebp - 0x1438]
mov dword [ebp - 0x18], edx
test eax, 0x400
je 0x10002fb6
rdtsc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov eax, dword [0x10010220]
mov ecx, dword [0x10010224]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp eax, ecx
ja 0x10002f5c
jb 0x10002f54
cmp esi, edx
ja 0x10002f5c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
jmp 0x10002f7f
mov eax, dword [ebp - 0x14]
mov esi, 0x10010220
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lock cmpxchg8b qword [esi]
mov eax, dword [0x10010220]
mov ecx, dword [0x10010224]
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
mov ecx, 0x10
push eax
mov eax, dword [0x10010224]
lea edx, [ebp - 0x1438]
push 1
push eax
mov eax, dword [0x10010220]
push eax
call fcn.10001750
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebp + esi - 0x1438], 0x20
inc esi
test eax, 0x1000
je 0x10002fe5
lea eax, [ebp - 4]
mov edx, 8
push eax
lea eax, [ebp - 0x1438]
push 1
add eax, esi
push eax
call fcn.10001670
add esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov byte [ebp + esi - 0x1438], 0x20
inc esi
test eax, 0x800
je 0x10003021
mov ecx, dword fs:[0x18]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1438]
mov edx, 6
push 1
mov ecx, dword [ecx + 0x24]
add eax, esi
push eax
call fcn.10001670
add esi, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov byte [ebp + esi - 0x1438], 0x20
inc esi
test eax, 0x4000
je 0x100030bd
cmp ebx, 1
jne 0x1000303e
mov dword [ebp + esi - 0x1438], 0x4c494146
jmp 0x100030b2
cmp ebx, 2
jne 0x10003050
mov dword [ebp + esi - 0x1438], 0x52525245
jmp 0x100030b2
cmp ebx, 3
jne 0x10003062
mov dword [ebp + esi - 0x1438], 0x4e524157
jmp 0x100030b2
cmp ebx, 4
jne 0x10003074
mov dword [ebp + esi - 0x1438], 0x45544f4e
jmp 0x100030b2
cmp ebx, 5
jne 0x10003086
mov dword [ebp + esi - 0x1438], 0x4f464e49
jmp 0x100030b2
cmp ebx, 6
jne 0x10003098
mov dword [ebp + esi - 0x1438], 0x47424544
jmp 0x100030b2
cmp ebx, 7
mov eax, 0x454e4f4e
mov ecx, 0x45435254
cmove eax, ecx
mov dword [ebp + esi - 0x1438], eax
mov eax, dword [ebp + 8]
mov byte [ebp + esi - 0x1434], 0x20
add esi, 5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100030eb
test eax, 0x200
je 0x100030eb
mov al, byte [ecx]
test al, al
je 0x100030e2
sub ecx, esi
mov byte [ebp + esi - 0x1438], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x100030d3
mov byte [ebp + esi - 0x1438], 0x20
inc esi
test esi, esi
je 0x10003104
mov word [ebp + esi - 0x1438], 0x3e2d
mov byte [ebp + esi - 0x1436], 0x20
add esi, 3
lea eax, [ebp + 0x14]
push eax
mov eax, 0xffd
sub eax, esi
push eax
lea eax, [ebp - 0x1438]
add eax, esi
push eax
push edi
call fcn.10002320
add esi, eax
test dword [ebp + 8], 0x100
je 0x10003137
mov word [ebp + esi - 0x1438], 0xa0d
add esi, 2
mov byte [ebp + esi - 0x1438], 0
lea ecx, [ebp - 0x1438]
jmp 0x1000315f
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x1000315a
cmp byte [edi], 0
je 0x1000315a
inc esi
cmp byte [esi + edi], 0
jne 0x10003153
mov ecx, edi
mov dword [ebp - 0x18], ecx
test ebx, ebx
je 0x1000316f
cmp ebx, dword [0x1001409c]
jge 0x10003328
mov eax, dword [section..bss]
test al, 4
je 0x10003189
push ebx
push esi
push ecx
call dword [0x10014098]
mov eax, dword [section..bss]
add esp, 0xc
test al, 1
je 0x100032e0
mov ecx, dword [0x10010004]
test ecx, ecx
jne 0x100032ab
test al, 8
mov dword [ebp - 0x438], 0x3f005c
mov eax, ecx
mov dword [ebp - 0x434], 0x5c003f
sete al
mov dword [ebp - 0x430], 0x6c0047
push 0x3ea
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0x62006f
lea eax, [eax*2 + 3]
movlpd qword [ebp - 0x14], xmm0
mov dword [ebp + 8], eax
lea edx, [ecx + 0x5c]
lea eax, [ebp - 0x422]
mov dword [ebp - 0x428], 0x6c0061
push eax
mov ebx, 0x10010008
mov word [ebp - 0x424], dx
lea edi, [ecx + 0xb]
call fcn.100034a0
movzx eax, word [0x10010008]
add esp, 0xc
test ax, ax
je 0x10003237
mov ecx, eax
nop
movzx eax, word [ebx + 2]
lea ebx, [ebx + 2]
mov word [ebp + edi*2 - 0x438], cx
inc edi
mov ecx, eax
test ax, ax
jne 0x10003220
push 0
push 0
push 0x60
push dword [ebp + 8]
lea eax, [ebp - 0x438]
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 8], eax
lea eax, [edi + edi]
mov word [ebp - 0xc], ax
add eax, 2
push 3
mov word [ebp - 0xa], ax
lea eax, [ebp - 0xc]
push 0x80
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], 0
push eax
push 0x100004
push 0x10010004
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
jne 0x100032db
mov ecx, dword [0x10010004]
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0xc]
push 0
push eax
push esi
push edi
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push ecx
movlpd qword [ebp - 0xc], xmm0
movlpd qword [ebp - 0x14], xmm0
call dword [sym.imp.ntdll.dll_NtWriteFile]
mov eax, dword [section..bss]
jmp 0x100032e3
mov eax, dword [section..bss]
mov edi, dword [ebp - 0x18]
test al, 2
je 0x10003328
mov eax, dword [0x10010210]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
test eax, eax
jne 0x1000330c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov dword [0x10010210], eax
cmp eax, 7
je 0x10003328
push 0
push 0
push esi
push edi
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
push eax
call dword [sym.imp.ntdll.dll_NtWriteFile]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret