joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404390
Capabilities:
Create thread
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket
Terminate thread

Disassembly:
mov eax, 0x5110
call fcn.00405250
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_closesocket]
push esi
push edi
call fcn.00404aa0
mov esi, eax
test esi, esi
je 0x4044f4
call fcn.00404aa0
mov ebx, eax
test ebx, ebx
je 0x4044f4
mov eax, dword [esp + 0x5128]
mov ecx, dword [esp + 0x5124]
push eax
push ecx
push esi
call fcn.00404b50
add esp, 0xc
test eax, eax
jne 0x4043e7
push esi
call ebp
push ebx
call ebp
jmp 0x4043a4
mov ecx, 0x1400
xor eax, eax
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
lea edi, [esi + 1]
push 0
push 0
lea edx, [esp + 0x24]
push 0
push edx
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x40442f
cmp dword [0x40a260], 0x2714
jne 0x4043a4
jmp 0x4043fa
lea eax, [esp + 0x1c]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x404448
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4043fa
push 0
lea ecx, [esp + 0x124]
push 0x5000
push ecx
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x4043a4
mov edx, dword [esp + 0x5130]
mov eax, dword [esp + 0x512c]
push edx
push eax
push ebx
call fcn.00404b50
add esp, 0xc
test eax, eax
jne 0x40448d
push esi
call ebp
push ebx
call ebp
jmp 0x404468
push 0
lea ecx, [esp + 0x124]
push edi
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404468
lea edx, [esp + 0x18]
mov ecx, 0x1400
xor eax, eax
lea edi, [esp + 0x120]
push edx
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
push eax
push 0x404500
push 0
push 0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4044ea
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4043a4
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5110
ret

Function at 0x404aa0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and eax, ecx
ret

Function at 0x404ac0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0x14
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 4], eax
push esi
mov dword [esp + 0xc], eax
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 8], 1
mov dword [esp + 0x18], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xe], ax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov esi, dword [esp + 0x1c]
lea edx, [esp + 4]
push 4
push edx
push 4
push 0xffff
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [esp + 8]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jge 0x404b33
xor eax, eax
pop esi
add esp, 0x14
ret
push 5
push esi
call dword [sym.imp.WS2_32.dll_listen]
xor ecx, ecx
pop esi
test eax, eax
setge cl
mov eax, ecx
add esp, 0x14
ret
Function at 0x404b50
Capabilities:
Connect socket
Resolve dns

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
push esi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x404b6a
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 4], ecx
push edx
mov dword [esp + 0xc], ecx
mov word [esp + 8], 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 6], ax
mov eax, dword [esi + 0xc]
push 0x10
mov ecx, dword [eax]
lea eax, [esp + 8]
push eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.WS2_32.dll_connect]
xor edx, edx
pop esi
test eax, eax
setge dl
mov eax, edx
add esp, 0x10
ret
Function at 0x4038d0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4038f5
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push 4
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x403940
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x403968
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 3
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x403c10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
mov dword [esp + 0x3c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x403c67
mov eax, dword [esp]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
add esp, 0x54
ret
xor eax, eax
add esp, 0x54
ret

Function at 0x403cb0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x208
push esi
push edi
mov edi, ecx
call fcn.00403c70
test eax, eax
jne 0x403da8
call fcn.00427455
mov eax, dword [eax + 8]
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00409440
lea ecx, [esp + 0x10]
push str.RxMpegX.ax
lea esi, [edi + 0xc0]
push ecx
push str._s_s
push esi
call fcn.0041dff2
mov eax, dword [esi]
push eax
call fcn.00409530
add esp, 0x1c
test eax, eax
jne 0x403d30
lea edx, [esp + 8]
push edx
push str.Filter.RxMpegX
call fcn.00407b10
add esp, 8
mov dword [edi + 0xc4], eax
test eax, eax
je 0x403da8
lea eax, [esp + 8]
mov ecx, esi
push eax
call fcn.0041f739
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esi]
lea eax, [esp + 0x10c]
push edx
push eax
lea ecx, [esp + 0x10]
push str._s_regsvr32.exe__s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x18]
push edx
call fcn.00403c10
add esp, 0x14
test eax, eax
je 0x403d7f
call fcn.00403c70
test eax, eax
je 0x403d7f
mov eax, 1
jmp 0x403d81
xor eax, eax
test eax, eax
mov dword [edi + 0xc8], eax
jne 0x403da8
mov eax, dword [edi + 0xc4]
test eax, eax
je 0x403da8
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [edi + 0xc4], 0
pop edi
pop esi
add esp, 0x208
ret
Function at 0x403dc0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x403e50
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x403e29
lea ecx, [esp + 4]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [esi + 0xc0]
lea eax, [esp + 4]
push edx
push eax
lea ecx, [esp + 0x110]
push str._s_regsvr32.exe__s__u__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x118]
push edx
call fcn.00403c10
add esp, 0x14
mov dword [esi + 0xc8], 0
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x403e50
mov eax, dword [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc4], 0
pop esi
add esp, 0x208
ret
Function at 0x407b10
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x108
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.00408c50
mov edi, eax
add esp, 4
test edi, edi
je 0x407bca
call fcn.00427455
mov eax, dword [eax + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x407bca
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [esp + 0x120]
lea edx, [esp + 0x14]
push esi
push ebp
push 0x4334a0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebp
push 0x100
push 2
push ebp
push ebp
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x407bca
call fcn.00427455
mov eax, dword [eax + 8]
lea ecx, [esp + 0x10]
push ebp
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x108
ret

Function at 0x40b920
Capabilities:
Encode data using xor

Disassembly:
shl dh, 1
mov edi, 0x1ad36f2f
dec edx
invalid
movsd dword es:[edi], dword [esi]
jae 0x40b8f3
arpl word [edi + 0x762ca67d], si
out 0xb9, al
imul byte [ebx + eax*2 - 0x4263498c]
or ebp, dword ds:[0x3aebfccb]
mov eax, 0x8bd46206
cmp dh, dl
mov eax, 0x8bd46206
push edx
mov ebx, 0x36dd89f3
sbb byte [ecx - 0x339b6b2f], 0x19
cmp dword [bx + di - 3], eax
xor dword [ecx + 0x38], ecx
pop ecx
xchg ebp, eax
jbe 0x40b938
outsd dx, dword [esi]
dec edi
cmpsb byte [esi], byte es:[edi]
inc ebx
sbb dword [ecx - 0x4a16cb92], esp
xlatb
enter 0xffffffffffffab1a, 0x6d
push edi
movsb byte es:[edi], byte [esi]
mov fs, word [eax + 0x75]
mov dword [0x42963611], eax
mov dword [0x7ffd8b5d], eax
pop esi
push cs
pop ebx
mov eax, 0xeedbf5b0
invalid
Function at 0x41d910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41d93b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41d95f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41d97a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x423257
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x423299
call fcn.00427455
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x423299
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x423290
xor eax, eax
jmp 0x4232a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004232a7
pop edi
pop esi
pop ebx
ret 4

Function at 0x428076
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4280a4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4280c2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00427fdc
jmp 0x4280c2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4280c2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00427fdc
test edi, edi
mov eax, edi
jne 0x4280ac
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x40541b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c5c0]
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.00404119
and dword [ebp - 0x14], 0
cmp dword [0x40dfe8], 0
mov dword [ebp - 0x18], eax
jne 0x4054ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405576
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405576
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40dfe8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40dfec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40dff0], eax
call edi
push eax
call esi
mov dword [0x40dff8], eax
test eax, eax
je 0x4054ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40dff4], eax
mov eax, dword [0x40dff4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405527
cmp dword [0x40dff8], ecx
je 0x405527
push eax
call esi
push dword [0x40dff8]
mov edi, eax
clc

Function at 0x405786
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c5c0]
jne 0x405790
repz ret
jmp fcn.00406ac3
Function at 0x4026a8
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x40c045], 0
jne 0x402731
mov eax, esp
call fcn.004057f8
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.00406d4c
test eax, eax
jne 0x402731
push 0x40c1f4
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.00406c20
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.00406bc4
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x40281a
Capabilities:
Set registry value

Disassembly:
push ebx
add esp, 0xfffffbf8
mov ebx, eax
cmp byte [0x40c05d], 0
je 0x402891
cmp byte [0x40dd74], 0
je 0x402891
lea edx, [esp + 8]
mov eax, 0x40dd74
call fcn.004027e9
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x402891
mov eax, ebx
call fcn.00406c20
inc eax
push eax
push ebx
push 1
push 0
lea edx, [esp + 0x18]
push edx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x408
pop ebx
ret

Function at 0x402899
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x40c05d], 0
je 0x402912
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.004027e9
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x402912
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x40290a
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.00406ca0
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret

Function at 0x4029fc
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret
Function at 0x417b0f
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x417b30
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x417b27
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x417b1f
mov eax, ebx
leave
ret

Function at 0x417b56
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x417bb5
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x417be2
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x417bd1
xor ecx, eax
xor edx, ebx
dec edi
jne 0x417bc2
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x417c08
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x417ba9
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x4185cd
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4185dd
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x4186eb
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.004186fb
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x4186eb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.004186fb
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x4186eb
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.004186fb
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4186eb
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x4186e8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0041870e
test eax, eax
je 0x4186d7
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00418742
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x418692
add esp, 0xc
mov eax, 0
jmp 0x4186f5
mov esp, ebp
pop ebp
ret 8
Function at 0x436490
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b5ebb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004aa217
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436512
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a7ba0
mov eax, dword [eax]
push 0x520d08
push eax
call fcn.00499bf4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004aa4a2
test bl, bl
je 0x436512
push 0x520d08
lea ecx, [esp + 0xc]
call fcn.004aa832
push 0x520d14
lea ecx, [esp + 0xc]
call fcn.004aa832
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43654e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004aa4a2
jmp 0x436619
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4365d2
lea edx, [esp + 0x7c]
push 0x520d10
push edx
call fcn.00499bf4
add esp, 8
test eax, eax
je 0x4365d2
lea eax, [esp + 0x7c]
push 0x520d0c
push eax
call fcn.00499bf4
add esp, 8
test eax, eax
je 0x4365d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436562
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004aa4a2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x436e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x436e72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc