joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465054
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00407da0
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0045fd14
test ebx, ebx
jne 0x4650a7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00464f90
mov ebx, eax
test ebx, ebx
je 0x465192
cmp esi, ebx
je 0x4650d0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4650e5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x46511d
add eax, 0xffffff5f
sub eax, 2
jb 0x465135
dec eax
sub eax, 2
jb 0x465149
dec eax
sub eax, 2
jb 0x46513f
jmp 0x465153
add eax, 0xfffffdff
sub eax, 2
jb 0x465135
dec eax
sub eax, 2
jb 0x465149
dec eax
sub eax, 2
jb 0x46513f
jmp 0x465153
mov byte [esp + 0x120], 0
jmp 0x46515b
mov byte [esp + 0x120], 2
jmp 0x46515b
mov byte [esp + 0x120], 1
jmp 0x46515b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044e7e4
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004614b8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x465194
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x465e00
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
je 0x465e1c
cmp dword [esi + 4], 0
je 0x465e49
test byte [ebx + 0x55], 1
jne 0x465e3b
mov eax, ebx
call fcn.004641e8
test eax, eax
jne 0x465e3b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x465f59
mov edx, esi
mov eax, ebx
call fcn.00465808
jmp 0x465f59
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x465f52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00467e90
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004614b8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00465e00
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00467e90
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465f59
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d258
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x69233c]
cmp byte [eax + 0xc], 0
je 0x46d3c5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d3be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [fcn.006987a0], 0
jne 0x46d2ac
push 0x46d3cc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x46d3d4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [fcn.006987a0], eax
cmp dword [0x677064], 0
jne 0x46d3a7
push 0x46d3e4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x677064], eax
cmp dword [0x677064], 0
je 0x46d3a7
push 0x46d3f0
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987a4], eax
push 0x46d400
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987a8], eax
push 0x46d414
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987ac], eax
push 0x46d42c
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987b0], eax
push 0x46d444
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987b4], eax
push 0x46d458
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987b8], eax
push 0x46d470
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987bc], eax
push 0x46d488
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987c0], eax
push 0x46d4a4
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [fcn.006987c4], eax
push 0x46d4b0
mov eax, dword [0x677064]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6987c8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d3c5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405684
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46ec86
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405904
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472d34
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x472e67
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42adb0]
call fcn.0042aeec
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x472e3d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042afc8
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405904
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x472e7c
call fcn.004059c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0042b154
lea ecx, [ebp - 4]
mov edx, 0x472eb8
mov eax, dword [ebp - 0xc]
call fcn.0042b3a4
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004125c0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x472e20
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x472ec4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x677150]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472e27
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x472f14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x472f5b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472f3e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x472f4f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x472f5b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47809c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x412ad4]
call fcn.00406498
xor eax, eax
push ebp
push 0x47823d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x677184], 0
jne 0x4780f7
mov ecx, dword [0x68ff14]
mov dl, 1
mov eax, dword [0x40a7f8]
call fcn.00410788
call fcn.00404ffc
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403cb4
mov eax, ebx
call fcn.004060b4
mov dword [ebp - 0x24], eax
mov esi, 0x47824c
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00407660
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004060c4
test eax, eax
jle 0x4781e0
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4781cc
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405904
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x478172
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405938
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x478188
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405938
mov eax, dword [ebp - 0x54]
call fcn.00405b74
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405904
mov eax, dword [ebp - 0x58]
call fcn.00405b74
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x4781ce
xor eax, eax
test al, al
je 0x4781d9
mov ebx, 0x15
jmp 0x4781e5
mov ebx, 0x10
jmp 0x4781e5
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x677184]
call fcn.00477f20
mov eax, dword [ebp - 4]
call fcn.00477f20
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00407678
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478244
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.004056a8
lea eax, [ebp - 0xc]
mov edx, dword [0x412ad4]
call fcn.00406568
ret

Function at 0x4796f0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x47974a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x690288]
cmp byte [eax], 0
je 0x47971a
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x479734
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004058bc
mov eax, dword [ebp - 4]
call fcn.00405b74
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479751
lea eax, [ebp - 4]
call fcn.00405684
ret
Function at 0x4797c8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x479840
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x690288]
cmp byte [eax], 0
je 0x4797f8
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x479825
lea eax, [ebp - 4]
mov edx, esi
call fcn.004058bc
mov eax, dword [ebp - 4]
call fcn.00405b74
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004058bc
mov eax, dword [ebp - 8]
call fcn.00405b74
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479847
lea eax, [ebp - 8]
mov edx, 2
call fcn.004056a8
ret

Function at 0x479850
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4798cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x690288]
cmp byte [eax], 0
je 0x479884
push edi
push esi
push ebx
call sub.kernel32.dll_CopyFileW
mov ebx, eax
jmp 0x4798b2
push edi
lea eax, [ebp - 4]
mov edx, esi
call fcn.004058bc
mov eax, dword [ebp - 4]
call fcn.00405b74
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004058bc
mov eax, dword [ebp - 8]
call fcn.00405b74
push eax
call sub.kernel32.dll_CopyFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4798d4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004056a8
ret

Function at 0x479c8c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x479dbb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x690288]
cmp byte [eax], 0
je 0x479ce7
call fcn.00479b9c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
push edi
push esi
call dword [0x6771c0]
mov esi, eax
jmp 0x479d92
mov eax, dword [ebp + 8]
push eax
push 0x160
lea eax, [ebp - 0x160]
push eax
push edi
lea eax, [ebp - 0x164]
mov edx, esi
call fcn.004058bc
mov eax, dword [ebp - 0x164]
call fcn.00405b74
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x2b4
call fcn.00403cb4
mov eax, dword [ebp - 0x160]
mov dword [ebx], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x158]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x154]
mov ecx, 0x104
call fcn.00406070
mov edx, dword [ebp - 0x168]
lea eax, [ebx + 0xc]
mov ecx, 0x104
call fcn.00478f78
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x50]
mov ecx, 0x50
call fcn.00406070
mov edx, dword [ebp - 0x16c]
lea eax, [ebx + 0x214]
mov ecx, 0x50
call fcn.00478f78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479dc2
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.00405ed4
lea eax, [ebp - 0x164]
call fcn.00405684
ret
Function at 0x47a968
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 0x47a9cc
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405904
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040c430
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a9d3
lea eax, [ebp - 0xc]
call fcn.00405684
ret

Function at 0x47aa6c
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 0x47aac8
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x47aa97
call fcn.00411ef0
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403234
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 0x47aac8
call fcn.00411ef0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x497fc4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x498061
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x690288]
cmp byte [eax], 0
jne 0x49800c
lea eax, [ebp - 0xc]
mov edx, edi
call fcn.00405938
mov edx, dword [ebp - 0xc]
mov ecx, ebx
mov eax, dword [esi + 4]
call fcn.0042b32c
mov byte [ebp - 1], al
jmp 0x49804b
mov eax, ebx
xor ecx, ecx
mov edx, 8
call fcn.00403cb4
lea eax, [ebx + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.004060b4
push eax
mov eax, esi
call fcn.004982cc
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
sete byte [ebp - 1]
mov eax, dword [ebp - 8]
call fcn.00497bac
mov byte [ebx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498068
lea eax, [ebp - 0xc]
call fcn.00405684
ret

Function at 0x4981f8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4982ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x690288]
cmp byte [eax], 0
jne 0x498247
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
mov edx, esi
call fcn.00405938
mov edx, dword [ebp - 8]
mov ecx, edi
mov eax, dword [ebx + 4]
call fcn.0042b41c
mov ebx, eax
jmp 0x4982a4
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.004060b4
push eax
mov eax, ebx
call fcn.004982cc
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x498294
mov dword [ebp - 0x10], esi
mov byte [ebp - 0xc], 0xf
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [0x692374]
mov dl, 1
mov eax, dword [0x42ad50]
call fcn.004107c4
call fcn.00404ffc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00497bac
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4982c1
lea eax, [ebp - 8]
call fcn.00405684
ret
Function at 0x49dc9c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.00405684
cmp edi, 0xffffffff
jne 0x49dcca
mov edi, 6
test esi, esi
jge 0x49dcd7
mov dword [ebp - 0xc], 1
neg esi
cmp dword [ebp + 0xc], 1
jl 0x49dd08
cmp dword [ebp + 0xc], 9
jg 0x49dd08
cmp dword [ebp - 8], 8
jne 0x49dd08
cmp esi, 8
jl 0x49dd08
cmp esi, 0xf
jg 0x49dd08
test edi, edi
jl 0x49dd08
cmp edi, 9
jg 0x49dd08
cmp dword [ebp + 8], 0
jl 0x49dd08
cmp dword [ebp + 8], 2
jle 0x49dd12
mov eax, 0xfffffffe
jmp 0x49de01
mov eax, 0x16bc
call fcn.00402fc8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
mov eax, dword [ebp - 4]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
mov eax, esi
mov dword [ebx + 0x28], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x24], edx
dec edx
mov dword [ebx + 0x2c], edx
mov eax, dword [ebp + 0xc]
add eax, 7
mov dword [ebx + 0x48], eax
mov ecx, eax
mov edx, 1
shl edx, cl
mov dword [ebx + 0x44], edx
dec edx
mov dword [ebx + 0x4c], edx
mov eax, dword [ebx + 0x48]
add eax, 3
dec eax
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x24]
add eax, eax
call fcn.00402fc8
mov dword [ebx + 0x30], eax
mov eax, dword [ebx + 0x24]
add eax, eax
call fcn.00402fc8
mov dword [ebx + 0x38], eax
mov eax, dword [ebx + 0x44]
add eax, eax
call fcn.00402fc8
mov dword [ebx + 0x3c], eax
mov ecx, dword [ebp + 0xc]
add ecx, 6
mov eax, 1
shl eax, cl
mov dword [ebx + 0x1690], eax
add eax, eax
add eax, eax
call fcn.00402fc8
mov dword [ebx + 8], eax
mov edx, dword [ebx + 0x1690]
add edx, edx
add edx, edx
mov dword [ebx + 0xc], edx
mov edx, dword [ebx + 0x1690]
shr edx, 1
lea eax, [eax + edx*2]
mov dword [ebx + 0x1698], eax
mov eax, dword [ebx + 0x1690]
lea eax, [eax + eax*2]
mov edx, dword [ebx + 8]
lea eax, [edx + eax]
mov dword [ebx + 0x168c], eax
mov dword [ebx + 0x78], edi
mov eax, dword [ebp + 8]
mov dword [ebx + 0x7c], eax
movzx eax, byte [ebp - 8]
mov byte [ebx + 0x1d], al
mov eax, dword [ebp - 4]
call fcn.0049de20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49f424
Capabilities:
Check os version

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff54
mov esi, eax
xor ebx, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, esi
xor ecx, ecx
mov edx, 0x300
call fcn.00403cb4
push esi
mov esi, 0x49f55c
mov edi, 0x699c90
mov ecx, pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
pop esi
lea eax, [esp + 0x18]
xor ecx, ecx
mov edx, 0x94
call fcn.00403cb4
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x28], 2
jne 0x49f4a3
mov eax, esi
call fcn.0049efb4
mov ebx, eax
test bl, bl
jne 0x49f4c3
mov eax, esi
call fcn.0049f260
mov ebx, eax
jmp 0x49f4c3
xor edi, edi
jmp 0x49f4b1
mov eax, esi
call fcn.0049f17c
mov ebx, eax
inc edi
cmp edi, 0xa
jge 0x49f4c3
test bl, bl
jne 0x49f4c3
cmp byte [0x699c90], 0
je 0x49f4a7
cmp bl, 1
jne 0x49f544
mov esi, 0x699c90
jmp 0x49f53b
cmp byte [esi], 0x2d
jne 0x49f4d7
inc esi
jmp 0x49f53b
push 0
push 0xa
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
call fcn.00406a68
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
movzx ebx, byte [esi]
mov eax, ebx
add al, 0xd0
sub al, 0xa
jb 0x49f509
add al, 0xf9
sub al, 0x1a
jb 0x49f51a
add al, 0xfa
sub al, 0x1a
jb 0x49f52b
jmp 0x49f53a
movzx eax, bl
sub eax, 0x30
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
jmp 0x49f53a
movzx eax, bl
sub eax, 0x37
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
jmp 0x49f53a
movzx eax, bl
sub eax, 0x57
cdq
add dword [esp + 0x10], eax
adc dword [esp + 0x14], edx
inc esi
test esi, esi
je 0x49f544
cmp byte [esi], 0
jne 0x49f4cf
fild qword [esp + 0x10]
fstp xword [esp]
wait
fld xword [esp]
add esp, 0xac
pop edi
pop esi
pop ebx
ret

Function at 0x4a05bc
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x4a05df
and ecx, ecx
jle 0x4a05df
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x4a05e5]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x4a05cf
pop edi
pop ebx
ret