joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3708
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4c3762
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004c36f8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004a8ca4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004a88a4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3769
lea eax, [ebp - 4]
call fcn.00404cbc
ret

Function at 0x4d0258
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d0379
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x506a88]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x506a88]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4d0390
call fcn.0040a8a0
mov eax, dword [ebp - 4]
call fcn.004e5a80
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x506698]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x506a20]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4d03ac
call fcn.0040a8a0
mov eax, dword [ebp - 0x10]
call fcn.004e5a80
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x4cff74
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4d03cc
call fcn.0040a8a0
mov eax, dword [ebp - 0x24]
call fcn.004e5a80
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4d03e4
call fcn.0040a8a0
mov eax, dword [ebp - 0x28]
call fcn.004e5a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0380
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404ce0
lea eax, [ebp - 0x10]
call fcn.00404cbc
lea eax, [ebp - 4]
call fcn.00404cbc
ret
Function at 0x4d76c4
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4d76fa
jmp 0x4d77a0
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4d773e
mov edx, dword [ebx + 0x48]
cmp dword [edx + 0x144], 0
je 0x4d773e
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x144]
mov eax, dword [eax + 0x14]
jmp 0x4d774e
mov edx, dword [ebx + 0x48]
mov edx, dword [edx + 0x140]
test edx, edx
je 0x4d774e
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4d7767
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004d507c
jmp 0x4d77a0
mov dl, 1
mov eax, dword [0x425d70]
call fcn.00427d78
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00428564
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0xac]
mov eax, dword [esi + 0x10]
call fcn.00427928
mov edx, esp
mov eax, esi
call fcn.00428150
mov eax, esi
call fcn.00403e6c
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4dc86c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00482134
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004dc70c
mov edi, eax
test edi, edi
je 0x4dc8b9
mov al, byte [0x4dc8fc]
cmp al, bl
jne 0x4dc8b9
mov edx, edi
mov eax, ebp
call fcn.004dc6b4
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4dc8ef
cmp byte [ebp + 0x161], 2
jne 0x4dc8e2
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x506b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
mov edx, 0xb006
call fcn.0046b470
test eax, eax
jne 0x4dc8ef
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4dfa7c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040a388
add esp, 0x3ec
pop ebx
ret
Function at 0x4e0eb4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
call fcn.0047c6a4
mov edi, eax
dec edi
test edi, edi
jl 0x4e0f67
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047c6b4
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4e0efe
je 0x4e0f1f
dec eax
je 0x4e0f40
jmp 0x4e0f5f
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047c6b4
cmp byte [ebx + 0x164], 0
setne dl
call fcn.0047c5d0
jmp 0x4e0f5f
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047c6b4
cmp byte [ebx + 0x164], 1
setne dl
call fcn.0047c5d0
jmp 0x4e0f5f
mov eax, dword [ebx + 0xf4]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.0047c6b4
cmp byte [ebx + 0x164], 2
setne dl
call fcn.0047c5d0
inc esi
dec edi
jne 0x4e0edf
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x4e0f8c
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4e0fed
jmp 0x4e0f90
pop edx
pop eax
jge 0x4e0fed
mov esi, 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x138]
test byte [eax + 0x50], 2
je 0x4e0fc9
cmp byte [ebx + 0x161], 2
je 0x4e0fc9
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4e1012
push 0
mov eax, dword [ebx + 0x12c]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x104]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4e1012
cmp dword [ebx + 0x11c], 0
je 0x4e1012
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00439b24
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4ea6c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4ea835
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4ea81a
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040a388
mov dl, 1
mov eax, dword [0x4cde64]
call fcn.004cdebc
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x418e6c]
call fcn.00403e3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004cdf38
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4ea817
mov dl, 1
mov eax, dword [0x4cf02c]
call fcn.004cf094
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x4ea84c
call fcn.004ce284
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404fc8
xor eax, eax
push ebp
push 0x4ea810
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.004cf394
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004ea854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea817
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00403e6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403e6c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.00403e6c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea83c
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404ce0
ret
Function at 0x4ecb7c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040516c
mov eax, dword [ebp - 8]
call fcn.0040516c
mov eax, dword [ebp - 0xc]
call fcn.0040516c
xor eax, eax
push ebp
push 0x4eccce
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.0040517c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4eccb3
xor eax, eax
push ebp
push 0x4ecca6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ebx, eax
mov eax, ebx
call fcn.00402b48
mov esi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push ebx
push esi
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4ecc2d
call fcn.004046f8
jmp 0x4eccb3
push 0
mov eax, dword [ebp - 8]
call fcn.0040517c
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4ecc88
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push esi
push 0
mov eax, dword [ebp - 0xc]
call fcn.0040517c
push eax
push 0xa
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x1d], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ecc8f
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_EndUpdateResourceA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eccd5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ce0
ret
Function at 0x4fedac
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4fedb4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fef05
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x10]
push eax
call sub.wininet.dll_InternetGetConnectedState
test eax, eax
je 0x4feec7
xor eax, eax
push ebp
push 0x4feeaa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, 0x4fef1c
call fcn.0048f358
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.0041543c
push 0
push 0x4fef38
push 0x4fef64
push 0x4fef68
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00410f00
add esp, 0x18
push 0x4fef74
lea eax, [ebp - 0x20]
push eax
push 0
call fcn.00410f00
add esp, 0xc
push 0x4fef7c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00410f00
add esp, 0xc
lea edx, [ebp - 0x34]
lea eax, [ebp - 0xc]
call fcn.00414314
mov edx, dword [ebp - 0xc]
mov eax, 0x4fef94
call fcn.004052c0
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4fefa0
call fcn.004052c0
mov esi, eax
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
sub ecx, ebx
dec ecx
lea edx, [ebx + 1]
mov eax, dword [ebp - 0xc]
call fcn.004051dc
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.0046a2a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4feeb4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3e0]
call fcn.0046a270
jmp 0x4feecf
mov eax, dword [ebp - 8]
call fcn.00404cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fef0c
lea eax, [ebp - 0x38]
call fcn.00404cbc
lea eax, [ebp - 0x34]
call fcn.00410ef8
lea eax, [ebp - 0x24]
call fcn.004067dc
lea eax, [ebp - 0x20]
call fcn.00410ef8
lea eax, [ebp - 0xc]
call fcn.00404cbc
ret
Function at 0x4fefa4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe0c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x1e8], edx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x1f0], edx
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0xc], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ff16d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1da]
push eax
push 0x101
call sub.WS2_32.DLL_WSAStartup_1
lea eax, [ebp - 0xc]
call fcn.00404cbc
push 0x40
lea eax, [ebp - 0x4c]
push eax
call sub.WS2_32.DLL_gethostname
lea eax, [ebp - 0x4c]
push eax
call sub.WS2_32.DLL_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ff12c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 8], eax
xor ebx, ebx
jmp 0x4ff05e
push dword [ebp - 0xc]
push dword [esi]
call sub.WS2_32.DLL_inet_ntoa
lea edx, [ebp - 0x1e0]
call fcn.0040a388
push dword [ebp - 0x1e0]
push 0x4ff184
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040503c
inc ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax + ebx*4]
test esi, esi
jne 0x4ff030
mov eax, dword [ebp - 0xc]
call fcn.00404f7c
mov edx, eax
lea eax, [ebp - 0xc]
mov ecx, 1
call fcn.0040521c
xor eax, eax
push ebp
push 0x4ff11d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1e8]
mov eax, dword [0x508390]
call fcn.0046a270
push dword [ebp - 0x1e8]
push 0x4ff190
push 0x4ff19c
lea edx, [ebp - 0x1ec]
mov eax, edi
call fcn.004fedac
push dword [ebp - 0x1ec]
push 0x4ff1a8
lea edx, [ebp - 0x1f4]
mov eax, edi
call fcn.004fedac
mov edx, dword [ebp - 0x1f4]
lea ecx, [ebp - 0x1f0]
mov eax, edi
call fcn.004ff530
push dword [ebp - 0x1f0]
push 0x4ff1b4
push dword [ebp - 0xc]
lea eax, [ebp - 0x1e4]
mov edx, 8
call fcn.0040503c
mov edx, dword [ebp - 0x1e4]
mov eax, dword [0x508390]
call fcn.0046a2a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ff127
call sub.WS2_32.DLL_WSACleanup_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff174
lea eax, [ebp - 0x1f4]
mov edx, 3
call fcn.00404ce0
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.00404ce0
lea eax, [ebp - 0x1e0]
call fcn.00404cbc
lea eax, [ebp - 0xc]
call fcn.00404cbc
ret

Function at 0x4ff504
Capabilities:
Hide graphical window

Disassembly:
call fcn.00487ab4
mov eax, dword [0x506970]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ff52f
push 0
mov eax, dword [0x506970]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x500c58
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe8
mov edi, edx
mov ebx, eax
xor esi, esi
xor eax, eax
mov dword [esp + 8], eax
push 0
push 0
push 0
push 0
push 0x500d04
call sub.wininet.dll_InternetOpenA
mov dword [esp], eax
push 0
push 0
push 0
push 0
mov eax, ebx
call fcn.0040517c
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [esp + 4], eax
mov dword [esp + 0xc], 0x400
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 5
mov eax, dword [esp + 0x14]
push eax
call sub.wininet.dll_HttpQueryInfoA
mov eax, esi
call fcn.00402b48
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push esi
push ebx
mov eax, dword [esp + 0x10]
push eax
call sub.wininet.dll_InternetReadFile
mov eax, dword [esp + 4]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [esp]
push eax
call sub.wininet.dll_InternetCloseHandle
mov edx, edi
mov eax, ebx
call fcn.0040a388
mov eax, ebx
call fcn.00402b78
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x501904
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
mov dword [esp], 7
push 0
lea eax, [esp + 4]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
pop edx
ret

Function at 0x502968
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov eax, 0x502430
call fcn.00406f74
xor eax, eax
push ebp
push 0x502a98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x5083c4
mov edx, 0x502ab0
call fcn.00404d10
mov eax, dword [0x5083c4]
call fcn.0040517c
push eax
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
test ebx, ebx
jne 0x502a7e
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x502a7e
mov eax, dword [0x5083c4]
call fcn.0040517c
push eax
push 0
push 0
call fcn.0040726c
mov eax, dword [0x506970]
mov eax, dword [eax]
call fcn.0048b008
mov eax, dword [0x506970]
mov eax, dword [eax]
mov edx, 0x502ab0
call fcn.0048abf0
mov ecx, dword [0x5065d4]
mov eax, dword [0x506970]
mov eax, dword [eax]
mov edx, dword [0x4facac]
call fcn.0048b020
mov ecx, dword [0x5064c8]
mov eax, dword [0x506970]
mov eax, dword [eax]
mov edx, dword [0x4eee4c]
call fcn.0048b020
mov ecx, dword [0x506898]
mov eax, dword [0x506970]
mov eax, dword [eax]
mov edx, dword [0x4ec334]
call fcn.0048b020
mov ecx, dword [0x506b74]
mov eax, dword [0x506970]
mov eax, dword [eax]
mov edx, dword [0x4ebed4]
call fcn.0048b020
mov ecx, dword [0x5068ec]
mov eax, dword [0x506970]
mov eax, dword [eax]
mov edx, dword [0x4eb448]
call fcn.0048b020
mov eax, dword [0x506970]
mov eax, dword [eax]
call fcn.0048b0a0
jmp 0x502a8a
mov eax, dword [0x506970]
mov eax, dword [eax]
call fcn.0048b18c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502a9f
ret
Function at 0x401980
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4019a6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x401a3a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4019f5
cmp eax, 0x40
je 0x4019f5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401999
cmp eax, 0x40
je 0x401999
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x401999
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x420a99
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x420ad1
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x420abf
mov al, 1
jmp 0x420b1b
cmp dword [ebx + 0x54], ecx
jne 0x420ac8
mov al, 2
jmp 0x420b1b
cmp dword [ebx + 0x7c], ecx
jne 0x420b1b
mov al, 3
jmp 0x420b1b
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x420ae6
mov al, 4
jmp 0x420b1b
cmp ecx, 5
jne 0x420b06
cmp ebx, 0
jne 0x420af4
mov al, 5
jmp 0x420b1b
cmp ebx, 1
jne 0x420afd
mov al, 6
jmp 0x420b1b
cmp ebx, 2
jne 0x420b06
mov al, 7
jmp 0x420b1b
cmp ecx, 6
jne 0x420b12
cmp ebx, 0
jne 0x420b14
mov al, 8
jmp 0x420b1b
cmp ebx, 1
jne 0x420b1b
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ca60
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49c67b
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.00490e70
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43cae2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048ec1d
mov eax, dword [eax]
push 0x4d41f4
push eax
call fcn.004810c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004910fb
test bl, bl
je 0x43cae2
push 0x4d41f4
lea ecx, [esp + 0xc]
call fcn.0049148b
push 0x4d7d74
lea ecx, [esp + 0xc]
call fcn.0049148b
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 0x43cb1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004910fb
jmp 0x43cbe9
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 0x43cba2
lea edx, [esp + 0x7c]
push 0x4d7d70
push edx
call fcn.004810c4
add esp, 8
test eax, eax
je 0x43cba2
lea eax, [esp + 0x7c]
push 0x4d7d6c
push eax
call fcn.004810c4
add esp, 8
test eax, eax
je 0x43cba2
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 0x43cb32
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.004910fb
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 0x43d3e0
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 0x43d442
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