joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ca90
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46cc3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46cc1c
mov dl, 1
mov eax, dword [0x418eb0]
call fcn.00403410
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404290
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46cc0b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00459fb8
test al, al
je 0x46cbfe
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46cc4c
lea eax, [ebp - 0x254]
call fcn.0040a5fc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46cbfe
xor eax, eax
push ebp
push 0x46cbf7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46cc84
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46cbe0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404510
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46cbe0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404510
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cbfe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46cb01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041dc24
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cc42
lea eax, [ebp - 0x260]
call fcn.00404290
ret

Function at 0x46d570
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d7bc8]
cmp byte [eax + 0xa5], 0
jne 0x46d5e1
cmp dword [0x4d7be0], 0
jne 0x46d5a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46d52c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d7be0], eax
cmp dword [0x4d7bdc], 0
jne 0x46d5bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d7bdc], eax
cmp dword [0x4d7be4], 0
jne 0x46d5e1
push esp
push 0
push 0
push 0x46d4d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4d7be4], eax
pop edx
ret
Function at 0x46d6d8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46d6ef
add esp, 0xfffffff0
call fcn.004037a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424360
mov eax, dword [0x4d5c2c]
cmp word [eax + 2], 0
jne 0x46d717
mov eax, dword [0x4d5c2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046ee58
mov eax, dword [0x4d5dfc]
cmp word [eax + 2], 0
jne 0x46d731
mov eax, dword [0x4d5dfc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046f050
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41884c]
call fcn.00403410
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41884c]
call fcn.00403410
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42687c]
call fcn.0042e414
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46d8b8
mov eax, dword [0x4d59d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e7e4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46f600
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d59d8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e930
test eax, eax
je 0x46d826
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409c40
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e958
test eax, eax
je 0x46d83a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404510
mov eax, dword [0x4d5644]
cmp byte [eax], 0
jne 0x46d86e
mov eax, ebx
call fcn.0046d9e0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0046f7dc
mov eax, ebx
call fcn.004701c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46d8ae
call fcn.004037fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46dc60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d7bc8]
cmp dword [eax + 0x30], 0
je 0x46dd0a
cmp dword [ebx + 0x94], 0
jne 0x46dd04
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46dbf0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46dd04
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46dcca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46dd04
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041b180
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46dcd9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46e86c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46e8a1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404380
jmp 0x46e8ae
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004042e4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46f9b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46f9f9
mov eax, esi
call fcn.00455634
test al, al
je 0x46f9f9
mov eax, dword [ebx + 0x84]
call fcn.00455330
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46f9f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00455330
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4709e8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417df4]
call fcn.00404fb0
xor eax, eax
push ebp
push 0x470b2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d4020], 0
jne 0x470a3b
mov ecx, dword [0x4d567c]
mov dl, 1
mov eax, dword [0x407c18]
call fcn.0040daec
call fcn.00403c0c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402da8
mov eax, ebx
call fcn.00404bd8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x470b3c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f58
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404be8
test eax, eax
jle 0x470ad3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x470acc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404528
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404510
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b9c
test eax, eax
jne 0x470acc
mov ebx, 0x15
jmp 0x470ad8
mov ebx, 0x10
jmp 0x470ad8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d4020]
call fcn.00470940
mov eax, dword [ebp - 8]
call fcn.00470940
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470b33
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x10]
mov edx, dword [0x417df4]
call fcn.00405080
ret

Function at 0x474698
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x4d57d8]
cmp byte [eax], 0
jne 0x4746c6
mov ecx, 0xaf
mov edx, 0x47471c
mov eax, 0x474758
call fcn.004041ec
mov eax, ebx
call fcn.004049ac
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
jns 0x4746e6
call fcn.00403378
test eax, eax
je 0x47470e
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00404b40
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47476c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [0x4d57d8]
cmp byte [eax], 0
jne 0x47478f
mov ecx, 0xbd
mov edx, 0x4747e0
mov eax, 0x47481c
call fcn.004041ec
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
mov edi, eax
mov eax, ebx
add eax, 0xffffffd0
sub ax, 0xa
jae 0x4747cf
movzx esi, bx
sub esi, 0x30
jno 0x4747b4
call fcn.00403380
add esi, 0x30
jno 0x4747be
call fcn.00403380
cmp si, di
je 0x4747cf
push esi
call sub.user32.dll_VkKeyScanW
cmp al, bl
jne 0x4747cf
mov edi, esi
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x4773bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x477430
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x4773f5
call fcn.00403378
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404510
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004093f4
mov ebx, eax
test ebx, ebx
jns 0x47741a
call fcn.00403378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477437
lea eax, [ebp - 0xc]
call fcn.00404290
ret

Function at 0x477464
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4774c0
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x47748f
call fcn.0040f0ac
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.0040298c
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4774c0
call fcn.0040f0ac
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x477d08
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x477e7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d57d8]
cmp byte [eax], 0
je 0x477d5e
mov eax, ebx
mov edx, dword [0x44a8b0]
call fcn.004035cc
test al, al
je 0x477d77
mov eax, ebx
call fcn.00455634
test al, al
je 0x477d77
mov eax, ebx
call fcn.00455330
push eax
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x477d77
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0044eb10
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00404b5c
jmp 0x477e53
mov eax, ebx
mov edx, dword [0x44a8b0]
call fcn.004035cc
test al, al
jne 0x477dcc
xor edx, edx
mov eax, ebx
call fcn.00477c28
mov edi, eax
test edi, edi
jne 0x477db0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0044eb10
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00404b5c
jmp 0x477e53
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0044eb10
mov edx, dword [ebp - 0xc]
mov ecx, esi
lea eax, [edi + 0x38]
call fcn.004725e4
jmp 0x477e53
mov edi, ebx
mov eax, edi
call fcn.00455634
test al, al
jne 0x477dfc
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.0044eb10
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00404b5c
mov edx, dword [ebp - 0x10]
mov ecx, esi
mov eax, ebx
call fcn.00477c74
jmp 0x477e53
mov eax, edi
call fcn.00455330
push eax
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
add edx, 1
jno 0x477e15
call fcn.00403380
mov eax, esi
call fcn.00404f4c
mov eax, dword [esi]
call fcn.00404be8
push eax
mov eax, dword [esi]
call fcn.00404bd8
push eax
mov eax, edi
call fcn.00455330
push eax
call sub.user32.dll_GetWindowTextW
mov eax, dword [esi]
call fcn.00404be8
mov edx, eax
sub edx, 1
jno 0x477e4c
call fcn.00403380
mov eax, esi
call fcn.00404f4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477e85
lea eax, [ebp - 0x14]
call fcn.00404290
lea eax, [ebp - 0x10]
call fcn.004049ac
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004042b4
ret

Function at 0x47ac50
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x4d6168]
cmp dword [eax], 2
je 0x47ac6e
mov ecx, 0x35f
mov edx, 0x47aca0
mov eax, 0x47acdc
call fcn.004041ec
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x47abf0
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4d7ff0], eax
cmp dword [0x4d7ff0], 0
jne 0x47ac95
call fcn.0040f0ac
ret
Function at 0x481f2c
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4d43c4], 0
mov eax, dword [0x4d6168]
cmp dword [eax], 2
jne 0x482105
mov eax, dword [0x4d59e0]
cmp dword [eax], 5
jl 0x482105
call fcn.0047f08c
test al, al
jne 0x481f5d
call fcn.0047f098
call fcn.0047f084
mov dword [0x4d43cc], eax
push 0x482108
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4390], eax
cmp dword [0x4d4390], 0
jne 0x481fb8
mov edx, 0x8000
mov eax, 0x48211c
call fcn.0040f728
mov dword [0x4d43c8], eax
mov eax, dword [0x4d43c8]
mov dword [0x4d43cc], eax
push 0x482108
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4390], eax
cmp dword [0x4d4390], 0
je 0x482100
push 0x482128
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4394], eax
cmp dword [0x4d4394], 0
je 0x482100
push 0x482134
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d4398], eax
cmp dword [0x4d4398], 0
je 0x482100
mov byte [0x4d43c4], 1
push 0x482144
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d439c], eax
push 0x482150
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43a0], eax
push 0x48215c
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43a4], eax
push 0x48216c
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43a8], eax
push 0x48217c
mov eax, dword [0x4d43cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43ac], eax
mov edx, 0x8000
mov eax, 0x482194
call fcn.0040f728
mov dword [0x4d43d0], eax
cmp dword [0x4d43d0], 0
je 0x482105
push 0x4821a4
mov eax, dword [0x4d43d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43b0], eax
push 0x4821c0
mov eax, dword [0x4d43d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43b4], eax
push 0x4821e0
mov eax, dword [0x4d43d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43b8], eax
push 0x4821fc
mov eax, dword [0x4d43d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43bc], eax
push 0x482214
mov eax, dword [0x4d43d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4d43c0], eax
ret
call fcn.00481eac
ret

Function at 0x49f318
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 0x49f372
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0049f30c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0049d0b4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0049cc54
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 0x49f379
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x4b6a0c
Capabilities:
Create process on windows
Reference alidns dns server
Reference google public dns server

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4b6c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4d5d20]
cmp byte [eax], 0
jne 0x4b6a47
cmp byte [ebp - 1], 0
je 0x4b6bfb
mov eax, dword [0x4d56f0]
mov eax, dword [eax]
call fcn.00404560
cmp eax, 5
jl 0x4b6bfb
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
call fcn.004b6cac
cmp dword [ebp - 8], 0
je 0x4b6bfb
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
cmp ebx, 0x32
jle 0x4b6a82
mov ebx, 0x32
cmp byte [ebp - 1], 0
je 0x4b6aad
mov eax, dword [0x4d612c]
mov eax, dword [eax]
mov edx, 0x4b6c34
call fcn.004046ac
jne 0x4b6aad
lea eax, [ebp - 0x10]
mov edx, dword [0x4d56f0]
mov edx, dword [edx]
call fcn.00404328
jmp 0x4b6af4
cmp byte [ebp - 1], 0
je 0x4b6ac5
lea eax, [ebp - 0x10]
mov edx, dword [0x4d56f0]
mov edx, dword [edx]
call fcn.00404328
jmp 0x4b6af4
mov eax, dword [0x4d612c]
mov eax, dword [eax]
mov edx, 0x4b6c34
call fcn.004046ac
jne 0x4b6ae7
lea eax, [ebp - 0x10]
mov edx, 0x4b6c44
call fcn.00404328
jmp 0x4b6af4
lea eax, [ebp - 0x10]
mov edx, 0x4b6c54
call fcn.00404328
push 0
mov edx, dword [0x4d575c]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, 0x4b6c68
call fcn.004045ac
mov eax, dword [ebp - 0x14]
call fcn.00404760
push eax
call sub.kernel32.dll_WinExec
mov esi, ebx
dec esi
test esi, esi
jl 0x4b6bfb
inc esi
xor ebx, ebx
imul edx, ebx, 0xd7
mov eax, dword [ebp - 8]
mov eax, dword [eax + edx*4 + 0x208]
cmp eax, 6
je 0x4b6b4a
cmp eax, 0x17
je 0x4b6b4a
cmp eax, 0x47
jne 0x4b6bf3
mov eax, dword [ebp - 8]
cmp dword [eax + edx*4 + 0x244], 0x64
jbe 0x4b6bf3
imul eax, ebx, 0xd7
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x224], 4
je 0x4b6b81
imul eax, ebx, 0xd7
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x224], 5
jne 0x4b6bf3
lea eax, [ebp - 0xc]
push eax
imul eax, ebx, 0xd7
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x204]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4b6c84
call fcn.0040a67c
cmp byte [ebp - 1], 0
je 0x4b6bc8
mov eax, dword [0x4d5d20]
mov byte [eax], 1
jmp 0x4b6bd0
mov eax, dword [0x4d5d20]
mov byte [eax], 0
push 0
mov edx, dword [0x4d575c]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
call fcn.004045ac
mov eax, dword [ebp - 0x28]
call fcn.00404760
push eax
call sub.kernel32.dll_WinExec
inc ebx
dec esi
jne 0x4b6b27
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b6c25
lea eax, [ebp - 0x28]
call fcn.00404290
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004042b4
ret
Function at 0x4b72f8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404750
xor eax, eax
push ebp
push 0x4b7429
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
push ebp
push 0x4b736e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004097c8
test al, al
jne 0x4b7343
mov eax, dword [ebp - 4]
call fcn.004097ec
mov edx, dword [ebp - 4]
mov eax, 0x4b7444
call fcn.004048a4
test eax, eax
jle 0x4b7364
push 2
mov eax, dword [ebp - 4]
call fcn.00404760
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b7384
xor edx, edx
push ebp
push 0x4b73f6
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x418eb0]
call fcn.00403410
mov esi, eax
mov edx, 0x4b7454
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
mov ecx, 0x4b7464
mov edx, dword [ebp - 4]
call fcn.004045ac
push 0x80
mov eax, dword [ebp - 8]
call fcn.00404760
push eax
call sub.kernel32.dll_SetFileAttributesA
mov edx, dword [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
test esi, esi
je 0x4b73e4
mov eax, esi
call fcn.00403440
mov eax, dword [ebp - 8]
call fcn.004099c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b740e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7430
lea eax, [ebp - 8]
mov edx, 2
call fcn.004042b4
ret