joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10060930
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1015a272
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x15c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x174]
mov dword fs:[0], eax
mov eax, dword [esp + 0x188]
mov ebx, dword [esp + 0x184]
xor esi, esi
push 0xff
lea ecx, [esp + 0x75]
push esi
mov dword [esp + 0x2c], esi
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], eax
mov byte [esp + 0x7c], 0
call fcn.100f6b80
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1b0]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1b0]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x1b0]
push ecx
mov ecx, dword [esp + 0x1b0]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x4c], esi
call fcn.10041d70
add esp, 0x34
test eax, eax
jne 0x10060a04
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x74]
push ecx
mov ecx, ebx
call fcn.10009b00
jmp 0x10060b01
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, dword [esp + 0x3c]
jle 0x10060a64
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
lea esp, [esp]
test ecx, ecx
jle 0x10060a4d
mov eax, dword [edx]
mov ebx, eax
shr ebx, 0x10
and ebx, 0xff
add esi, ebx
movzx ebx, ah
movzx eax, al
add edi, ebx
add ebp, eax
add edx, 4
sub ecx, 1
jne 0x10060a24
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add edx, dword [esp + 0x2c]
sub dword [esp + 0x1c], 1
mov dword [esp + 0x20], edx
jne 0x10060a20
mov eax, dword [esp + 0x40]
imul ecx, eax
xor edx, edx
mov eax, esi
div ecx
xor edx, edx
mov esi, eax
mov eax, edi
div ecx
xor edx, edx
mov edi, eax
mov eax, ebp
div ecx
mov ecx, dword [esp + 0x18]
push ecx
mov ebp, eax
call fcn.100f5c3f
push ebp
mov dl, 0x30
mov al, 0x78
push edi
mov byte [esp + 0x6d], dl
mov byte [esp + 0x71], dl
mov byte [esp + 0x75], dl
push esi
lea edx, [esp + 0x70]
mov cl, 0x32
mov byte [esp + 0x73], al
mov byte [esp + 0x77], al
mov byte [esp + 0x7b], al
push edx
lea eax, [esp + 0x84]
push eax
mov dword [esp + 0x30], 0
mov byte [esp + 0x78], 0x25
mov byte [esp + 0x7a], cl
mov byte [esp + 0x7c], 0x25
mov byte [esp + 0x7e], cl
mov byte [esp + 0x80], 0x25
mov byte [esp + 0x82], cl
mov byte [esp + 0x84], 0
call fcn.100f7960
add esp, 0x18
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, ebx
call fcn.10009b00
mov dword [esp + 0x17c], 0
mov dword [esp + 0x24], 1
mov eax, ebx
mov ecx, dword [esp + 0x174]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x15c]
xor ecx, esp
call fcn.100f611a
add esp, 0x16c
ret
Function at 0x10061050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1015a359
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], 0
lea eax, [esp + 0xb]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x1c], 0x37
mov byte [esp + 0x1d], 0x2e
mov byte [esp + 0x1e], 0x32
mov byte [esp + 0x1f], 0x34
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0x30
mov byte [esp + 0x22], 0
call fcn.10009b00
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.100f611a
add esp, 0x24
ret

Function at 0x10061250
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1015a402
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push esi
mov eax, dword [0x101ad3b4]
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.100f6b80
mov eax, dword [esp + 0x840]
add esp, 0xc
cmp eax, ebx
jne 0x100612d1
lea ecx, [esp + 0x18]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
jmp 0x10061361
cmp eax, 1
jne 0x100612e8
push 0x800
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
jmp 0x10061361
cmp eax, 2
jne 0x100612ff
push 0x800
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
jmp 0x10061361
cmp eax, 3
jne 0x10061316
lea ecx, [esp + 0x18]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
jmp 0x10061361
cmp eax, 4
jne 0x10061361
xor eax, eax
lea ecx, [ecx]
mov cl, byte [eax + 0x101aef70]
mov byte [esp + eax + 0x18], cl
add eax, 1
cmp cl, bl
jne 0x10061320
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10061338
sub eax, edx
add eax, 0xffffffff
cmp eax, ebx
jl 0x10061361
mov cl, 0x5c
lea esp, [esp]
cmp byte [esp + eax + 0x18], cl
je 0x1006135d
sub eax, 1
jns 0x10061350
jmp 0x10061361
mov byte [esp + eax + 0x18], bl
lea edx, [esp + 0xf]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10009b00
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.100f611a
add esp, 0x81c
ret
Function at 0x10061840
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1015a552
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x23c], eax
push ebx
push esi
mov eax, dword [0x101ad3b4]
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 + 0x18], 0
push eax
mov dword [esp + 0x30], esi
mov byte [esp + 0x54], 0
call fcn.100f6b80
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov dl, 0x25
mov al, 0x64
mov cl, 0x30
mov byte [esp + 0x28], dl
mov byte [esp + 0x2d], dl
mov byte [esp + 0x32], dl
mov byte [esp + 0x37], dl
mov byte [esp + 0x3c], dl
mov byte [esp + 0x41], dl
movzx edx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x1e]
mov byte [esp + 0x2f], al
mov byte [esp + 0x34], al
mov byte [esp + 0x39], al
mov byte [esp + 0x3e], al
mov byte [esp + 0x43], al
mov byte [esp + 0x48], al
movzx eax, word [esp + 0x22]
push eax
movzx eax, word [esp + 0x1e]
mov byte [esp + 0x31], cl
mov byte [esp + 0x36], cl
mov byte [esp + 0x3b], cl
mov byte [esp + 0x40], cl
mov byte [esp + 0x45], cl
mov byte [esp + 0x4a], cl
movzx ecx, word [esp + 0x24]
push ecx
movzx ecx, word [esp + 0x20]
push edx
push eax
push ecx
mov bl, 0x32
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x4a], 0x34
mov byte [esp + 0x4c], 0x2d
mov byte [esp + 0x4f], bl
mov byte [esp + 0x51], 0x2d
mov byte [esp + 0x54], bl
mov byte [esp + 0x56], 0x20
mov byte [esp + 0x59], bl
mov byte [esp + 0x5b], 0x3a
mov byte [esp + 0x5e], bl
mov byte [esp + 0x60], 0x3a
mov byte [esp + 0x63], bl
mov byte [esp + 0x65], 0
call fcn.100f7960
add esp, 0x20
lea ecx, [esp + 0xf]
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.10009b00
mov dword [esp + 0x254], 0
mov dword [esp + 0x10], 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.100f611a
add esp, 0x24c
ret
Function at 0x100619c0
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x1015a5ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3e4
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x3e0], eax
push ebx
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x3f4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x404]
mov esi, dword [esp + 0x40c]
xor ebx, ebx
push 0x1ff
lea eax, [esp + 0x1f5]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x48], edi
mov byte [esp + 0x1fc], bl
call fcn.100f6b80
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push 0x202
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ax, word [esp + 0x40]
cmp al, 2
jne 0x10061c1f
cmp ah, al
jne 0x10061c1f
lea ecx, [esp + 0x28]
call fcn.100e7e56
mov dword [esp + 0x3fc], 1
push ebx
lea edx, [esp + 0x2c]
push edx
push 0x101615a8
push esi
call fcn.10048510
mov ebx, eax
add esp, 0x10
xor esi, esi
test ebx, ebx
jle 0x10061ac8
test esi, esi
jl 0x10061c1a
cmp esi, dword [esp + 0x30]
jge 0x10061c1a
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + esi*4]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.10059d30
add esp, 8
test eax, eax
jne 0x10061ac8
add esi, 1
cmp esi, ebx
jl 0x10061a96
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov dl, 0x25
mov al, 0x64
mov cl, 0x30
mov byte [esp + 0x1d0], dl
mov byte [esp + 0x1d5], dl
mov byte [esp + 0x1da], dl
mov byte [esp + 0x1df], dl
mov byte [esp + 0x1e4], dl
mov byte [esp + 0x1e9], dl
movzx edx, word [esp + 0x24]
push edx
movzx edx, word [esp + 0x22]
mov byte [esp + 0x1d7], al
mov byte [esp + 0x1dc], al
mov byte [esp + 0x1e1], al
mov byte [esp + 0x1e6], al
mov byte [esp + 0x1eb], al
mov byte [esp + 0x1f0], al
movzx eax, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x22]
mov byte [esp + 0x1d9], cl
mov byte [esp + 0x1de], cl
mov byte [esp + 0x1e3], cl
mov byte [esp + 0x1e8], cl
mov byte [esp + 0x1ed], cl
mov byte [esp + 0x1f2], cl
movzx ecx, word [esp + 0x28]
push ecx
movzx ecx, word [esp + 0x24]
push edx
push eax
push ecx
mov bl, 0x32
lea edx, [esp + 0x1e8]
push edx
lea eax, [esp + 0x20c]
push eax
mov byte [esp + 0x1f2], 0x34
mov byte [esp + 0x1f4], 0x2d
mov byte [esp + 0x1f7], bl
mov byte [esp + 0x1f9], 0x2d
mov byte [esp + 0x1fc], bl
mov byte [esp + 0x1fe], 0x20
mov byte [esp + 0x201], bl
mov byte [esp + 0x203], 0x3a
mov byte [esp + 0x206], bl
mov byte [esp + 0x208], 0x3a
mov byte [esp + 0x20b], bl
mov byte [esp + 0x20d], 0
call fcn.100f7960
add esp, 0x20
lea ecx, [esp + 0x13]
push ecx
lea edx, [esp + 0x1f4]
push edx
mov ecx, edi
call fcn.10009b00
mov dword [esp + 0x14], 1
mov byte [esp + 0x3fc], 0
lea ecx, [esp + 0x28]
call fcn.100e819e
jmp 0x10061c48
jmp fcn.100e4be9
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x1f4]
push ecx
mov ecx, edi
call fcn.10009b00
mov dword [esp + 0x3fc], ebx
mov dword [esp + 0x14], 1
mov eax, edi
mov ecx, dword [esp + 0x3f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3e0]
xor ecx, esp
call fcn.100f611a
add esp, 0x3f0
ret
Function at 0x100696d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1015a8a2
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov eax, dword [esp + 0x170]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x168]
xor ebx, ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push eax
mov dword [esp + 0x30], ebx
push esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], ebx
call fcn.10063680
add esp, 0x1c
test eax, eax
jne 0x1006975f
lea edx, [esp + 0x13]
push edx
push 0x10160a44
mov ecx, edi
call fcn.10009b00
jmp 0x100697be
mov al, 0x64
mov cl, 0x25
mov byte [esp + 0x4d], al
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x50], cl
mov byte [esp + 0x53], cl
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x5e], 0x2c
mov byte [esp + 0x61], bl
call fcn.100f7960
add esp, 0x10
cmp dword [esi + 0x32fc], ebx
jne 0x100697ad
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100f5c3f
add esp, 4
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
call fcn.10009b00
mov dword [esp + 0x160], ebx
mov dword [esp + 0x18], 1
mov eax, edi
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.100f611a
add esp, 0x154
ret
Function at 0x1006d850
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x1015ac11
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
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
push 0
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1006d8fb
push edi
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x1006d8f5
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x1006d8f5
mov ecx, eax
lea ebp, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x1006d8d8
sub ecx, ebp
add ecx, eax
push ecx
push eax
mov ecx, esi
call fcn.1000c6a0
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
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 0x1006dbd0
Capabilities:
Create thread

Disassembly:
sub esp, 0x214
mov eax, dword [0x101ad3b4]
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.100f6b80
push esi
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.10041a40
lea eax, [esp + 0x30]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006dc24
sub eax, edx
add eax, 1
push eax
call fcn.100f5b7c
mov edi, eax
add esp, 4
test edi, edi
je 0x1006dc9b
lea eax, [esp + 0x18]
mov edx, edi
mov ecx, eax
sub edx, ecx
jmp 0x1006dc50
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1006dc50
push ebp
mov dword [esp + 0x10], 0
call fcn.1002c030
lea edx, [esp + 0x10]
push edx
push 0
push edi
push 0x100508e0
push 0
push 0
mov ebp, eax
call fcn.100f85a7
push ebp
mov esi, eax
call fcn.1002c0d0
add esp, 0x1c
test esi, esi
pop ebp
jne 0x1006dcb4
push edi
call fcn.100f5c3f
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.100f611a
add esp, 0x214
ret
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x328c]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], edx
je 0x1006dcdd
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x1006dcf1
push 1
push 1
lea edx, [esp + 0x13]
push edx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.1005ea80
mov ecx, dword [esp + 0x218]
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.100f611a
add esp, 0x214
ret
Function at 0x1006dd10
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1015acb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 0xc]
cmp eax, 2
jl 0x1006de71
lea ecx, [eax - 1]
cmp ecx, ebx
jl 0x1006df1b
cmp ecx, eax
jg 0x1006df1b
mov dl, byte [ecx + edx]
cmp dl, 0x5c
jne 0x1006dd98
push ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.10044760
mov byte [esp + 0x28], 1
push eax
lea ecx, [esp + 0x34]
call fcn.10044a30
mov byte [esp + 0x28], bl
lea ecx, [esp + 0x10]
call fcn.1001ced0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jle 0x1006de71
cmp eax, 3
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
jg 0x1006ddf7
lea edx, [esp + 0x34]
push edx
call fcn.100445f0
mov byte [esp + 0x2c], 2
mov byte [esp + 0x2c], bl
call fcn.10059fa0
add esp, 4
cmp eax, ebx
je 0x1006de71
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.1001ced0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x20
ret
lea eax, [esp + 0x34]
push eax
call fcn.100445f0
mov byte [esp + 0x2c], 3
mov byte [esp + 0x2c], bl
call fcn.10059fa0
add esp, 4
cmp eax, ebx
jne 0x1006ddcf
lea ecx, [esp + 0xc]
call fcn.1001ce60
mov byte [esp + 0x28], 4
push 0x5c
lea ecx, [esp + 0x34]
call fcn.10055d00
push eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.10044760
mov byte [esp + 0x28], 5
push eax
lea ecx, [esp + 0x10]
call fcn.10044a30
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x10]
call fcn.1001ced0
mov edx, dword [esp + 0xc]
cmp dword [edx - 0xc], ebx
jg 0x1006de96
mov byte [esp + 0x28], bl
lea ecx, [esp + 0xc]
call fcn.1001ced0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.1001ced0
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 eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.100445f0
mov byte [esp + 0x2c], 6
mov byte [esp + 0x2c], 4
call fcn.1006dd10
add esp, 4
cmp eax, ebx
je 0x1006de64
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
mov esi, eax
sub esi, 1
neg esi
sbb esi, esi
add esi, 1
mov byte [esp + 0x28], bl
lea ecx, [esp + 0xc]
call fcn.1001ced0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.1001ced0
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 0x1006e250
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1015adbd
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
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
push 0x1ff
lea eax, [esp + 0x25]
push edi
push eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x2c], 0
call fcn.100f6b80
push ebp
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.10041a40
push 0x40
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x62
mov byte [esp + 0x3a], 0
call fcn.100f7889
mov ebp, eax
add esp, 0x24
cmp ebp, edi
je 0x1006e388
push 2
push edi
push ebp
call fcn.100f7804
push ebp
call fcn.100f770f
push edi
push edi
push ebp
mov ebx, eax
call fcn.100f7804
lea ecx, [ebx + 1]
push ecx
call fcn.100f5b7c
mov edi, eax
add esp, 0x20
test edi, edi
je 0x1006e37f
push ebp
push ebx
push 1
push edi
call fcn.100f755c
mov eax, edi
add esp, 0x10
mov byte [edi + ebx], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006e360
sub eax, edx
add eax, edi
push eax
push edi
mov ecx, esi
call fcn.1000c6a0
push edi
call fcn.100f5c3f
add esp, 4
push ebp
call fcn.100f7244
add esp, 4
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.100f611a
add esp, 0x21c
ret
Function at 0x1006e3c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1015ae1d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ad3b4]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x248], ebp
mov esi, dword [esp + 0x250]
mov edi, dword [esp + 0x254]
mov ebx, dword [esp + 0x258]
mov dword [esp + 0x24], ebp
mov dword [esi + 0x10], esi
mov dword [esp + 0x28], esi
mov dword [esi + 0x14], esi
mov ecx, 1
mov dword [esp + 0x248], ecx
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x248], ebp
push 0x1ff
lea eax, [esp + 0x41]
push ebp
push eax
mov dword [esp + 0x30], ecx
mov byte [esp + 0x48], 0
call fcn.100f6b80
push ebx
lea ecx, [esp + 0x4c]
push ecx
push edi
call fcn.10041a40
push 0x40
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x38], 0x72
mov byte [esp + 0x39], 0x62
mov byte [esp + 0x3a], 0
call fcn.100f7889
mov ebx, eax
mov dl, 0x30
mov cl, 0x32
mov al, 0x58
add esp, 0x24
cmp ebx, ebp
mov dword [esp + 0x20], ebx
mov byte [esp + 0x34], 0x25
mov byte [esp + 0x35], dl
mov byte [esp + 0x36], cl
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x20
mov byte [esp + 0x39], 0
mov byte [esp + 0x2c], 0x25
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], al
mov byte [esp + 0x30], 0
je 0x1006e5b5
push 2
push ebp
push ebx
call fcn.100f7804
push ebx
call fcn.100f770f
push ebp
push ebp
push ebx
mov edi, eax
call fcn.100f7804
lea ecx, [edi + 1]
push ecx
call fcn.100f5b7c
mov ebp, eax
add esp, 0x20
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x1006e5ac
push ebx
push edi
push 1
push ebp
call fcn.100f755c
lea edx, [edi + edi*2 + 3]
push edx
mov byte [edi + ebp], 0
call fcn.100f5b7c
mov ecx, eax
add esp, 0x14
test ecx, ecx
mov dword [esp + 0x1c], ecx
je 0x1006e5a3
xor ebp, ebp
test edi, edi
mov ebx, ecx
mov byte [ecx], 0
jle 0x1006e573
lea eax, [edi - 1]
cmp ebp, eax
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + ebp]
push ecx
je 0x1006e557
lea edx, [esp + 0x38]
push edx
push ebx
call fcn.100f7960
add esp, 0xc
add ebx, 3
jmp 0x1006e568
lea edx, [esp + 0x30]
push edx
push ebx
call fcn.100f7960
add esp, 0xc
add ebx, 2
add ebp, 1
cmp ebp, edi
jl 0x1006e534
mov ecx, dword [esp + 0x1c]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1006e578
sub eax, edi
add eax, ecx
push eax
push ecx
mov ecx, esi
call fcn.1000c6a0
mov eax, dword [esp + 0x1c]
push eax
call fcn.100f5c3f
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
add esp, 4
push ebp
call fcn.100f5c3f
add esp, 4
push ebx
call fcn.100f7244
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.100f611a
add esp, 0x238
ret
Function at 0x1006e8c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1015af61
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov eax, dword [0x101ad3b4]
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 eax, dword [esp + 0x5c]
push eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x5c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x24], 0x25
mov byte [esp + 0x25], 0x49
mov byte [esp + 0x26], 0x36
mov byte [esp + 0x27], 0x34
mov byte [esp + 0x28], 0x58
mov byte [esp + 0x29], bl
call fcn.100f7960
lea eax, [esp + 0x2c]
add esp, 0x10
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1006e960
sub eax, edx
lea ecx, [esp + eax + 0x1c]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.1000c6a0
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.100f611a
add esp, 0x40
ret