joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437c4d
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
jl 0x437cfd
jne 0x437c6e
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret
cmp esi, 0xf
jae 0x437cf6
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x437cf6
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
call edi
fnstcw word [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
movzx eax, word [esp + 0x34]
fild qword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 8], eax
fdivp st(1)
fmul qword [0x487130]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
fldcw word [esp + 0x34]
cmp edx, esi
jb 0x437c93
pop edi
pop esi
add esp, 0x28
ret
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret

Function at 0x437f28
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
lea eax, [esp + 0x110]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x438007
push 0x100
lea ecx, [esp + 0x14]
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x10]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x438007
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x437f91
mov ecx, eax
lea esp, [esp]
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x437f88
cmp esi, edx
jle 0x437fb1
push str.0.0.0.0
push edi
call fcn.00412576
add esp, 8
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
mov eax, dword [eax + esi*4 - 4]
push 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00412990
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00414c70
lea ecx, [esp + 0x18]
push ecx
or eax, 0xffffffff
call fcn.00410210
mov esi, eax
push esi
push edi
call fcn.00412576
push esi
call fcn.00412979
add esp, 0x18
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
push 0x47f878
push edi
call fcn.00412576
add esp, 8
pop edi
pop esi
add esp, 0x29c
ret
Function at 0x438065
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20c
push 0x104
push eax
lea ecx, [esp + 8]
push ecx
call fcn.00437d03
lea edx, [esp + 0xc]
push edx
call fcn.004143fa
add esp, 0x10
test eax, eax
je 0x4380a1
cmp word [esp + eax*2 - 2], 0x5c
lea eax, [esp + eax*2 - 2]
jne 0x4380a1
xor ecx, ecx
mov word [eax], cx
push ebp
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43814a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 2
jne 0x4380de
push 0
lea eax, [esp + 8]
push eax
call ebp
test eax, eax
je 0x4380e3
mov al, 1
pop ebp
add esp, 0x20c
ret
cmp eax, 3
jne 0x43814e
push esi
push edi
lea edi, [esp + 0xc]
call fcn.0040ffa0
mov esi, eax
push 0x5c
push esi
call fcn.0041640f
add esp, 8
test eax, eax
jne 0x438114
push esi
call fcn.00412979
add esp, 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x20c
ret
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.00438065
push esi
mov bl, al
call fcn.00412979
add esp, 8
test bl, bl
je 0x43813d
push 0
lea edx, [esp + 0x14]
push edx
call ebp
test eax, eax
setne bl
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
test al, 0x10
jne 0x4380d4
xor al, al
pop ebp
add esp, 0x20c
ret

Function at 0x4383c4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4383db
test al, 0x10
je 0x4383db
mov al, 1
ret
xor al, al
ret

Function at 0x4383de
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43841d
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x438412
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4387bf
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1248
call fcn.00426240
push ebp
mov ebp, dword [esp + 0x1258]
lea eax, [esp + 4]
push eax
push 0x800
lea ecx, [esp + 0xa54]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x4387f6
xor al, al
pop ebp
add esp, 0x1248
ret
mov edx, dword [esp + 0x1250]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edx
shr esi, 2
mov byte [ebp], 0
call fcn.00438783
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], eax
test esi, esi
jbe 0x43890d
push edi
cmp byte [ebp], 0
jne 0x43890c
mov eax, dword [esp + ebx*4 + 0xa58]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x1c]
mov edi, eax
push edx
push edi
call sub.PSAPI.DLL_EnumProcessModules
mov ecx, dword [esp + 0x14]
push 0x104
lea eax, [esp + 0x22c]
push eax
push ecx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x4388fc
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x648]
push ecx
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x238]
push eax
call fcn.00415090
lea ecx, [esp + 0x448]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00412548
mov eax, dword [esp + 0x1278]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004124b5
add esp, 0x24
test eax, eax
jne 0x4388dc
mov edx, dword [esp + ebx*4 + 0xa58]
mov eax, dword [esp + 0x1260]
mov dword [eax], edx
jmp 0x4388f8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4388fc
mov eax, dword [esp + ebx*4 + 0xa58]
cmp ecx, eax
jne 0x4388fc
mov ecx, dword [esp + 0x1260]
mov dword [ecx], eax
mov byte [ebp], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x438822
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x1248
ret

Function at 0x438919
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0xa5c
push ebx
push ebp
mov ebp, dword [esp + 0xa68]
push esi
mov esi, dword [esp + 0xa74]
push edi
push 0
push 2
mov dword [esp + 0x18], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
push ebp
mov byte [esi], 0
call fcn.00438783
add esp, 4
cmp byte [esi], 0
mov ebx, eax
jne 0x438a01
lea ecx, [ecx]
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x438a01
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x65c]
push ecx
lea edx, [esp + 0x86c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00415090
lea ecx, [esp + 0x45c]
push ecx
lea edx, [esp + 0x254]
push edx
call fcn.00412548
lea eax, [esp + 0x258]
push ebp
push eax
call fcn.004124b5
add esp, 0x24
test eax, eax
jne 0x4389e0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa74]
mov dword [edx], ecx
jmp 0x4389f5
test ebx, ebx
je 0x4389f8
mov eax, dword [esp + 0x18]
cmp ebx, eax
jne 0x4389f8
mov ecx, dword [esp + 0xa74]
mov dword [ecx], eax
mov byte [esi], 1
cmp byte [esi], 0
je 0x438969
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xa5c
ret
Function at 0x438a15
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [esp + 8]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x438a77
lea ecx, [esp + 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 4]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 8
ret

Function at 0x439186
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ecx
push ebp
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, dword [esp + 0x10]
mov esi, eax
cmp ebp, esi
jne 0x4391a4
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
test esi, esi
jne 0x4391b6
push esi
push 0x480510
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebp
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4391ca
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x4392bd
push ebx
push edi
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebp
mov ebx, eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov ebp, eax
push ebp
push ebx
call esi
push 1
push edi
push ebx
call esi
push 1
push ebp
push edi
call esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x439297
push eax
push eax
push eax
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x43929f
mov dword [esp + 0x10], 4
jmp 0x43929f
mov dword [esp + 0x10], 3
push 0
push ebp
push ebx
call esi
push 0
push edi
push ebx
call esi
push 0
push ebp
push edi
call esi
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret 4
pop esi
mov eax, 2
pop ebp
pop ecx
ret 4
Function at 0x43934f
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
jl 0x439403
jne 0x439372
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret 4
cmp esi, 0xf
jae 0x4393fc
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x4393fc
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
call edi
fnstcw word [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
movzx eax, word [esp + 0x34]
fild qword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 8], eax
fdivp st(1)
fmul qword [0x487130]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
fldcw word [esp + 0x34]
cmp edx, esi
jb 0x439397
pop edi
pop esi
add esp, 0x28
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret 4

Function at 0x43981e
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov dword [esp + 4], ecx
jmp fcn.0043934f

Function at 0x43982e
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
jmp fcn.0043934f

Function at 0x43a717
Capabilities:
Hide graphical window

Disassembly:
cmp byte [esp + 8], 0
mov eax, dword [esp + 4]
je 0x43a732
mov eax, dword [eax]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
ret 8
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
ret 8

Function at 0x43a7e0
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x43a80d
lea eax, [esp + 0xc]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x43a826
push 1
jmp 0x43a80f
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
ret 8

Function at 0x43ae75
Capabilities:
Get token privileges

Disassembly:
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push ebp
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp]
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x14]
push esi
push 0
push eax
push 3
push edi
call ebx
test eax, eax
jne 0x43aec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43aed2
mov ecx, dword [esi]
push ecx
call fcn.0043ade8
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x43aed2
mov edx, dword [esi]
push esi
push edx
push eax
push 3
push edi
call ebx
test eax, eax
je 0x43aed2
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x43af1b
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
call fcn.0043adfd
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
mov esi, eax
push 0
push esi
call edi
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push eax
call ebx
push 2
push 0
push 0
lea edx, [esi + 8]
push edx
call edi
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
push ecx
call edi
push eax
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push 0
push 0
push esi
push 0x43aedb
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x43af83
Capabilities:
Impersonate user

Disassembly:
movsx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 8]
and eax, 2
or eax, 4
push 0
shr eax, 1
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
ret 0x14

Function at 0x43b13f
Capabilities:
Create process on windows

Disassembly:
mov al, byte [esp + 0x10]
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x1c], ecx
test al, 1
je 0x43b15b
lea edi, [ecx + 1]
jmp 0x43b164
test al, 2
je 0x43b164
mov edi, 2
xor bl, bl
test al, 4
je 0x43b1a7
push ebp
lea eax, [esp + 0x28]
push eax
push 0xa
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 0x28]
push 1
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov ebp, eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
pop ebp
je 0x43b1e4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
or esi, 0x400
push esi
push edx
mov edx, dword [esp + 0x28]
push 0
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43b1f3
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
pop esi
mov al, bl
pop ebx
ret 0x24
Function at 0x442637
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push ebp
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 0x17c]
mov eax, dword [ebp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0x1c]
je 0x4426e4
mov edi, 3
cmp dword [esi + 0x84], edi
jl 0x4426da
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
cmp dword [eax], 0
je 0x4426d1
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp dword [eax + 4], ecx
jne 0x4426d1
cmp byte [eax + 0x78], 0xb
je 0x4426d1
mov cl, byte [eax + 0x7b]
movzx edx, cl
cmp edx, dword [ebp + 0x17c]
je 0x4426ab
cmp byte [ebp + 0x184], 0
je 0x4426d1
cmp cl, 0xff
je 0x4426d1
cmp byte [eax + 0x78], 0xa
je 0x4426d1
mov eax, dword [eax]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
test byte [eax + 0x7a], 0x40
je 0x4426d1
cmp byte [eax + 0x78], 0x1a
jne 0x4426d1
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, dword [esi + 0x84]
jle 0x44266d
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x17c], ecx
mov edi, 3
cmp dword [esi + 0x84], edi
jl 0x442763
lea ebx, [ebx]
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
cmp dword [eax], 0
je 0x44275a
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
cmp dword [eax + 4], ecx
jne 0x44275a
cmp byte [eax + 0x78], 0xb
je 0x44275a
movzx edx, byte [eax + 0x7b]
cmp edx, dword [ebp + 0x17c]
jne 0x44275a
test byte [eax + 0x7a], 0x20
jne 0x44275a
mov eax, dword [eax]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x74]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx]
mov ecx, dword [eax]
push 4
push ecx
call ebx
mov edx, dword [esi + 0x74]
mov eax, dword [edx + edi*4]
mov eax, dword [eax]
test byte [eax + 0x7a], 0x40
je 0x44275a
cmp byte [eax + 0x78], 0x1a
jne 0x44275a
mov ecx, dword [eax]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
inc edi
cmp edi, dword [esi + 0x84]
jle 0x4426f7
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x174]
push 0
push edx
push 0x130c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4437c2
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x214
push ebx
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
je 0x44388c
xor eax, eax
cmp byte [0x49f412], al
je 0x443814
mov eax, 0x100
lea ecx, [esp + 0x14]
push ecx
or eax, 0x20019
push eax
push 0
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x443898
mov eax, dword [esp + 0x14]
push eax
call fcn.004437c2
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x443898
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x443898
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
jne 0x443805
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x214
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x214
ret

Function at 0x443971
Capabilities:
Set socket configuration

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov eax, 2
push edi
mov word [ebx], ax
push ecx
or eax, 0xffffffff
call fcn.00411440
add esp, 4
mov esi, eax
push esi
call sub.WSOCK32.dll_inet_addr
push esi
mov edi, eax
call fcn.00412979
add esp, 4
cmp edi, 0xffffffff
jne 0x4439d9
mov eax, dword [esp + 0x14]
push 0
push 1
call fcn.0040bc90
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x10
mov eax, dword [esp + 0x14]
push 0
push 2
call fcn.0040bc90
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0x10
lea edx, [ebp - 1]
mov dword [ebx + 4], edi
cmp edx, 0xfffe
ja 0x4439c3
push ebp
call sub.WSOCK32.dll_htons
pop edi
pop esi
mov word [ebx + 2], ax
pop ebp
mov al, 1
pop ebx
ret 0x10
Function at 0x443b1a
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
sub esp, 0x254
push ebx
mov ebx, dword [esp + 0x25c]
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
push eax
push ebx
mov ebp, ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x443bab
jmp 0x443b4a
lea ecx, [esp + 0x3c]
push 0x481d50
push ecx
call fcn.0041458e
add esp, 8
test eax, eax
je 0x443b9b
lea edx, [esp + 0x3c]
push 0x484b34
push edx
call fcn.0041458e
add esp, 8
test eax, eax
je 0x443b9b
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x26c]
push eax
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00438624
add esp, 0xc
test al, al
je 0x443c65
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x443b4a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [esp + 0x274], 0
je 0x443c56
lea ecx, [esp + 0x10]
push ecx
push 0x484b2c
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x443c4f
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
nop
test byte [esp + 0x10], 0x10
je 0x443c3f
lea edx, [esp + 0x3c]
push 0x481d50
push edx
call fcn.0041458e
add esp, 8
test eax, eax
je 0x443c3f
lea eax, [esp + 0x3c]
push 0x484b34
push eax
call fcn.0041458e
add esp, 8
test eax, eax
je 0x443c3f
lea ecx, [esp + 0x3c]
push ecx
call edi
mov edx, dword [esp + 0x274]
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x26c]
push edx
push eax
push ecx
push ebx
mov ecx, ebp
call fcn.00443b1a
test al, al
je 0x443c65
push 0x484b34
call edi
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x443bda
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x254
ret 0x10

Function at 0x443f22
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x49f300], 0
push esi
push edi
mov esi, 0x49e930
jne 0x443f42
push 0
call fcn.00416b62
push eax
call fcn.0043692b
add esp, 8
mov dword [0x48caac], 0x270
mov dword [0x49e92c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x443f57
mov edx, 0x18c
mov edi, edi
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x443f92
mov ecx, dword [0x49e930]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret