joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100313f7
Capabilities:
Set registry value

Disassembly:
mov eax, 0x102c
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x1028], eax
push esi
xor esi, esi
lea ecx, [esp + 0x20]
push 0x20019
push 0x10099b1c
push SysReAllocString
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call fcn.10057745
test eax, eax
jne 0x10031522
push ebp
push edi
mov edi, str.CAFEEFAC_DEC7_0000_0001_ABCDEFFEDCBA
lea ecx, [esp + 0x28]
push edi
call fcn.1001b50c
push esi
push esi
mov ebp, 0x2001f
lea ecx, [esp + 0x24]
push ebp
push esi
push esi
push edi
push dword [esp + 0x40]
call fcn.10057745
test eax, eax
jne 0x10031520
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [esp + 0xc]
push ebx
push 4
pop ebx
push ebx
push eax
push ebx
push esi
push 0x100ba788
push dword [esp + 0x34]
mov dword [esp + 0x28], esi
call edi
test eax, eax
jne 0x1003151f
push esi
push esi
push ebp
push esi
push esi
push str.InprocServer32
push dword [esp + 0x38]
lea ecx, [esp + 0x30]
call fcn.10057745
test eax, eax
jne 0x1003151f
push 0x800
lea eax, [esp + 0x3c]
push eax
push dword [0x100bf194]
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
test eax, eax
je 0x1003151f
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
push ebx
push esi
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x1003151f
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], str.ThreadingModel
push eax
push ebx
push esi
push str.Apartment
push dword [esp + 0x28]
call edi
xor ecx, ecx
inc ecx
test eax, eax
cmove esi, ecx
pop ebx
pop edi
pop ebp
lea ecx, [esp + 8]
call fcn.1001ad8c
lea ecx, [esp + 0x14]
call fcn.1001ad8c
lea ecx, [esp + 0x20]
call fcn.1001ad8c
xor ecx, ecx
mov eax, 0x80040201
test esi, esi
pop esi
cmovne eax, ecx
mov ecx, dword [esp + 0x1028]
xor ecx, esp
call fcn.1003a5a7
add esp, 0x102c
ret

Function at 0x10032d14
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x8c
test esi, esi
lea edx, [esi + 0x14]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x50
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x10032d45
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8
Function at 0x10035dec
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1044
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1058]
lea eax, [esp + 0x84c]
push edi
mov edi, dword [esp + 0x1058]
mov ebp, 0x800
push ebp
xor ebx, ebx
push ebx
push eax
call fcn.1003cd40
push esi
push ebx
push edi
push 0xffffffffffffffff
lea eax, [esp + 0x86c]
push 0x400
push eax
call fcn.10057745
add esp, 0x24
test eax, eax
jns 0x10035e54
xor eax, eax
mov word [esp + 0x104e], ax
push 0x40
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.1003cd40
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.10057745
push 0x1009ea98
lea eax, [esp + 0x28]
push 0x20
push eax
call fcn.10057745
push ebp
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.1003cd40
mov ecx, edi
add esp, 0x2c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10035e92
sub ecx, edx
sar ecx, 1
cmp ecx, 6
jbe 0x10035ee2
lea eax, [edi - 0xc]
mov edx, 0x1009ea9c
lea eax, [eax + ecx*2]
mov si, word [eax]
xor ecx, ecx
inc ecx
cmp si, word [edx]
jne 0x10035eda
test si, si
je 0x10035ed6
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x10035eda
add eax, 4
add edx, 4
test si, si
jne 0x10035eb1
mov eax, ebx
jmp 0x10035ede
sbb eax, eax
or eax, ecx
test eax, eax
je 0x10035ee4
mov ecx, ebx
lea esi, [esp + 0x10]
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
cmp ax, bx
jne 0x10035eeb
sub esi, edx
lea eax, [esp + 0x850]
push eax
sar esi, 1
mov edx, 0x1009eabc
test ecx, ecx
mov eax, str.Error:
cmove eax, edx
push eax
lea edi, [esi + esi]
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x6c]
add eax, edi
push eax
call fcn.10057745
add esp, 0x20
test eax, eax
jns 0x10035f5d
mov eax, dword [0x1009eae8]
mov dword [esp + 0x846], eax
mov eax, dword [0x1009eaec]
mov dword [esp + 0x84a], eax
push edi
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.1003c7c0
lea edi, [esp + 0x5c]
add esp, 0xc
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x10035f77
mov eax, dword [0x1009eaf0]
mov dword [edi], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x1050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x1044
ret
Function at 0x10036249
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x24
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
push str.advapi32.dll
call fcn.10057745
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov edi, eax
mov dword [esp], 0x1009eb1c
push edi
call esi
push 0x1009eb38
push edi
mov ebx, eax
call esi
push 0x1009eb4c
push edi
mov ebp, eax
call esi
push str.EqualSid
push edi
mov dword [esp + 0x24], eax
call esi
push 0x1009eb6c
push edi
mov dword [esp + 0x28], eax
call esi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
push ecx
xor eax, eax
mov word [esp + 0x30], 0x500
push eax
push eax
push eax
push eax
push eax
push eax
push 0x220
push 0x20
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
push 2
push eax
call ebx
lea eax, [esp + 0x14]
xor esi, esi
push eax
push 8
mov dword [esp + 0x1c], esi
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call ebp
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push esi
push 2
push dword [esp + 0x24]
mov dword [esp + 0x24], esi
call ebx
push dword [esp + 0x10]
call fcn.10057745
mov edi, eax
pop ecx
test edi, edi
je 0x10036351
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push edi
push 2
push dword [esp + 0x24]
call ebx
cmp dword [edi], esi
jbe 0x10036341
mov ebp, dword [esp + 0x20]
lea ebx, [edi + 4]
push dword [ebx]
push dword [esp + 0x1c]
call ebp
test eax, eax
jne 0x10036341
inc esi
add ebx, 8
cmp esi, dword [edi]
jb 0x1003632d
xor eax, eax
cmp esi, dword [edi]
push edi
setne al
mov esi, eax
call fcn.10057745
pop ecx
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [esp + 0x18]
call dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x24
ret
Function at 0x10036bf4
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x100c
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebp
push esi
mov esi, dword [esp + 0x1018]
xor eax, eax
xor ebp, ebp
mov dword [esp + 0xc], ebp
mov word [esi], ax
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebp
push 0x100a0540
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10036cf0
push edi
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
mov edi, ebp
push eax
lea eax, [esp + 0x28]
push eax
push ebp
jmp 0x10036cd5
mov eax, ebp
mov ecx, ebp
cmp dword [esp + 0xc], eax
jbe 0x10036cc5
cmp word [esp + ecx*2 + 0x14], 0x2e
jne 0x10036c6f
inc eax
cmp eax, 1
jg 0x10036c7b
inc ecx
cmp ecx, dword [esp + 0xc]
jb 0x10036c61
cmp eax, 1
jle 0x10036cc5
lea eax, [esp + 0x14]
push 0x100a0598
push eax
call fcn.10057745
pop ecx
pop ecx
test eax, eax
js 0x10036cc5
lea eax, [esp + 0x14]
push eax
call fcn.100379a5
pop ecx
test al, al
je 0x10036cc5
lea eax, [esp + 0x14]
push esi
push eax
call fcn.10057745
pop ecx
pop ecx
test eax, eax
jle 0x10036cc5
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x1024]
push esi
call fcn.10057745
add esp, 0xc
push ebp
push ebp
push ebp
push ebp
lea eax, [esp + 0x1c]
inc edi
push eax
lea eax, [esp + 0x28]
push eax
push edi
push dword [esp + 0x2c]
mov dword [esp + 0x2c], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10036c57
pop edi
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1010]
pop esi
pop ebp
xor ecx, esp
call fcn.1003a5a7
add esp, 0x100c
ret
Function at 0x1003739f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf90]
mov eax, 0x1010
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0xf8c], eax
push esi
mov esi, dword [ebp + 0xf98]
lea eax, [ebp - 0x78]
push edi
push eax
push 1
push 0
push 0x100a0a98
mov dword [ebp - 0x80], esi
mov edi, 0x1000
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003744a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.CurrentVersion
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10037441
cmp dword [ebp - 0x80], 1
jne 0x10037441
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x7c]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, edi
jae 0x1003746f
xor eax, eax
mov word [ebp + ecx - 0x74], ax
lea eax, [ebp - 0x74]
push eax
jmp 0x1003744f
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x100a0afc
mov ecx, esi
call fcn.1000155e
mov ecx, dword [ebp + 0xf8c]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1003a5a7
add ebp, 0xf90
leave
ret
call fcn.10057745
int3
Function at 0x100379a5
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x3010
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x300c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3020]
lea eax, [esp + 0x2018]
mov ebp, 0x1000
xor ebx, ebx
push ebp
push ebx
push eax
call fcn.1003cd40
push esi
push 0x100a05b0
push 0x100a05a4
lea eax, [esp + 0x2030]
push ebp
push eax
call fcn.10057745
add esp, 0x20
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
lea eax, [esp + 0x2024]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037b24
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x101c]
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
push str.JavaHome
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0xc]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10037b24
cmp dword [esp + 0x14], 1
jne 0x10037b24
mov eax, dword [esp + 0x10]
mov ecx, 0x7ff
shr eax, 1
cmp eax, 0x800
cmovb ecx, eax
add ecx, ecx
cmp ecx, ebp
jae 0x10037b3e
push edi
xor eax, eax
push ebp
mov word [esp + ecx + 0x1020], ax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.1003cd40
push str.binjava.exe
lea eax, [esp + 0x102c]
push eax
push 0x100a0638
lea eax, [esp + 0x34]
push ebp
push eax
call fcn.10057745
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [esp + 0x3c]
add esp, 0x20
push eax
call edi
test eax, eax
je 0x10037b23
push str.binclientjvm.dll
lea eax, [esp + 0x1020]
push eax
push 0x100a066c
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10057745
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call edi
mov esi, eax
lea eax, [esp + 0x101c]
push str.bin_serverjvm.dll
push eax
push str._s_s
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.10057745
add esp, 0x14
lea eax, [esp + 0x1c]
push eax
call edi
test esi, esi
jne 0x10037b21
test eax, eax
je 0x10037b23
mov bl, 1
pop edi
mov ecx, dword [esp + 0x3018]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x3010
ret
call fcn.10057745
int3

Function at 0x10037b44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0x200
push eax
push 1
xor esi, esi
push esi
push 0x100a06d8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037baf
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push 0x100a06ac
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x7c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10037baf
xor al, al
jmp 0x10037bb1
mov al, 1
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
pop esi
call fcn.1003a5a7
add ebp, 0x18c
leave
ret
Function at 0x10037caf
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4044
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x4040], eax
push ebx
push ebp
push esi
push edi
mov esi, 0x1000
lea eax, [esp + 0x50]
push esi
xor edi, edi
push edi
push eax
call fcn.1003cd40
push edi
xor ebx, ebx
lea eax, [esp + 0x60]
inc ebx
mov ebp, 0x800
push ebx
push ebp
push eax
call fcn.1001dfe7
add esp, 0x1c
test eax, eax
je 0x10037e60
lea eax, [esp + 0x50]
push eax
push str.11.281.2
call fcn.10057745
pop ecx
pop ecx
test eax, eax
jg 0x10037e60
push esi
lea eax, [esp + 0x3054]
push edi
push eax
call fcn.1003cd40
push edi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3064]
push ebp
push eax
call fcn.1001e213
add esp, 0x1c
test eax, eax
je 0x10037e60
push esi
lea eax, [esp + 0x1054]
push edi
push eax
call fcn.1003cd40
lea eax, [esp + 0x305c]
push eax
lea eax, [esp + 0x1060]
push ebp
push eax
call fcn.10057745
push str._bin_ssvagent.exe
lea eax, [esp + 0x106c]
push ebp
push eax
call fcn.10057745
push 0x3c
pop esi
push esi
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1003cd40
push 0x1000
lea eax, [esp + 0x2084]
mov dword [esp + 0x48], esi
push edi
push eax
call fcn.1003cd40
push str._high__jpisetup__register
lea eax, [esp + 0x2090]
push ebp
push eax
call fcn.10057745
add esp, 0x48
call fcn.1002db30
test eax, eax
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x1050]
mov dword [esp + 0x18], 0x40
mov edx, str.open
mov dword [esp + 0x24], eax
mov ecx, str.runas
lea eax, [esp + 0x50]
cmove ecx, edx
push eax
mov dword [esp + 0x24], ecx
call fcn.1002e849
test eax, eax
mov edx, str.__old
mov ecx, str.__new
lea eax, [esp + 0x2054]
cmove ecx, edx
push ecx
push ebp
push eax
call fcn.10057745
add esp, 0x10
lea eax, [esp + 0x2050]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x10037e5c
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x4c], edi
je 0x10037e5c
push 0xffffffffffffffff
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push dword [esp + 0x4c]
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x10037e62
mov eax, ebx
mov ecx, dword [esp + 0x4050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003a5a7
add esp, 0x4044
ret
Function at 0x10037e7b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003a680
push 0xffffffffffffffff
push 0x100683cd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x100c]
mov dword [ebp - 0x18], edi
xor ebx, ebx
lea eax, [ebp]
push 0x1000
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.1003cd40
mov eax, dword [ebp + 0x1010]
add esp, 0xc
test eax, eax
je 0x10037ee6
mov esi, dword [eax]
jmp 0x10037ee8
mov esi, ebx
movzx ecx, word [esi]
mov eax, ebx
mov edx, ebx
test cx, cx
je 0x1003800d
cmp cx, 0x2e
jne 0x10037f04
inc eax
cmp eax, 1
jg 0x10037f17
inc edx
movzx ecx, word [esi + edx*2]
test cx, cx
jne 0x10037ef8
cmp eax, 1
jle 0x1003800d
push 0x100a0b00
push esi
call fcn.10057745
pop ecx
pop ecx
test eax, eax
js 0x1003800d
push esi
call fcn.100379a5
pop ecx
test al, al
je 0x1003800d
push 0x100a0b18
lea ecx, [ebp - 0x14]
call fcn.1000155e
push 0x100a0b70
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10012712
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10037f79
call fcn.100016f0
push esi
lea ecx, [ebp - 0x10]
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10037fa2
call fcn.100016f0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10037fad
mov eax, dword [esi]
jmp 0x10037faf
mov eax, ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10037ff5
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x1000
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push 0x100a0b74
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10037ff5
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
mov ecx, edi
push eax
call fcn.1000155e
test esi, esi
je 0x1003802d
mov ecx, esi
call fcn.100016f0
jmp 0x1003802d
push str.1.3.1
push esi
call fcn.10057745
push esi
call fcn.100379a5
add esp, 0xc
mov ecx, edi
push 0x100a0606
call fcn.10012712
mov ecx, dword [ebp + 0x1010]
test ecx, ecx
je 0x1003803c
call fcn.100016f0
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 + 0x1000]
xor ecx, ebp
call fcn.1003a5a7
add ebp, 0x1004
leave
ret
Function at 0x100383b1
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x10
mov eax, 0x10068458
call fcn.1003a5de
xor esi, esi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
and dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
call fcn.1000155e
mov edi, dword [ebp - 0x14]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
test edi, edi
je 0x100383e6
xor eax, eax
cmp dword [edi], eax
sete al
jmp 0x100383e8
mov eax, ebx
test al, al
je 0x100383f3
push 0x100a061a
jmp 0x10038411
test edi, edi
je 0x100383fb
mov eax, dword [edi]
jmp 0x100383fd
xor eax, eax
push eax
call fcn.10038353
pop ecx
test eax, eax
jne 0x1003844c
lea ecx, [ebp - 0x14]
call fcn.10029b00
push eax
call dword [sym.imp.wsock32.dll_gethostbyname]
test eax, eax
je 0x100384b8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.wsock32.dll_inet_ntoa]
push eax
lea ecx, [ebp - 0x18]
call fcn.10012712
push eax
lea ecx, [ebp - 0x10]
call fcn.100015bc
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1003845c
call fcn.100016f0
jmp 0x1003845c
cmp eax, ebx
jne 0x100384b8
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.100015bc
lea ecx, [ebp - 0x10]
call fcn.10029b00
push eax
call dword [sym.imp.wsock32.dll_inet_addr]
push 2
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 4
push eax
call dword [sym.imp.wsock32.dll_gethostbyaddr]
mov esi, eax
test esi, esi
je 0x100384b5
mov ecx, dword [esi]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038487
sub ecx, edx
push ecx
push dword [esi]
call fcn.10057745
pop ecx
pop ecx
push dword [esi]
lea ecx, [ebp - 0x18]
call fcn.10012712
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x100384b0
call fcn.100016f0
mov esi, dword [ebp - 0x10]
jmp 0x100384ba
mov esi, dword [ebp - 0x10]
xor bl, bl
test edi, edi
je 0x100384c5
mov ecx, edi
call fcn.100016f0
test esi, esi
je 0x100384d0
mov ecx, esi
call fcn.100016f0
mov al, bl
call fcn.1003a5b8
ret
Function at 0x40788f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42bc40]
jne 0x407899
repz ret
jmp fcn.0040c0eb

Function at 0x40ad27
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405ac0
and dword [ebp - 4], 0
cmp dword [0x4307fc], 0
mov ebx, eax
jne 0x40add8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ae89
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ae89
push eax
call fcn.00405a4e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4307fc], eax
call esi
push eax
call fcn.00405a4e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x430800], eax
call esi
push eax
call fcn.00405a4e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x430804], eax
call esi
push eax
call fcn.00405a4e
pop ecx
mov dword [0x43080c], eax
test eax, eax
je 0x40add8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405a4e
pop ecx
mov dword [0x430808], eax
mov eax, dword [0x430808]
cmp eax, ebx
je 0x40ae30
cmp dword [0x43080c], ebx
je 0x40ae30
push eax
call fcn.00405ac9
push dword [0x43080c]
mov esi, eax
call fcn.00405ac9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ae30
test edi, edi
je 0x40ae30
call esi
test eax, eax
je 0x40ae27
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ae27
test byte [ebp - 0xc], 1
jne 0x40ae30
or dword [ebp + 0x10], 0x200000
jmp 0x40ae69
mov eax, dword [0x430800]
cmp eax, ebx
je 0x40ae69
push eax
call fcn.00405ac9
pop ecx
test eax, eax
je 0x40ae69
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ae69
mov eax, dword [0x430804]
cmp eax, ebx
je 0x40ae69
push eax
call fcn.00405ac9
pop ecx
test eax, eax
je 0x40ae69
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4307fc]
call fcn.00405ac9
pop ecx
test eax, eax
je 0x40ae89
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ae8b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x404b33
pop dword [ebp - 0x24]
mov eax, 0x1190a074
sub eax, 0x11505541
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x2f378e9f
add dword [ebp - 0x34], 0x1f1ab6ac
mov dword [ebp - 0x30], 0x68bc66f4
sub dword [ebp - 0x30], 0x36891aaf
mov dword [ebp - 0x2c], 0xc39ecd8c
add dword [ebp - 0x2c], 0x88ad76a2
mov dword [ebp - 0x28], 0xd4180ae8
add dword [ebp - 0x28], 0x2be7f518
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x160a992f
add dword [ebp - 0x34], 0x5e67d027
mov dword [ebp - 0x30], 0xffb01c0c
add dword [ebp - 0x30], 0x41bc4569
mov dword [ebp - 0x2c], 0xe8cdc641
sub dword [ebp - 0x2c], 0x855e59d5
mov dword [ebp - 0x28], 0x4909c3c6
sub dword [ebp - 0x28], 0x4909c3c6
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3da24
push 0
call eax
mov ecx, 0x47a5
mov edi, eax
mov esi, 0x434400
add esi, dword [ebp - 0x24]
mov ebx, 0xfad0dbe2
add dword [ebp - 0x10], ebx
mov edx, dword [esi]
xor dword [ebp - 0x10], 0x5e97e959
sub edx, ebx
sub dword [ebp - 0x14], edx
mov dword [edi], edx
add edi, 0x3d8f121d
sub edi, 0x3d8f1219
add esi, 0x8baa797e
add esi, 0x74558686
loop 0x404c39
add eax, 0x4d16b140
sub eax, 0x4d159fd9
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x1ede323d
sub ecx, 0x1e9e323d
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c