joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006e760
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x1c], eax
mov cl, 0x6c
mov al, 0x65
mov dl, 0x64
push esi
mov byte [esp + 0x10], 0x6b
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x72
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], al
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x33
mov byte [esp + 0x17], 0x32
mov byte [esp + 0x18], 0x2e
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0
mov bh, bh
mov byte [esp + 4], 0x4f
mov byte [esp + 5], 0x70
mov byte [esp + 6], al
mov byte [esp + 7], 0x6e
mov byte [esp + 8], 0x54
mov byte [esp + 9], 0x68
mov byte [esp + 0xa], 0x72
mov byte [esp + 0xb], al
mov byte [esp + 0xc], 0x61
mov byte [esp + 0xd], dl
mov byte [esp + 0xe], 0
mov ch, ch
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
mov bh, bh
test esi, esi
jne 0x1006e817
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1011717a
add esp, 0x20
ret
push ebp
push edi
call fcn.10041000
mov edi, eax
test dl, dl
mov ebp, dword [esp + 0x34]
push ebp
push 0
push 0x1f03ff
call esi
mov esi, eax
test cl, cl
push edi
call fcn.100410c0
add esp, 4
test bh, bh
test esi, esi
jne 0x1006e857
pop edi
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1011717a
add esp, 0x20
ret
push 0
push 0
push 0xbb8
push ebp
call fcn.10069ac0
mov bh, bh
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test ebx, ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, edi
mov ecx, dword [esp + 0x28]
pop edi
pop ebp
pop esi
xor ecx, esp
mov eax, 1
call fcn.1011717a
add esp, 0x20
ret

Function at 0x10070970
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1017a6a8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x10], esi
test eax, 0x347e
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test eax, 0x524f
cmp eax, 0xffffffff
je 0x100709ba
test al, 0x10
je 0x100709ba
mov esi, 1
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.10005720
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
Function at 0x100746f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x1017aac2
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x17c]
mov esi, dword [esp + 0x180]
xor edi, edi
push 0xff
lea ecx, [esp + 0x6d]
push edi
mov dword [esp + 0x58], edi
push ecx
mov dword [esp + 0x60], eax
mov byte [esp + 0x74], 0
call fcn.101182b0
add esp, 0xc
mov ecx, ecx
test bl, bl
mov edi, edi
xor ebx, ebx
xor ebp, ebp
push ecx
pop ecx
mov ah, ah
test dl, dl
mov dword [esp + 0x14], edi
mov ebp, ebp
mov bh, bh
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x19c]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x19c]
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x19c]
push ecx
mov ecx, dword [esp + 0x19c]
push edx
push eax
push ecx
push esi
call fcn.10059310
add esp, 0x28
test eax, eax
jne 0x100747da
mov esi, dword [esp + 0x54]
lea edx, [esp + 0x27]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x174], edi
jmp 0x100748f7
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
xor edx, edx
cmp eax, edi
jle 0x10074839
xor ecx, ecx
test esi, esi
jle 0x10074832
mov edi, edi
mov eax, edx
imul eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
lea eax, [eax + ecx*4]
test edx, edx
mov dh, dh
mov eax, dword [eax]
test eax, eax
mov esi, eax
shr esi, 0x10
and esi, 0xff
add edi, esi
mov ecx, ecx
movzx esi, ah
add ebp, esi
test ebx, ebx
movzx eax, al
add ebx, eax
test ebx, ebx
mov esi, dword [esp + 0x2c]
add ecx, 1
cmp ecx, esi
jl 0x100747f0
mov eax, dword [esp + 0x30]
add edx, 1
cmp edx, eax
jl 0x100747e8
imul esi, eax
mov eax, edi
xor edx, edx
div esi
mov esi, eax
test eax, 0x7c0e
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x30]
mov eax, ebp
xor edx, edx
div ecx
mov edi, eax
test esi, esi
mov ecx, dword [esp + 0x2c]
imul ecx, dword [esp + 0x30]
mov eax, ebx
xor edx, edx
div ecx
mov ebx, eax
test al, al
mov edx, dword [esp + 0x14]
push edx
call fcn.10116c9f
xor ebp, ebp
add esp, 4
mov dword [esp + 0x14], ebp
test cl, cl
mov dl, 0x30
mov cl, 0x32
mov al, 0x78
mov byte [esp + 0x58], 0x25
mov byte [esp + 0x59], dl
mov byte [esp + 0x5a], cl
mov byte [esp + 0x5b], al
mov byte [esp + 0x5c], 0x25
mov byte [esp + 0x5d], dl
mov byte [esp + 0x5e], cl
mov byte [esp + 0x5f], al
mov byte [esp + 0x60], 0x25
mov byte [esp + 0x61], dl
mov byte [esp + 0x62], cl
mov byte [esp + 0x63], al
mov byte [esp + 0x64], 0
mov edi, edi
push ebx
push edi
push esi
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.10119209
add esp, 0x14
mov ah, ah
mov esi, dword [esp + 0x54]
lea edx, [esp + 0x27]
push edx
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x174], ebp
mov dword [esp + 0x50], 1
mov eax, esi
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.1011717a
add esp, 0x164
ret
Function at 0x10074ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017aba9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], 0x37
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x16], 0x32
mov byte [esp + 0x17], 0x33
mov byte [esp + 0x18], 0x31
mov byte [esp + 0x19], 0x39
mov byte [esp + 0x1a], 0
test ecx, ecx
lea eax, [esp + 0xb]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], 1
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.1011717a
add esp, 0x24
ret

Function at 0x10077c60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1017ad12
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x82c]
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x1d]
push ebx
mov dword [esp + 0x18], ebx
push eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], bl
call fcn.101182b0
add esp, 0xc
mov ebp, ebp
mov eax, dword [esp + 0x834]
cmp eax, ebx
jne 0x10077ce5
lea ecx, [esp + 0x18]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov ch, ch
jmp 0x10077d8c
cmp eax, 1
jne 0x10077d04
push 0x800
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, 0x5e86
jmp 0x10077d8c
cmp eax, 2
jne 0x10077d1d
push 0x800
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push eax
pop eax
jmp 0x10077d8c
cmp eax, 3
jne 0x10077d36
lea ecx, [esp + 0x18]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov cl, cl
jmp 0x10077d8c
cmp eax, 4
jne 0x10077d8c
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x101d1268]
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp cl, bl
jne 0x10077d40
test dh, dh
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10077d60
sub eax, edx
add eax, 0xffffffff
mov edi, edi
cmp eax, ebx
jl 0x10077d8c
mov cl, 0x5c
cmp byte [esp + eax + 0x18], cl
je 0x10077d86
sub eax, 1
nop
cmp eax, ebx
jge 0x10077d76
jmp 0x10077d8c
mov byte [esp + eax + 0x18], bl
mov ah, ah
lea edx, [esp + 0xf]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x824], ebx
mov dword [esp + 0x10], 1
mov eax, esi
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x80c]
xor ecx, esp
call fcn.1011717a
add esp, 0x81c
ret
Function at 0x100782b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017ae62
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push esi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x25c]
push 0x1ff
lea eax, [esp + 0x4d]
push 0
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x54], 0
call fcn.101182b0
add esp, 0xc
mov bh, bh
mov dl, dl
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
test eax, 0x66b0
mov dl, 0x25
mov cl, 0x30
mov al, 0x64
mov bl, 0x32
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x34
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0x2d
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0x2d
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], cl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], al
mov byte [esp + 0x36], 0x20
mov byte [esp + 0x37], dl
mov byte [esp + 0x38], cl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], 0x3a
mov byte [esp + 0x3c], dl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], 0x3a
mov byte [esp + 0x41], dl
mov byte [esp + 0x42], cl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], al
mov byte [esp + 0x45], 0
mov cl, cl
movzx edx, word [esp + 0x1c]
movzx eax, word [esp + 0x1a]
movzx ecx, word [esp + 0x18]
push edx
movzx edx, word [esp + 0x1a]
push eax
movzx eax, word [esp + 0x1a]
push ecx
movzx ecx, word [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.10119209
add esp, 0x20
test edx, edx
lea ecx, [esp + 0xf]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x254], 0
mov dword [esp + 0x20], 1
mov eax, esi
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x23c]
xor ecx, esp
call fcn.1011717a
add esp, 0x24c
ret
Function at 0x100888f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x1017b4f1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x28]
mov dword [esp + 0x10], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esi + 0x14], esi
mov edi, 1
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], edi
mov dh, dh
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x100889ac
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
mov ecx, ecx
test edi, edi
je 0x100889a1
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ebp, ebp
test eax, eax
je 0x100889a1
mov ecx, eax
lea ebp, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x10088980
sub ecx, ebp
add ecx, eax
push ecx
push eax
mov ecx, esi
call fcn.1000d0b0
mov edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
test esi, esi
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, 0x3376
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
Function at 0x10088c80
Capabilities:
Create thread

Disassembly:
sub esp, 0x214
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x220]
push 0x1ff
lea eax, [esp + 0x1d]
push 0
push eax
mov dword [esp + 0x1c], edi
mov byte [esp + 0x24], 0
call fcn.101182b0
add esp, 0xc
mov cl, cl
push esi
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.10059000
add esp, 0xc
test dl, dl
lea eax, [esp + 0x18]
lea edx, [eax + 1]
jmp 0x10088ce0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10088ce0
sub eax, edx
add eax, 1
push eax
call fcn.10116bdc
add esp, 4
mov edi, eax
test ch, ch
test edi, edi
je 0x10088d6a
lea eax, [esp + 0x18]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10088d10
push ebp
test eax, eax
mov dword [esp + 0xc], 0
test ebx, ebx
call fcn.10041000
mov ebp, eax
mov eax, eax
lea edx, [esp + 0xc]
push edx
push 0
push edi
push 0x100688e0
push 0
push 0
call fcn.1011990f
add esp, 0x18
mov esi, eax
push ebx
pop ebx
push ebp
call fcn.100410c0
add esp, 4
test cl, cl
test esi, esi
pop ebp
jne 0x10088d83
push edi
call fcn.10116c9f
add esp, 4
test esi, esi
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1011717a
add esp, 0x214
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3284]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov edx, dword [esp + 8]
mov dword [esp + 0x14], edx
je 0x10088dae
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x10088dc2
push 1
push 1
lea edx, [esp + 0x17]
push edx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.10020690
mov ecx, ecx
mov ecx, dword [esp + 0x218]
mov eax, dword [esp + 8]
pop edi
pop esi
xor ecx, esp
call fcn.1011717a
add esp, 0x214
ret
Function at 0x10088de0
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1017b598
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 0xc]
test eax, 0x719e
cmp ecx, 2
jl 0x10088f53
lea eax, [ecx - 1]
cmp eax, ebx
jl 0x1008900c
mov edx, dword [esp + 0x30]
cmp eax, dword [edx - 0xc]
jg 0x1008900c
mov dl, byte [eax + edx]
cmp dl, 0x5c
jne 0x10088e76
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.1005bfb0
mov byte [esp + 0x28], 1
push eax
lea ecx, [esp + 0x34]
call fcn.1005c200
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x10]
call fcn.10005720
mov bl, bl
mov edx, dword [esp + 0x30]
mov ecx, dword [edx - 0xc]
mov al, al
cmp ecx, ebx
jle 0x10088f53
push ecx
cmp ecx, 3
mov dword [esp + 0x14], esp
mov ecx, esp
jg 0x10088ed5
lea eax, [esp + 0x34]
push eax
call fcn.1005be40
mov byte [esp + 0x2c], 2
mov byte [esp + 0x2c], bl
call fcn.10070970
add esp, 4
cmp eax, ebx
je 0x10088f53
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10005720
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
lea edx, [esp + 0x34]
push edx
call fcn.1005be40
mov byte [esp + 0x2c], 3
mov byte [esp + 0x2c], bl
call fcn.10070970
add esp, 4
cmp eax, ebx
jne 0x10088ead
lea ecx, [esp + 0xc]
call fcn.1001f670
mov byte [esp + 0x28], 4
xchg ebx, eax
xchg ebx, eax
push 0x5c
lea ecx, [esp + 0x34]
call fcn.1006f130
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.1005bfb0
mov byte [esp + 0x28], 5
push eax
lea ecx, [esp + 0x10]
call fcn.1005c200
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x10]
call fcn.10005720
test ebx, ebx
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 0xc], ebx
jg 0x10088f78
mov byte [esp + 0x28], bl
lea ecx, [esp + 0xc]
call fcn.10005720
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10005720
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.1005be40
mov byte [esp + 0x2c], 6
mov byte [esp + 0x2c], 4
call fcn.10088de0
add esp, 4
test bh, bh
cmp eax, ebx
je 0x10088f46
test eax, 0x3951
mov dword [esp + 0x14], 0xc
test ch, ch
mov dword [esp + 0x18], ebx
test ch, ch
mov dword [esp + 0x1c], ebx
mov esi, esi
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov esi, eax
sub esi, 1
neg esi
sbb esi, esi
add esi, 1
push eax
pop eax
mov byte [esp + 0x28], bl
lea ecx, [esp + 0xc]
call fcn.10005720
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.10005720
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
push 0x80070057
call fcn.10001140
Function at 0x10089350
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1017b69d
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x224]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x22c], edi
mov esi, dword [esp + 0x234]
mov ebx, dword [esp + 0x238]
mov ebp, dword [esp + 0x23c]
mov dword [esp + 0x18], edi
mov dword [esi + 0x10], esi
mov dword [esp + 0x1c], esi
mov dword [esi + 0x14], esi
mov ecx, 1
mov dword [esp + 0x22c], ecx
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x22c], edi
mov dword [esp + 0x18], ecx
test bl, bl
push 0x1ff
lea eax, [esp + 0x25]
push edi
push eax
mov byte [esp + 0x2c], 0
call fcn.101182b0
add esp, 0xc
mov bl, bl
push ebp
lea ecx, [esp + 0x24]
push ecx
push ebx
call fcn.10059000
add esp, 0xc
push edx
pop edx
mov byte [esp + 0x14], 0x72
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0
mov dl, dl
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.101191f6
add esp, 8
mov ebp, eax
mov edx, edx
cmp ebp, edi
je 0x100894b3
push 2
push edi
push ebp
call fcn.101190ad
add esp, 0xc
test ecx, ecx
push ebp
call fcn.10118fb8
add esp, 4
mov ebx, eax
test eax, eax
push edi
push edi
push ebp
call fcn.101190ad
add esp, 0xc
mov bh, bh
lea ecx, [ebx + 1]
push ecx
call fcn.10116bdc
add esp, 4
mov edi, eax
nop
test edi, edi
je 0x100894a8
push ebp
push ebx
push 1
push edi
call fcn.10118e05
add esp, 0x10
xchg ebx, eax
xchg ebx, eax
mov byte [edi + ebx], 0
test edi, edi
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10089485
sub eax, edx
add eax, edi
push eax
push edi
mov ecx, esi
call fcn.1000d0b0
test dh, dh
push edi
call fcn.10116c9f
add esp, 4
test ah, ah
push ebp
call fcn.10118aed
add esp, 4
mov bh, bh
mov eax, esi
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.1011717a
add esp, 0x21c
ret
Function at 0x10089a40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1017b841
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov ecx, 1
mov dword [esp + 0x48], ecx
mov eax, dword [esi + 0x10]
mov byte [eax], bl
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc], ecx
test edi, edi
test bh, bh
mov byte [esp + 0x14], 0x25
mov byte [esp + 0x15], 0x49
mov byte [esp + 0x16], 0x36
mov byte [esp + 0x17], 0x34
mov byte [esp + 0x18], 0x58
mov byte [esp + 0x19], bl
mov ah, ah
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.10119209
add esp, 0x10
mov ch, ch
lea eax, [esp + 0x1c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10089ae6
sub eax, edx
lea ecx, [esp + eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.1000d0b0
test eax, 0x6bbe
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1011717a
add esp, 0x40
ret
Function at 0x100917f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1017bbd9
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
xor ebx, ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x2c], ebx
test ebx, ebx
test eax, 0x3ee5
mov ebp, ebp
cmp dword [edx + 0x32a0], ebx
je 0x100918fb
test bl, bl
mov ch, ch
mov dword [esp + 0x20], ebx
mov cl, cl
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [ebp + 1]
push ecx
lea eax, [edi + 1]
push eax
push ebp
push edi
push edx
call fcn.10059310
add esp, 0x28
test eax, eax
jne 0x100918b7
lea ecx, [esp + 0x1f]
push ecx
push 0x10182960
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x98], ebx
jmp 0x10091a03
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
test ah, ah
mov ecx, eax
shr ecx, 0x10
mov byte [esp + 0x2b], cl
test eax, 0x5f10
mov ebx, eax
shr ebx, 8
push ecx
pop ecx
mov byte [esp + 0x1f], al
test ch, ch
mov eax, dword [esp + 0x20]
push eax
call fcn.10116c9f
add esp, 4
mov dword [esp + 0x20], 0
mov ecx, ecx
mov dl, byte [esp + 0x2b]
mov cl, byte [esp + 0x1f]
jmp 0x10091930
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edi
lea ecx, [esp + 0x24]
call fcn.10089c00
add esp, 0xc
test eax, eax
mov ecx, eax
shr ecx, 0x10
mov ecx, ecx
mov ebx, eax
shr ebx, 8
mov esi, esi
mov dl, al
mov bl, bl
cmp dword [esp + 0x14], edi
je 0x1009194b
cmp dword [esp + 0x18], ebp
je 0x1009194b
lea edx, [esp + 0x1f]
push edx
push 0x10182960
jmp 0x100919f1
xor eax, eax
mov byte [esp + 0x6c], 0
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov word [esp + 0x89], ax
mov byte [esp + 0x8b], al
test eax, eax
mov al, 0x78
mov byte [esp + 0x5c], 0x25
mov byte [esp + 0x5d], 0x30
mov byte [esp + 0x5e], 0x32
mov byte [esp + 0x5f], al
mov byte [esp + 0x60], 0x25
mov byte [esp + 0x61], 0x30
mov byte [esp + 0x62], 0x32
mov byte [esp + 0x63], al
mov byte [esp + 0x64], 0x25
mov byte [esp + 0x65], 0x30
mov byte [esp + 0x66], 0x32
mov byte [esp + 0x67], al
mov byte [esp + 0x68], 0
mov bh, bh
movzx eax, cl
push eax
movzx ecx, bl
push ecx
movzx edx, dl
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.10119209
add esp, 0x14
test dl, dl
lea edx, [esp + 0x1f]
push edx
lea eax, [esp + 0x70]
push eax
mov ecx, esi
call fcn.100085d0
mov dword [esp + 0x98], 0
mov dword [esp + 0x2c], 1
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1011717a
add esp, 0x88
ret