joyce8/EMBER2024-capa huggingface dataset:
Function at 0x73731414
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x737315bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x737315a0
mov dl, 1
mov eax, dword [0x736f1b4c]
call fcn.736e30cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.736e3e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x7373158f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.7371f420
test al, al
je 0x73731582
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x737315d0
lea eax, [ebp - 0x254]
call fcn.736e8ad0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x73731582
xor eax, eax
push ebp
push 0x7373157b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x73731608
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x73731564
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.736e40bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x73731564
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.736e40bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x73731582
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x73731485
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.736f5630
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x737315c6
lea eax, [ebp - 0x260]
call fcn.736e3e4c
ret

Function at 0x73731ef4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x73738bdc]
cmp byte [eax + 0xa5], 0
jne 0x73731f65
cmp dword [0x73738bf4], 0
jne 0x73731f26
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x73731eb0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x73738bf4], eax
cmp dword [0x73738bf0], 0
jne 0x73731f41
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x73738bf0], eax
cmp dword [0x73738bf8], 0
jne 0x73731f65
push esp
push 0
push 0
push 0x73731e54
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x73738bf8], eax
pop edx
ret
Function at 0x7373205c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x73732073
add esp, 0xfffffff0
call fcn.736e3420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.736f9440
mov eax, dword [0x73736ffc]
cmp word [eax + 2], 0
jne 0x7373209b
mov eax, dword [0x73736ffc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.73733734
mov eax, dword [0x737370a8]
cmp word [eax + 2], 0
jne 0x737320b5
mov eax, dword [0x737370a8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.7373392c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x736f1730]
call fcn.736e30cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x736f1730]
call fcn.736e30cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x736fb97c]
call fcn.73702cf4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x7373223c
mov eax, dword [0x73736f24]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.737030c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x73733ecc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x73736f24]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.736ec1a0
test eax, eax
je 0x737321aa
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.736e84c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.736ec1c8
test eax, eax
je 0x737321be
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.736e40bc
mov eax, dword [0x73736e18]
cmp byte [eax], 0
jne 0x737321f2
mov eax, ebx
call fcn.73732364
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.737340a8
mov eax, ebx
call fcn.73734a6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x73732232
call fcn.736e3478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x737325e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x73738bdc]
cmp dword [eax + 0x30], 0
je 0x7373268e
cmp dword [ebx + 0x94], 0
jne 0x73732688
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x73732574
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x73732688
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x7373264e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x73732688
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.736f3a98
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x7373265d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x737331f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x73733225
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.736e3f3c
jmp 0x73733232
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.736e3ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x73734284
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x737342c5
mov eax, esi
call fcn.7371aa4c
test al, al
je 0x737342c5
mov eax, dword [ebx + 0x84]
call fcn.7371a748
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x737342c5
push 0
mov eax, dword [ebx + 0x84]
call fcn.7371a748
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10004d90
Capabilities:
Create thread

Disassembly:
push dword [ebp + 0x10]
push dword [ebp - 0x148]
push dword [0x100f26dc]
jmp fcn.10004a90
Function at 0x10010020
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], eax
mov al, 0x64
push ebp
mov ebp, dword [esp + 0x34]
mov cl, 0x61
mov byte [esp + 0xd], al
mov byte [esp + 0x15], al
mov al, 0x6c
push esi
push edi
mov byte [esp + 0x14], cl
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x70
mov byte [esp + 0x19], 0x69
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
mov ah, ah
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test edx, edx
test bl, bl
test esi, esi
je 0x1001012a
mov al, 0x65
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x25], al
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0x4f
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x4b
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x79
mov byte [esp + 0x2e], 0x45
mov byte [esp + 0x2f], 0x78
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0
test edx, edx
lea edx, [esp + 0x24]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ch, ch
test edi, edi
je 0x1001012a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
push ebx
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10074da4
add esp, 0x28
ret 0x14
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10074da4
add esp, 0x28
ret 0x14

Function at 0x10012430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x100dbd3c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x410], 0
push 0x1ff
push 0
lea eax, [ebp - 0x40f]
push eax
call fcn.10075a40
add esp, 0xc
mov bh, bh
lea ecx, [ebp - 0x410]
push ecx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, edi
mov byte [ebp - 0x210], 0
push 0x1ff
push 0
lea edx, [ebp - 0x20f]
push edx
call fcn.10075a40
add esp, 0xc
test esi, esi
push 0x200
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov eax, eax
mov byte [ebp - 0xc], 0x25
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x25
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0
test edi, edi
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10076985
add esp, 0x10
test ecx, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074da4
mov esp, ebp
pop ebp
ret
Function at 0x10012a10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100dbd3c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100e1b50], 0
jne 0x10012ad8
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
test edx, 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
test eax, 0x6b4f
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 [0x100e1b50], eax
mov bh, bh
cmp dword [0x100e1b50], 0
jne 0x10012ae5
xor eax, eax
jmp 0x10012aea
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10074da4
mov esp, ebp
pop ebp
ret
Function at 0x10025950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100dbd3c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
pop eax
test dl, dl
mov dword [ebp - 0x48], 0
mov dh, dh
mov dword [ebp - 0x4c], 0
test eax, 0x74c5
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
test ecx, ecx
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 edi, edi
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
test eax, eax
cmp dword [ebp - 0x48], 0
je 0x10025a54
push eax
pop eax
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
nop
cmp dword [ebp - 0x54], 0
jl 0x10025a54
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
test ch, ch
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10074da4
mov esp, ebp
pop ebp
ret
Function at 0x10026080
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100dbd3c]
xor eax, ebp
mov dword [ebp - 0xc], eax
push eax
pop eax
mov dword [ebp - 4], 0
mov ch, ch
mov dword [ebp - 8], 0
push eax
pop eax
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 ch, ch
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
push eax
pop eax
cmp dword [ebp - 0x1c], 0
je 0x1002616d
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 ebx
pop ebx
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
test eax, eax
cmp dword [ebp - 4], 0
je 0x1002616d
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
test bl, bl
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10074da4
mov esp, ebp
pop ebp
ret
Function at 0x10026180
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
xchg ebx, eax
xchg ebx, eax
mov bh, bh
mov edx, edx
mov edi, edi
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.10075a40
add esp, 0xc
mov ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
test edx, edx
mov dword [ebp - 0x60], 0x44
mov dl, dl
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
test ecx, ecx
cmp dword [ebp - 8], 0
je 0x10026298
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
push ebx
pop ebx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov ebx, ebx
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
push edx
pop edx
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
mov edx, edx
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]
push ebx
pop ebx
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 0x10026289
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x1002627c
jmp 0x10026289
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov dh, dh
jmp 0x10026253
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
test eax, eax
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x100332c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x100e1ee8], 0
mov dword [esp + 4], edx
je 0x1003330b
mov eax, 0x100e1ee8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100332e8
test ch, ch
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.10074da4
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 ebp, ebp
test al, al
mov eax, eax
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 esi, esi
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.10076985
add esp, 0x10
mov ebp, ebp
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
mov edi, edi
cmp eax, 0xffffffff
jne 0x10033521
add esi, 1
cmp esi, 0x22
jb 0x10033450
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x10033447
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
test eax, 0x72ad
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10074da4
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x100e1ee8], cl
add eax, 1
test cl, cl
jne 0x10033530
mov ah, ah
mov edx, dword [esp + 0x14]
mov eax, 0x100e1ee8
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10033551
push edx
pop edx
jmp 0x10033508
Function at 0x10033570
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x100dbd3c]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
push ebx
pop ebx
mov eax, dword [ecx + 4]
mov bh, bh
cmp eax, 1
jne 0x100335a2
mov byte [esp + 0x104], al
mov bl, bl
jmp 0x10033604
cmp eax, 2
jne 0x100335b2
mov byte [esp + 0x104], al
mov cl, cl
jmp 0x10033604
cmp eax, 3
jne 0x100335c2
mov byte [esp + 0x104], al
test esi, esi
jmp 0x10033604
cmp eax, 5
jne 0x100335d2
mov byte [esp + 0x104], al
test edx, edx
jmp 0x10033604
cmp eax, 6
jne 0x100335e2
mov byte [esp + 0x104], al
test ecx, ecx
jmp 0x10033604
cmp eax, 7
jne 0x100335f2
mov byte [esp + 0x104], al
push edx
pop edx
jmp 0x10033604
cmp eax, 8
jne 0x100336c5
mov byte [esp + 0x104], al
test 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.100756d0
add esp, 0xc
test bh, bh
mov ecx, ecx
lea edx, [esp + 0xc]
call fcn.100332c0
push ebx
pop ebx
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 ecx, ecx
cmp esi, 0xffffffff
je 0x100336ac
mov dword [esp + 8], 0
mov ah, ah
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]
test bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test cl, cl
cmp dword [esp + 8], 0
jne 0x100336ac
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.10074da4
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.10074da4
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.10074da4
add esp, 0x508
ret