joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4130e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x41311a
cmp dword [esp + 0x34], esi
je 0x41311a
push 0x200
call fcn.00427a23
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x413125
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x413284
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x41321a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x41317d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4131f3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4131e8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.00413050
cmp edx, edi
jb 0x4131e8
ja 0x4131e2
cmp eax, dword [esp + 0x24]
jbe 0x4131e8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x413170
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x413230
cmp dword [esp + 0x24], 0
jbe 0x413284
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.004103c0
add esp, 0xc
test eax, eax
jne 0x413269
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.00427521
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.00412c70
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.00427521
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x417ab0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x88
push 0xffffffffffffffff
push 0x44cb0b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [0x45c1f8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
mov ecx, 0x41
lea ebx, [ebp]
call fcn.00417710
add esp, 0xc
xor eax, eax
mov word [ebp + 0x80], ax
xor edi, edi
mov ecx, ebx
push ecx
mov ebx, 1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x417bef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x417b55
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
call fcn.00417860
test eax, eax
je 0x417b6c
mov dword [0x45c1f8], eax
jmp 0x417bd0
call fcn.004180c0
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], bl
test eax, eax
je 0x417b84
push esi
push eax
call fcn.00417f00
jmp 0x417b86
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x45c1f8], eax
test eax, eax
jne 0x417ba4
mov dword [ebp - 0x1c], ebx
push 0x455a20
lea edx, [ebp - 0x1c]
push edx
call fcn.004291ce
mov edi, ebx
mov dword [ebp - 0x24], edi
push eax
call fcn.00417950
add esp, 4
test eax, eax
jne 0x417bcb
mov dword [ebp - 0x18], 3
push 0x455a20
lea eax, [ebp - 0x18]
push eax
call fcn.004291ce
mov eax, dword [0x45c1f8]
add dword [eax + 0x5bc], ebx
mov dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test edi, edi
jne 0x417bef
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x45c1f8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
call fcn.004266be
add ebp, 0x88
mov esp, ebp
pop ebp
ret
Function at 0x417cd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ca50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x458320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x45c1f8]
xor edi, edi
cmp ecx, edi
jne 0x417d1b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x417d28
mov dword [ebp - 0x14], edi
jmp 0x417d40
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x417ddd
mov ecx, dword [0x45c1f8]
mov eax, dword [ecx]
cmp eax, edi
je 0x417d07
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x417d07
mov dword [ebp - 4], edi
mov ebx, 0x45c1f8
call fcn.00417df0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x417d7e
mov dword [ebp - 0x18], 1
push 0x455a20
lea eax, [ebp - 0x18]
push eax
call fcn.004291ce
mov ecx, esi
mov eax, dword [0x45c1f8]
call fcn.00418080
test eax, eax
jne 0x417da3
mov dword [ebp - 0x1c], 4
push 0x455a20
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004291ce
mov dword [ebp - 4], 0xffffffff
jmp 0x417dc8
mov edx, dword [0x45c1f8]
mov eax, dword [edx]
test eax, eax
je 0x417ddb
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x417df0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x417e1d
xor ecx, ecx
jmp 0x417e29
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x417edd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x417e50
mov dword [esp + 0xc], esi
jmp 0x417eb0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x417ea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417e9c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x417eb0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x417eb0
push 0x453f20
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x417eb0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x417ed3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x417e42
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x417ef1
mov ecx, dword [ebx]
add ecx, 8
call fcn.00418180
test eax, eax
je 0x417ef1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret
Function at 0x417f00
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x44cadb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x458320]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.004266d0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x417f98
push 0x455a20
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.004291ce
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x4198f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x104], 0
je 0x419923
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x104]
jmp 0x4199d9
xor eax, eax
mov word [ebp - 0x198], ax
push 0x18e
push 0
lea eax, [ebp - 0x196]
push eax
call fcn.004266d0
add esp, 0xc
mov dword [ebp - 0x19c], 0
mov eax, 0x202
mov word [ebp - 0x1a0], ax
mov dword [ebp - 0x1a4], 0
jmp 0x419973
mov eax, dword [ebp - 0x1a4]
add eax, 1
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 5
jge 0x4199af
lea eax, [ebp - 0x198]
push eax
movzx ecx, word [ebp - 0x1a0]
push ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x4199a2
jmp 0x4199af
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419964
cmp dword [ebp - 0x19c], 0
je 0x4199c3
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x104]
jmp 0x4199d9
mov eax, dword [ebp - 8]
mov dword [eax + 0x104], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x104]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret 8

Function at 0x419a30
Capabilities:
Receive data
Receive data on socket
Reference http user-agent string
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.00426e50
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x419a5c
xor eax, eax
jmp 0x419b02
mov byte [ebp - 0x808], 0
push 0x7ff
push 0
lea eax, [ebp - 0x807]
push eax
call fcn.004266d0
add esp, 0xc
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.GET__s_HTTP_1.1_r_nAccept:_text_html__application_xhtmlxml____r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:__s_r_n_r_n
push 0x800
lea edx, [ebp - 0x808]
push edx
call fcn.00409630
add esp, 0x14
push 0
lea eax, [ebp - 0x808]
push eax
call fcn.00426dc0
add esp, 4
push eax
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x419af9
push 0x800
push 0
lea eax, [ebp - 0x1008]
push eax
call fcn.004266d0
add esp, 0xc
push 0
push 0x7ff
lea eax, [ebp - 0x1008]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_recv]
jmp 0x419afd
xor eax, eax
jmp 0x419b02
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret 4
Function at 0x419b80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
push eax
call fcn.00426dc0
add esp, 4
cmp eax, 0x100
jbe 0x419bb0
xor eax, eax
jmp 0x419c54
mov eax, dword [ebp + 8]
push eax
push 0x100
mov ecx, dword [ebp - 8]
add ecx, 4
push ecx
call fcn.00409720
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x419bde
xor eax, eax
jmp 0x419c54
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x419bff
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x419c54
mov eax, 2
mov word [ebp - 0x20], ax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x419c47
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
jmp 0x419c54
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret 8

Function at 0x41a390
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0x234], 0
push 0x228
push 0
lea eax, [ebp - 0x230]
push eax
call fcn.004266d0
add esp, 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41a456
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41a44c
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp + 8]
jne 0x41a438
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004274d7
add esp, 0xc
mov dword [ebp - 0x238], 1
jmp 0x41a44c
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41a407
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret
Function at 0x41a470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
push 1
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41a4b1
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x41a4a7
mov eax, 1
jmp 0x41a4b3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41a4c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.004266d0
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x41a568
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41a55e
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp + 8]
jne 0x41a54a
mov eax, dword [ebp - 0x220]
mov dword [ebp - 8], eax
jmp 0x41a55e
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41a534
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret

Function at 0x41a580
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41a61b
cmp dword [ebp - 4], 2
jne 0x41a61b
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00401860
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401860
lea ecx, [ebp - 0x10]
call fcn.00419290
movzx eax, al
test eax, eax
jne 0x41a60b
push 0
push 0x44e560
lea ecx, [ebp - 0x10]
call fcn.00418fd0
test eax, eax
jl 0x41a60b
mov dword [ebp - 0x54], 1
lea ecx, [ebp - 0x10]
call fcn.00401910
lea ecx, [ebp - 0xc]
call fcn.00401910
mov eax, dword [ebp - 0x54]
jmp 0x41a61d
lea ecx, [ebp - 0x10]
call fcn.00401910
lea ecx, [ebp - 0xc]
call fcn.00401910
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a770
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 8
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xb7
je 0x41a7b3
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 5
jne 0x41a7d4
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x41a7d0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax], 0
xor al, al
jmp 0x41a7d6
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cbc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
call fcn.00402500
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x1c]
call fcn.0041f5c0
mov eax, dword [ebp - 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.0041ce90
lea ecx, [ebp - 0x440]
call fcn.0041fa30
push 0x400
mov eax, dword [ebp + 8]
push eax
call fcn.0041c970
add esp, 8
mov dword [ebp - 0x444], eax
push 2
push 0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41cc3e
call fcn.0040d300
mov dword [ebp - 0x20], eax
jmp 0x41cd6f
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41cc66
call fcn.0040d300
mov dword [ebp - 0x20], eax
jmp 0x41cd6f
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41cc8a
call fcn.0040d300
mov dword [ebp - 0x20], eax
jmp 0x41cd6f
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, dword [ebp - 0x38]
jae 0x41ccd4
mov dword [ebp - 0x490], 0x8007000e
lea ecx, [ebp - 0x440]
call fcn.0041fa50
lea ecx, [ebp - 0x1c]
call fcn.0041f5e0
mov eax, dword [ebp - 0x490]
jmp 0x41cda1
mov eax, dword [ebp - 0x38]
add eax, 1
push eax
lea ecx, [ebp - 0x440]
call fcn.0041faa0
lea ecx, [ebp - 0x440]
call fcn.0041fa80
test eax, eax
jne 0x41ccfe
mov dword [ebp - 0x20], 0x8007000e
jmp 0x41cd6f
mov eax, dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x440]
call fcn.0041fa80
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
call fcn.00402500
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jne 0x41cd3d
call fcn.0040d300
mov dword [ebp - 0x20], eax
jmp 0x41cd6f
lea ecx, [ebp - 0x440]
call fcn.0041fa80
xor ecx, ecx
mov edx, dword [ebp - 0x448]
mov word [eax + edx*2], cx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x440]
call fcn.0041fa80
push eax
lea ecx, [ebp - 0x28]
call fcn.0041cec0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x2c], 0
je 0x41cd7f
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x440]
call fcn.0041fa50
lea ecx, [ebp - 0x1c]
call fcn.0041f5e0
mov eax, dword [ebp - 0x48c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41e6e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x458320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10]
call fcn.004095f0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0041e670
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41e745
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
lea ecx, [ebp - 0x10]
call fcn.004095d0
mov eax, dword [ebp - 0x26c]
jmp 0x41e7d3
mov dword [ebp - 0x20], 0x100
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41e7ab
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041e6e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41e7a2
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x10]
call fcn.004095d0
mov eax, dword [ebp - 0x268]
jmp 0x41e7d3
mov dword [ebp - 0x20], 0x100
jmp 0x41e74c
lea ecx, [ebp - 0x10]
call fcn.004095a0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041e530
mov dword [ebp - 0x264], eax
lea ecx, [ebp - 0x10]
call fcn.004095d0
mov eax, dword [ebp - 0x264]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004266be
mov esp, ebp
pop ebp
ret 4