joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e770
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101a53c4]
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.100f5b10
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
push 0x200
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
push eax
pop eax
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 al, al
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.100f68f0
add esp, 0x10
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5016
mov esp, ebp
pop ebp
ret

Function at 0x1001ed30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101a53c4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102a9fc0], 0
jne 0x1001edf4
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
nop
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
push edx
pop edx
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 [0x102a9fc0], eax
mov bl, bl
cmp dword [0x102a9fc0], 0
jne 0x1001ee01
xor eax, eax
jmp 0x1001ee06
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100f5016
mov esp, ebp
pop ebp
ret
Function at 0x100234d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101a53c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov edx, edx
mov dword [ebp - 0x138], 0x128
mov ebp, ebp
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
push edx
pop edx
cmp dword [ebp - 4], 0xffffffff
jne 0x10023507
jmp 0x1002356e
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 8], eax
mov ch, ch
cmp dword [ebp - 8], 0
je 0x10023554
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x120]
jne 0x1002353d
mov eax, dword [ebp - 0x130]
push eax
call fcn.100234d0
add esp, 4
nop
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 8], eax
push ebx
pop ebx
jmp 0x1002351c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov cl, cl
mov ecx, dword [ebp + 8]
push ecx
call fcn.100306c0
add esp, 4
mov al, al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100f5016
mov esp, ebp
pop ebp
ret
Function at 0x10025a10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101a53c4]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov edi, edi
nop
mov dword [ebp - 0x48], 0
mov bh, bh
mov dword [ebp - 0x4c], 0
mov ch, ch
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
mov eax, 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
nop
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 bl, bl
cmp dword [ebp - 0x48], 0
je 0x10025b10
push ebx
pop 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 ebp, ebp
cmp dword [ebp - 0x54], 0
jl 0x10025b10
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
push eax
pop eax
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100f5016
mov esp, ebp
pop ebp
ret
Function at 0x10026140
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101a53c4]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, eax
mov dword [ebp - 4], 0
push ebx
pop ebx
mov dword [ebp - 8], 0
push ecx
pop ecx
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
mov esi, esi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov al, al
cmp dword [ebp - 0x1c], 0
je 0x1002622d
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
mov bh, bh
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
push edx
pop edx
cmp dword [ebp - 4], 0
je 0x1002622d
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
mov al, al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100f5016
mov esp, ebp
pop ebp
ret
Function at 0x10026240
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dh, dh
mov edx, edx
nop
mov dh, dh
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.100f5b10
add esp, 0xc
mov bh, bh
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ecx, ecx
mov dword [ebp - 0x60], 0x44
mov ch, ch
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 esi, esi
cmp dword [ebp - 8], 0
je 0x10026357
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov cl, cl
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov edi, edi
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov cl, cl
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
mov ebx, ebx
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 bl, bl
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
push ecx
pop ecx
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 0x10026348
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x1002633b
jmp 0x10026348
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
push eax
pop eax
jmp 0x10026312
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
xchg ebx, eax
xchg ebx, eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x1002caf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x102aa308], 0
mov dword [esp + 4], edx
je 0x1002cb3b
mov eax, 0x102aa308
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002cb18
mov ebx, ebx
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.100f5016
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 cl, cl
mov dl, dl
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 ch, ch
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
mov al, al
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.100f68f0
add esp, 0x10
mov esi, esi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
mov eax, eax
cmp eax, 0xffffffff
jne 0x1002cd4e
add esi, 1
cmp esi, 0x22
jb 0x1002cc80
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x1002cc77
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
mov ebx, ebx
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f5016
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
nop
xor eax, eax
jmp 0x1002cd60
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x102aa308], cl
add eax, 1
test cl, cl
jne 0x1002cd60
mov edx, edx
mov edx, dword [esp + 0x14]
mov eax, 0x102aa308
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x1002cd81
mov edi, edi
jmp 0x1002cd35
Function at 0x1002cfd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
mov bh, bh
mov eax, dword [ecx + 4]
mov ch, ch
cmp eax, 1
jne 0x1002d002
mov byte [esp + 0x104], al
mov bh, bh
jmp 0x1002d063
cmp eax, 2
jne 0x1002d011
mov byte [esp + 0x104], al
nop
jmp 0x1002d063
cmp eax, 3
jne 0x1002d021
mov byte [esp + 0x104], al
mov bh, bh
jmp 0x1002d063
cmp eax, 5
jne 0x1002d031
mov byte [esp + 0x104], al
mov bl, bl
jmp 0x1002d063
cmp eax, 6
jne 0x1002d041
mov byte [esp + 0x104], al
mov ah, ah
jmp 0x1002d063
cmp eax, 7
jne 0x1002d051
mov byte [esp + 0x104], al
push ecx
pop ecx
jmp 0x1002d063
cmp eax, 8
jne 0x1002d124
mov byte [esp + 0x104], al
mov dl, dl
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.100f6f60
add esp, 0xc
push eax
pop eax
mov ebx, ebx
lea edx, [esp + 0xc]
call fcn.1002caf0
xchg ebx, eax
xchg ebx, eax
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
mov dh, dh
cmp esi, 0xffffffff
je 0x1002d10b
mov dword [esp + 8], 0
mov ebx, ebx
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]
push ebx
pop ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dl, dl
cmp dword [esp + 8], 0
jne 0x1002d10b
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100f5016
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.100f5016
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.100f5016
add esp, 0x508
ret
Function at 0x1002d9d0
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 0x1002d9e9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x1002da24
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1002da20
lea ebx, [ebx]
cmp esi, eax
jae 0x1002da24
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1002da10
cmp esi, eax
jb 0x1002da2a
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 0x1002ee40
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
push edi
mov esi, esi
mov dword [esp + 8], eax
mov esi, esi
mov dword [esp + 0xc], ecx
mov ebx, ebx
mov dword [esp + 0x10], edx
mov edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov esi, esi
mov dword [esp + 0x18], 0
push ecx
pop ecx
call fcn.1002aaf0
mov edi, eax
mov esi, esi
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x1002e720
push 0
push 0
call fcn.100f7537
add esp, 0x18
mov esi, eax
mov dh, dh
push edi
call fcn.1002abb0
add esp, 4
mov esi, esi
test esi, esi
jne 0x1002eeab
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
nop
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, eax
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x1002f8f0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x101a53c4]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edi, edi
push eax
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
mov edi, edi
cmp esi, 0xffffffff
jne 0x1002f936
xor eax, eax
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.100f5016
add esp, 0x228
ret
push edi
xor edi, edi
mov cl, cl
push ebx
pop ebx
push 0x224
lea eax, [esp + 0xc]
push edi
push eax
call fcn.100f5b10
add esp, 0xc
push eax
pop eax
mov dword [esp + 8], 0x224
mov ch, ch
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.DLL_Module32First
mov ah, ah
test eax, eax
je 0x1002f995
push ebx
mov ebx, dword [esp + 0x238]
cmp ebx, dword [esp + 0x28]
je 0x1002f98e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.DLL_Module32Next
mov dl, dl
test eax, eax
jne 0x1002f975
jmp 0x1002f994
mov edi, dword [esp + 0x24]
xchg ebx, eax
xchg ebx, eax
pop ebx
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov cl, cl
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.100f5016
add esp, 0x228
ret
Function at 0x100358e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
add ecx, dword [esp + 0x3c]
mov eax, edx
adc eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov bh, bh
mov esi, dword [esp + 0x54]
cmp eax, esi
jb 0x10035922
ja 0x10035914
cmp ecx, dword [esp + 0x50]
jbe 0x10035922
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov cl, cl
mov ebp, dword [esp + 0x30]
cmp ebp, edx
jb 0x10035a7b
mov esi, dword [esp + 0x2c]
ja 0x1003593c
cmp esi, edi
jb 0x10035a7b
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cdq
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
sbb eax, edx
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
ja 0x10035a7b
jb 0x1003596f
cmp esi, ecx
jae 0x10035a7b
push ebx
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub ebx, esi
sbb edi, ebp
mov dword [esp + 0x14], edi
push ecx
pop ecx
mov eax, dword [esp + 0x50]
cmp edi, eax
jb 0x1003599e
ja 0x10035992
cmp ebx, dword [esp + 0x4c]
jbe 0x1003599e
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
push ecx
pop ecx
mov edi, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push 0
push ebx
push ecx
push ebp
push esi
push edx
call fcn.100527c0
add esp, 0x18
test eax, eax
je 0x10035a52
mov edi, dword [esp + 0x48]
mov eax, ebx
sub eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x38], eax
mov ebp, ebp
mov dl, dl
cmp edi, eax
jae 0x10035a4e
jmp 0x100359e0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
push edi
call dword [esp + 0x90]
add esp, 0x14
cmp eax, 1
jne 0x10035a40
mov al, al
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
xor edx, edx
xor eax, eax
mov ecx, edi
sub ecx, dword [esp + 0x54]
sbb edx, eax
add ecx, esi
mov esi, dword [esp + 0x7c]
adc edx, ebp
push edx
push ecx
mov ecx, dword [esp + 0x80]
call fcn.10035730
add esp, 0x14
mov cl, cl
mov esi, dword [esp + 0x30]
add edi, dword [esp + 0x78]
mov bl, bl
cmp edi, dword [esp + 0x38]
jb 0x100359e0
mov ebp, ebp
mov edi, dword [esp + 0x14]
sub ebx, dword [esp + 0x18]
sbb edi, dword [esp + 0x1c]
add esi, ebx
mov dword [esp + 0x30], esi
adc ebp, edi
push edx
pop edx
cmp ebp, dword [esp + 0x24]
jb 0x10035970
ja 0x10035a7a
cmp esi, dword [esp + 0x20]
jb 0x10035970
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x10040660
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push esi
mov esi, edx
xor eax, eax
mov ch, ch
mov cl, byte [edx]
test cl, cl
je 0x10040686
imul eax, eax, 0x83
movsx ecx, cl
add eax, ecx
add esi, 1
mov eax, eax
mov cl, byte [esi]
test cl, cl
jne 0x10040670
and eax, 0x7fffffff
mov dword [esp + 4], eax
mov edi, edi
push eax
pop eax
mov ebp, ebp
mov cl, byte [edx]
xor eax, eax
test cl, cl
mov esi, edx
je 0x100406b9
push ebx
mov ebx, eax
shl ebx, 5
sub ebx, eax
movzx eax, cl
add eax, ebx
mov ch, ch
mov cl, byte [esi + 1]
add esi, 1
test cl, cl
jne 0x100406a0
pop ebx
mov dword [esp + 8], eax
mov ebx, ebx
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100406c4
sub eax, esi
mov dword [esp + 0xc], eax
mov eax, eax
mov esi, edx
xor eax, eax
mov edi, edi
mov cl, byte [edx]
test cl, cl
je 0x100406f8
mov edx, eax
shl edx, 5
add edx, eax
movsx eax, cl
add eax, edx
add esi, 1
mov ebx, ebx
mov cl, byte [esi]
test cl, cl
jne 0x100406e1
mov dword [esp + 0x10], eax
push edx
pop edx
xchg ebx, eax
xchg ebx, eax
xor eax, eax
pop esi
mov cl, byte [esp + eax*4]
xor byte [eax + edi], cl
mov cl, cl
add eax, 1
cmp eax, 4
jl 0x10040703
mov eax, 4
add esp, 0x10
ret

Function at 0x10040910
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov byte [esp + 4], 0x72
mov byte [esp + 5], 0x62
mov byte [esp + 6], 0
mov edx, edx
mov ecx, dword [esp + 0x10]
push 0x40
lea eax, [esp + 8]
push eax
push ecx
call fcn.100f6819
add esp, 0xc
mov esi, eax
mov ch, ch
test esi, esi
jne 0x10040946
pop esi
add esp, 8
ret
mov dword [esp + 8], 0
mov eax, eax
push esi
push 4
lea edx, [esp + 0x10]
push 1
push edx
call fcn.100f64ec
add esp, 0x10
mov dl, dl
push esi
call fcn.100f61d4
add esp, 4
mov ebp, ebp
xor eax, eax
cmp dword [esp + 8], 0x4d444d44
pop esi
sete al
add esp, 8
ret