joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449d44
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 0x449eef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x449ed0
mov dl, 1
mov eax, dword [0x40fb90]
call fcn.00402df4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403aec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x449ebf
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.004381d8
test al, al
je 0x449eb2
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, 0x449f00
lea eax, [ebp - 0x254]
call fcn.00409944
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x449eb2
xor eax, eax
push ebp
push 0x449eab
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 0x449f38
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x449e94
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d1c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x449e94
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403d1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449eb2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x449db5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00413574
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449ef6
lea eax, [ebp - 0x260]
call fcn.00403aec
ret

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

Disassembly:
push ecx
mov eax, dword [0x48a7d4]
cmp byte [eax + 0x95], 0
jne 0x44a7f5
cmp dword [0x48a7f0], 0
jne 0x44a7b6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a740
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48a7f0], eax
cmp dword [0x48a7ec], 0
jne 0x44a7d1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x48a7ec], eax
cmp dword [0x48a7f4], 0
jne 0x44a7f5
push esp
push 0
push 0
push 0x44a6e4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x48a7f4], eax
pop edx
ret
Function at 0x44a8ec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44a903
add esp, 0xfffffff0
call fcn.00403164
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00417dc4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40f664]
call fcn.00402df4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40f664]
call fcn.00402df4
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x419c1c]
call fcn.00420e3c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44aa78
mov eax, dword [0x489ac0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042120c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44c49c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x489ac0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040cab4
test eax, eax
je 0x44a9f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cadc
test eax, eax
je 0x44aa0a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403d1c
mov eax, dword [0x489990]
cmp byte [eax], 0
jne 0x44aa3b
mov eax, ebx
call fcn.0044ab64
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44aa6d
call fcn.004031bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44add4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x48a7d4]
cmp dword [eax + 0x24], 0
je 0x44ae77
cmp dword [ebx + 0x84], 0
jne 0x44ae71
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44ad64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44ae71
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 0x44ae3a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ae71
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.004111c0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ae49
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44b884
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44b8b9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403bd4
jmp 0x44b8c3
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403b40
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c810
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44c848
mov eax, esi
call fcn.00433f3c
test al, al
je 0x44c848
mov eax, dword [ebx + 0x74]
call fcn.00433c40
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c848
push 0
mov eax, dword [ebx + 0x74]
call fcn.00433c40
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b6e8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b851
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403b84
mov eax, dword [ebp - 0x10]
call fcn.0045b250
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x45b73a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403fb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045bc24
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45b80f
xor eax, eax
push ebp
push 0x45b808
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0045b3fc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045b860
test al, al
je 0x45b7e6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403bd4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45b7e6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403f30
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x45b7e0
mov eax, dword [ebp - 0x14]
call fcn.00403f30
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403ca4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0045b6e8
dec ebx
cmp ebx, 0xffffffff
jne 0x45b799
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b80f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0045b3fc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403f30
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0045b3e8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b858
lea eax, [ebp - 0x3c]
call fcn.00403aec
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403b10
ret
Function at 0x45b80f
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b851
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403b84
mov eax, dword [ebp - 0x10]
call fcn.0045b250
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x45b73a
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00403fb4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045bc24
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45b80f
xor eax, eax
push ebp
push 0x45b808
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0045b3fc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0045b860
test al, al
je 0x45b7e6
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403bd4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x45b7e6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00403f30
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x45b7e0
mov eax, dword [ebp - 0x14]
call fcn.00403f30
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403ca4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0045b6e8
dec ebx
cmp ebx, 0xffffffff
jne 0x45b799
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b80f
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0045b3fc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00403f30
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0045b3e8
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b858
lea eax, [ebp - 0x3c]
call fcn.00403aec
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403b10
ret

Function at 0x45b860
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b34
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x489da8]
cmp byte [edx + 8], 0
je 0x45b8c4
mov edx, dword [0x489da4]
cmp dword [edx], 2
jne 0x45b8c4
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x45b8c8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x45b980
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0045b860
test al, al
je 0x45b962
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403bd4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x45b962
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00403f30
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00403f30
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403ca4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x45b91b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b987
lea eax, [ebp - 0x2c]
call fcn.00403aec
lea eax, [ebp - 0xc]
call fcn.00403aec
ret

Function at 0x45bb14
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0045b264
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403f30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x45bb72
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x489bd0]
mov dl, 1
mov eax, dword [0x45b0f0]
call fcn.0040be28
call fcn.004035bc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x45bb7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403f30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x45bbd4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x489db4]
mov dl, 1
mov eax, dword [0x45b0f0]
call fcn.0040be28
call fcn.004035bc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045b294
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403f30
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45e3d5
test al, 0x10
jne 0x45e3d9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x460a40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00403f20
xor eax, eax
push ebp
push 0x460b1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [edi], 0
mov eax, dword [ebp + 0x10]
mov word [eax], 0
mov eax, dword [ebp + 0xc]
mov word [eax], 0
mov eax, dword [ebp + 8]
mov word [eax], 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f30
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jbe 0x460b05
mov eax, ebx
call fcn.00402704
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00403f30
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x460b2c
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [edi], dx
mov dx, word [eax + 8]
and dx, 0xffff
mov ecx, dword [ebp + 0x10]
mov word [ecx], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov ecx, dword [ebp + 0xc]
mov word [ecx], dx
mov ax, word [eax + 0xc]
and ax, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], ax
mov edx, ebx
mov eax, esi
call fcn.0040271c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460b22
lea eax, [ebp - 4]
call fcn.00403aec
ret

Function at 0x460b90
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x84], 2
jne 0x460bc1
cmp dword [ebp - 0x90], 5
jb 0x460bc5
xor eax, eax
jmp 0x460bc7
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x460bcc
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [ebp - 0x84], 1
jne 0x460c06
cmp dword [ebp - 0x90], 5
jae 0x460c06
cmp dword [ebp - 0x8c], 0xa
jb 0x460c0a
xor eax, eax
jmp 0x460c0c
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x4615f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4617bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004611cc
mov edx, eax
lea eax, [ebp - 0x114]
call fcn.00403c94
mov eax, dword [ebp - 0x114]
xor edx, edx
call fcn.00408aa8
test eax, eax
jne 0x461689
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00460f98
mov byte [ebp - 0x11c], al
mov byte [ebp - 0x118], 2
lea edx, [ebp - 0x11c]
xor ecx, ecx
mov eax, 0x4617d4
call fcn.004099ac
jmp 0x4616cc
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00460f98
mov byte [ebp - 0x12c], al
mov byte [ebp - 0x128], 2
mov eax, dword [ebp - 4]
call fcn.004611cc
mov byte [ebp - 0x124], al
mov byte [ebp - 0x120], 2
lea edx, [ebp - 0x12c]
mov ecx, 1
mov eax, 0x4617e8
call fcn.004099ac
push ebp
lea eax, [ebp - 0x130]
call fcn.004613c4
pop ecx
mov eax, dword [ebp - 0x130]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.0045ed10
mov eax, dword [ebx]
call fcn.00408c2c
test al, al
jne 0x46178c
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.00460d5c
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408da4
mov eax, dword [ebp - 0x134]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.0045ed10
mov eax, dword [ebx]
call fcn.00408c2c
test al, al
jne 0x46178c
push 0x104
lea eax, [ebp - 0x10d]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x10d]
call fcn.00409464
mov eax, dword [ebp - 0x13c]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.0045ed10
mov eax, dword [ebx]
call fcn.00408c2c
test al, al
jne 0x46178c
push ebp
lea eax, [ebp - 0x140]
call fcn.004613c4
pop ecx
mov eax, dword [ebp - 0x140]
mov ecx, ebx
mov edx, dword [ebp - 8]
call fcn.0045ed10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4617c4
lea eax, [ebp - 0x140]
mov edx, 5
call fcn.00403b10
lea eax, [ebp - 0x114]
call fcn.00403aec
lea eax, [ebp - 8]
call fcn.00403aec
ret
Function at 0x46b3e0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46b51c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x46b534
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0046cd8c
mov eax, dword [ebp - 4]
call fcn.0046c61c
xor edx, edx
push ebp
push 0x46b4ff
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
jne 0x46b49e
test si, si
jne 0x46b450
mov eax, dword [ebp - 8]
call fcn.0040927c
mov esi, eax
cmp esi, 0xffff
jbe 0x46b450
call fcn.00402d64
movzx ebx, si
push 0
push ebx
movzx eax, si
sub eax, ebx
mov edx, dword [ebp - 8]
lea eax, [edx + eax]
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10288]
push eax
call sub.wsock32.dll_send
test eax, eax
je 0x46b49e
cmp eax, 0xffffffff
jle 0x46b47f
sub ebx, eax
jmp 0x46b48e
lea ecx, [ebp - 0xc]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.0046ccc0
test ebx, ebx
je 0x46b49e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x46b453
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10088], 0
je 0x46b4e9
mov eax, dword [ebp - 4]
mov byte [eax + 0x10088], 0
mov ecx, 0x46b54c
mov dl, 1
mov eax, dword [0x46a900]
call fcn.0040bd30
call fcn.004035bc
mov eax, dword [ebp - 4]
cmp word [eax + 0x10282], 0
je 0x46b4e9
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10284]
call dword [ebx + 0x10280]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b506
mov eax, dword [ebp - 4]
call fcn.0046c674
ret
Function at 0x46b660
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46b7f6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46b80c
lea edx, [ebp - 0xc]
movzx eax, si
call fcn.004089cc
push dword [ebp - 0xc]
push 0x46b81c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403e2c
mov ecx, dword [ebp - 8]
mov dl, 8
mov eax, ebx
call fcn.0046cd8c
test si, si
jne 0x46b701
push 2
push 0x10000
lea eax, [ebx + 0x24]
push eax
movzx eax, word [ebx + 0x10288]
push eax
call sub.wsock32.dll_recv
cmp eax, 0xffffffff
jne 0x46b6f0
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, ebx
call fcn.0046ccc0
mov eax, dword [ebp - 4]
call fcn.00403aec
jmp 0x46b757
mov esi, eax
cmp esi, 0xffff
jbe 0x46b757
call fcn.00402d64
jmp 0x46b757
push 2
push 0x10000
lea eax, [ebx + 0x24]
push eax
movzx eax, word [ebx + 0x10288]
push eax
call sub.wsock32.dll_recv
movzx edx, si
cmp eax, edx
jge 0x46b757
test eax, eax
jne 0x46b731
mov eax, dword [ebp - 4]
call fcn.00403aec
jmp 0x46b7db
inc eax
jne 0x46b742
lea ecx, [ebp - 0x14]
mov dx, 0x2733
mov eax, ebx
call fcn.0046ccc0
mov eax, dword [0x489c44]
mov eax, dword [eax]
call fcn.0044bbb4
cmp byte [ebx + 0x10088], 0
je 0x46b701
cmp byte [ebx + 0x10088], 0
jne 0x46b7a6
movzx edi, si
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004040a0
push 0
push edi
mov eax, dword [ebp - 4]
call fcn.00403f3c
mov edx, 1
dec edx
cmp edx, dword [eax - 4]
jb 0x46b788
call fcn.00402d64
inc edx
lea eax, [eax + edx - 1]
push eax
movzx eax, word [ebx + 0x10288]
push eax
call sub.wsock32.dll_recv
mov edx, dword [ebp - 4]
xchg edx, eax
call fcn.004040a0
jmp 0x46b7db
mov byte [ebx + 0x10088], 0
mov ecx, 0x46b828
mov dl, 1
mov eax, dword [0x46a900]
call fcn.0040bd30
call fcn.004035bc
cmp word [ebx + 0x10282], 0
je 0x46b7db
mov edx, ebx
mov eax, dword [ebx + 0x10284]
call dword [ebx + 0x10280]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b7fd
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00403b10
ret