joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2e9c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4c2eae
add esp, 0xfffffff0
call fcn.0040558c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00445e18
mov eax, dword [0x540e58]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c32f8
mov eax, dword [0x540e68]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c3304
mov eax, ebx
call fcn.004c3310
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4bdc44
push eax
push 0
push 0
mov eax, dword [0x5410d8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x453460]
call fcn.00459734
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x453460]
call fcn.00459734
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x453460]
call fcn.00459734
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x453460]
call fcn.00459734
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x453460]
call fcn.00459734
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004c3868
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c36d8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c36d8
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c36d8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c36d8
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c36d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c3029
call fcn.004055e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c3478
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c3625
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4c3606
mov dl, 1
mov eax, dword [0x431734]
call fcn.0043d6f4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406fc4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4c35f5
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.004a5ad8
test al, al
je 0x4c35e8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4c3634
lea eax, [ebp - 0x394]
call fcn.00414b70
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4c35e8
xor eax, eax
push ebp
push 0x4c35e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4c36a4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4c35ca
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004071ac
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
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 + 0x40]
jne 0x4c35ca
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.004071ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c35e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4c34eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.0043d630
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c362c
lea eax, [ebp - 0x3a0]
call fcn.00406fb4
ret

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

Disassembly:
push ecx
mov eax, dword [0x5472c0]
cmp byte [eax + 0xad], 0
jne 0x4c41f6
cmp dword [0x5472d8], 0
jne 0x4c41b6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x540318]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5472d8], eax
cmp dword [0x5472d4], 0
jne 0x4c41d1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5472d4], eax
cmp dword [0x5472dc], 0
jne 0x4c41f6
push esp
push 0
push 0
mov eax, dword [0x540314]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5472dc], eax
pop edx
ret
Function at 0x4c451c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4c4533
add esp, 0xfffffff0
call fcn.0040558c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00445e18
mov eax, dword [0x540ce0]
cmp byte [eax], 0
jne 0x4c4560
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x5410b0]
cmp word [eax + 2], 0
jne 0x4c457a
mov eax, dword [0x5410b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c6614
mov eax, dword [0x541204]
cmp word [eax + 2], 0
jne 0x4c4594
mov eax, dword [0x541204]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c6824
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x453460]
call fcn.00459734
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4c6dd4
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4578f8]
call fcn.00462ba4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4c4774
mov eax, dword [0x540f18]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00463038
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4c70bc
mov dl, 1
mov eax, dword [0x42f034]
call fcn.00405028
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x540f18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414990
test eax, eax
je 0x4c46a5
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00414740
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00414974
test eax, eax
je 0x4c46bd
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.004071ac
push ebx
push 0x4c5fe4
call fcn.004ba22c
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x540ce0]
cmp byte [eax], 0
jne 0x4c470e
mov eax, ebx
call fcn.004c48e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004c72e8
mov eax, ebx
call fcn.004c7f1c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c476b
call fcn.004055e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c4bbc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4c4c5e
cmp dword [ebx + 0x94], 0
jne 0x4c4c58
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4c4b08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4c4c58
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_GetWindowLongW
test al, 8
je 0x4c4c1e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4c4c58
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.0043a088
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4c4c2d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4c4e7c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5472c0]
cmp dword [eax + 0x170], 0
je 0x4c4fe1
test bl, bl
jne 0x4c4f2f
cmp dword [esi + 0x9c], 0
jne 0x4c4f24
mov eax, esi
call fcn.004c7d6c
push eax
push 0x4c4d88
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4c4ef5
mov eax, dword [0x5472c0]
cmp byte [eax + 0xd3], 0
je 0x4c4ef5
mov eax, dword [esi + 0xd8]
call fcn.004087d8
mov edi, eax
cmp edi, 0
jl 0x4c4ef5
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c4ede
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c4f24
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a088
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c4f04
inc dword [esi + 0x9c]
jmp 0x4c4fe1
cmp dword [esi + 0x9c], 0
jle 0x4c4fe1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4c4fe1
cmp dword [esi + 0x44], 0
je 0x4c4f8c
mov eax, dword [0x5472c0]
cmp byte [eax + 0xd3], 0
je 0x4c4f8c
mov eax, dword [esi + 0xd8]
call fcn.004087d8
mov edi, eax
cmp edi, 0
jl 0x4c4f8c
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c4f75
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c4fbb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0043a088
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c4f9b
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4b8104]
call fcn.00408998
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4c5c30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4c5c9b
cmp byte [ebx + 0xd3], 0
jne 0x4c5c9b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407100
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4c5c88
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4c5ca8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406fc4
jmp 0x4c5ca8
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406fc4
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c74d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c753e
mov eax, esi
call fcn.0049f8cc
test al, al
je 0x4c753e
mov eax, dword [ebx + 0x84]
call fcn.0049f520
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c753e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c7532
push 0
mov eax, dword [ebx + 0x84]
call fcn.0049f520
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00496470
jmp 0x4c753e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c7308
pop esi
pop ebx
ret
Function at 0x4e3d1c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40cd54]
call fcn.00407c3c
xor eax, eax
push ebp
push 0x4e3e66
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x540500], 0
jne 0x4e3d70
mov ecx, dword [0x540d04]
mov dl, 1
mov eax, dword [0x40de30]
call fcn.004194c8
call fcn.00405bf4
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.00404a1c
mov eax, ebx
call fcn.00406bf0
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4e3e74
lea edi, [ebp - 0x34]
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 esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00409f18
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4e3db7
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4e3e0c
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4e3e05
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00407214
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.004071ac
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.004130fc
test eax, eax
jne 0x4e3e05
mov ebx, 0x15
jmp 0x4e3e11
mov ebx, 0x10
jmp 0x4e3e11
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x540500]
call fcn.004e3b2c
mov eax, dword [ebp - 4]
call fcn.004e3b2c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409f30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e3e6d
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406fbc
lea eax, [ebp - 0xc]
mov edx, dword [0x40cd54]
call fcn.00407d14
ret
Function at 0x4f5700
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe00
mov ebx, eax
test ebx, ebx
je 0x4f580a
mov ebp, ebx
mov eax, ebp
test eax, eax
je 0x4f5721
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test ebx, ebx
je 0x4f5731
mov eax, ebp
sub eax, 0xa
movzx eax, word [eax]
jmp 0x4f5735
mov ax, 2
cmp ax, 1
jne 0x4f57ae
test ebx, ebx
je 0x4f5749
mov eax, ebp
sub eax, 0xc
movzx eax, word [eax]
jmp 0x4f5751
mov eax, dword [0x541248]
movzx eax, word [eax]
push 0
push 0
push edi
push ebx
push 0
movzx eax, ax
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x100
jle 0x4f5779
mov eax, edi
add eax, eax
call fcn.00404484
mov esi, eax
jmp 0x4f577b
mov esi, esp
test ebx, ebx
je 0x4f5789
mov eax, ebp
sub eax, 0xc
movzx edx, word [eax]
jmp 0x4f5792
mov edx, dword [0x541248]
movzx edx, word [edx]
mov eax, ebp
test eax, eax
je 0x4f579d
sub eax, 4
mov eax, dword [eax]
push edi
push esi
push eax
push ebx
push 0
movzx eax, dx
push eax
call sub.kernel32.dll_MultiByteToWideChar_1
jmp 0x4f57d2
cmp edi, 0x100
jle 0x4f57c3
mov eax, edi
add eax, eax
call fcn.00404484
mov esi, eax
jmp 0x4f57c5
mov esi, esp
mov ecx, edi
add ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.0040463c
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4f57fb
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4f57e5
mov eax, esp
cmp esi, eax
je 0x4f580c
mov eax, esi
call fcn.004044a0
jmp 0x4f580c
xor ebx, ebx
mov eax, ebx
add esp, 0x200
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x51b368
Capabilities:
Check os version

Disassembly:
add esp, 0xfffffeec
mov dword [esp], 0x114
push esp
call sub.kernel32.dll_GetVersionExW
cmp dword [esp + 0x10], 2
jne 0x51b38d
cmp dword [esp + 4], 5
jb 0x51b38d
mov al, 1
jmp 0x51b38f
xor eax, eax
add esp, 0x114
ret
Function at 0x414dc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GdBKlczN
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x414de2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414de9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414dd8
mov eax, 1
add ebx, ebx
jne 0x414dfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414df0
jne 0x414e0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414df0
xor ecx, ecx
sub eax, 3
jb 0x414e20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414e92
mov ebp, eax
add ebx, ebx
jne 0x414e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414e38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x414e5c
inc ecx
add ebx, ebx
jne 0x414e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x414e3d
jne 0x414e59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414e3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x414e7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x414e6d
jmp 0x414dde
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x414e7c
add edi, ecx
jmp 0x414dde
pop esi
mov edi, esi
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x414e9a
cmp byte [edi], 5
jne 0x414e9a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x414e9f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x414f17
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19bb8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19bf4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414ecc
mov ecx, edi
jns 0x414efb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19bfc]
or eax, eax
je 0x414f11
mov dword [ebx], eax
add ebx, 4
jmp 0x414ee9
call dword [esi + 0x19bf8]
mov ebp, dword [esi + 0x19c00]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x414f4b
sub esp, 0xffffff80
jmp 0x401134

Function at 0x407420
Capabilities:
Complete processing asynchronous io request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x1c], eax
xor dl, dl
mov ecx, dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, dword [ebp + 0xc]
pop ebp
ret 0xc
Function at 0x40ebf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a4bfb
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.00499961
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ec72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004976cf
mov eax, dword [eax]
push 0xebfc78
push eax
call fcn.00489624
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00499bec
test bl, bl
je 0x40ec72
push 0xebfc78
lea ecx, [esp + 0xc]
call fcn.00499f7c
push 0xebfc84
lea ecx, [esp + 0xc]
call fcn.00499f7c
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 0x40ecae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00499bec
jmp 0x40ed79
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 0x40ed32
lea edx, [esp + 0x7c]
push 0xebfc80
push edx
call fcn.00489624
add esp, 8
test eax, eax
je 0x40ed32
lea eax, [esp + 0x7c]
push 0xebfc7c
push eax
call fcn.00489624
add esp, 8
test eax, eax
je 0x40ed32
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 0x40ecc2
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.00499bec
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 0x40f570
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 0x40f5d2
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