joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bb84
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4c1a0c]
cmp byte [eax + 0xc], 0
je 0x47bcf1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bcea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c2bcc], 0
jne 0x47bbd8
push 0x47bcf8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x47bd00
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bcc], eax
cmp dword [0x4c1070], 0
jne 0x47bcd3
push 0x47bd10
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c1070], eax
cmp dword [0x4c1070], 0
je 0x47bcd3
push 0x47bd1c
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bd0], eax
push 0x47bd2c
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bd4], eax
push 0x47bd40
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bd8], eax
push 0x47bd58
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bdc], eax
push 0x47bd70
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2be0], eax
push 0x47bd84
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2be4], eax
push 0x47bd9c
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2be8], eax
push 0x47bdb4
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bec], eax
push 0x47bdd0
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bf0], eax
push 0x47bddc
mov eax, dword [0x4c1070]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4c2bf4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bcf1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4808e8
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.00404354
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x480937
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.004045c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48816c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4881bc]
test si, 4
je 0x488180
or bl, 1
test si, 8
je 0x48818a
or bl, 4
test si, 1
je 0x488194
or bl, 8
test si, 2
je 0x48819e
or bl, 0x10
test si, 0x10
je 0x4881a8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4881b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4881c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4881f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4881d9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4881e8
or bl, 4
test esi, 0x20000000
je 0x4881f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x488248
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.004881fc
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x48e8dc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x48e8ee
add esp, 0xfffffff0
call fcn.00403900
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421e98
mov eax, dword [0x4c1620]
mov dword [eax + 4], ebx
mov dword [eax], 0x48ec80
mov eax, dword [0x4c1630]
mov dword [eax + 4], ebx
mov dword [eax], 0x48ec8c
mov eax, ebx
call fcn.0048ec98
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416f38]
call fcn.00403558
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416f38]
call fcn.00403558
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416f38]
call fcn.00403558
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416f38]
call fcn.00403558
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416f38]
call fcn.00403558
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x48b0b0
push eax
push 0
push 0
mov eax, dword [0x4c17a4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4239b4]
call fcn.0042514c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4239b4]
call fcn.0042514c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4239b4]
call fcn.0042514c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048f130
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48eff8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48eff8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x48eff8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48ea2b
call fcn.00403958
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48eddc
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 0x48ef87
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x48ef68
mov dl, 1
mov eax, dword [0x41759c]
call fcn.00403558
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404354
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x48ef57
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.0047bee4
test al, al
je 0x48ef4a
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, 0x48ef98
lea eax, [ebp - 0x254]
call fcn.00409aa4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x48ef4a
xor eax, eax
push ebp
push 0x48ef43
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 0x48efd0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x48ef2c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045c4
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 0x48ef2c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ef4a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x48ee4d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041be44
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 0x48ef8e
lea eax, [ebp - 0x260]
call fcn.00404354
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c2c18]
cmp byte [eax + 0xa5], 0
jne 0x48f941
cmp dword [0x4c2c30], 0
jne 0x48f902
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x48f88c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c2c30], eax
cmp dword [0x4c2c2c], 0
jne 0x48f91d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c2c2c], eax
cmp dword [0x4c2c34], 0
jne 0x48f941
push esp
push 0
push 0
push 0x48f830
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4c2c34], eax
pop edx
ret
Function at 0x490004
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c2c18]
cmp dword [eax + 0x30], 0
je 0x4900ae
cmp dword [ebx + 0x94], 0
jne 0x4900a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48ff94
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4900a8
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 0x49006e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4900a8
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.00419788
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49007d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x490c0c
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 0x490c41
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.00404444
jmp 0x490c4e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043a8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x491d78
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x491db9
mov eax, esi
call fcn.00477468
test al, al
je 0x491db9
mov eax, dword [ebx + 0x84]
call fcn.00477164
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x491db9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00477164
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x49893c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4989f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a60
mov eax, dword [0x4c15d0]
cmp byte [eax], 0
je 0x4989ab
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404dc0
mov eax, dword [ebx]
call fcn.00404bec
push eax
mov eax, dword [ebx]
call fcn.00404bdc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404bec
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404dc0
jmp 0x4989dd
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409624
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4989fd
lea eax, [ebp - 0x3f0]
call fcn.00404354
ret
Function at 0x498a04
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.00409624
add esp, 0x3ec
pop ebx
ret

Function at 0x498bc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x498c8a
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.004881fc
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.00498880
mov edi, eax
test edi, edi
je 0x498c23
mov al, byte [0x498c98]
cmp al, bl
jne 0x498c23
mov edx, edi
mov eax, ebp
call fcn.004987b8
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x498c8a
cmp byte [ebp + 0x171], 2
jne 0x498c4e
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c1948]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00471b30
test eax, eax
jne 0x498c8a
jmp 0x498c85
mov edx, dword [0x4c1838]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x138]
cmp edx, eax
je 0x498c85
test byte [eax + 0x2f4], 8
jne 0x498c85
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4c1838]
mov eax, edx
mov edx, 0xb006
call fcn.00471b30
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49f078
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 [0x4c1948]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x49f11e
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x49f0bd
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49f0f9
jmp 0x49f0c1
pop edx
pop eax
jge 0x49f0f9
mov eax, dword [0x4c1948]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004999b8
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x49f11e
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x49f11e
cmp dword [ebx + 0x12c], 0
je 0x49f11e
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00439064
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x13c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4a63a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a6462
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a60
mov eax, dword [0x4c15d0]
cmp byte [eax], 0
je 0x4a6417
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404dc0
mov eax, dword [ebx]
call fcn.00404bec
push eax
mov eax, dword [ebx]
call fcn.00404bdc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404bec
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404dc0
jmp 0x4a6449
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409624
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6469
lea eax, [ebp - 0x3f0]
call fcn.00404354
ret

Function at 0x4a96f8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4a9752
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004a975c
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9759
ret

Function at 0x4aff8c
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4affc2
jmp 0x4b0068
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4b0006
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4b0006
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4b0016
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4b0016
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4b002f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004ac918
jmp 0x4b0068
mov dl, 1
mov eax, dword [0x423cf4]
call fcn.00425c5c
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.004266d4
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.0042580c
mov edx, esp
mov eax, esi
call fcn.00426360
mov eax, esi
call fcn.00403588
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4b286c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00477164
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00470884
pop ebx
ret
Function at 0x4bd268
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4bd28e
push 0
mov eax, dword [ebx + 0x94]
call fcn.00477164
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4bd348
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 0x4bd4b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4bd49e
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.00409624
mov dl, 1
mov eax, dword [0x492fe8]
call fcn.00493040
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41788c]
call fcn.00403558
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004930bc
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4bd49b
mov dl, 1
mov eax, dword [0x494434]
call fcn.0049449c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4bd4d0
call fcn.00493824
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404660
xor eax, eax
push ebp
push 0x4bd494
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0049479c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004bd4d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd49b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00403588
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00403588
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00403588
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd4c0
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404378
ret
Function at 0x40166d
Capabilities:
Terminate process

Disassembly:
push edi
push 0x41a4e8
push 0x10
call fcn.00408cb1
pop ecx
xor edi, edi
pop ecx
push eax
push 0x1028
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
cmp eax, edi
mov dword [0x423d20], eax
jne 0x4016a0
push 0xffffffffffffffff
call fcn.0040c443
push edi
push edi
push edi
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
mov dword [0x423d24], eax
jne 0x4016bf
push 0xffffffffffffffff
call fcn.0040c443
mov dword [eax], 0x1028
mov eax, dword [0x423d24]
mov dword [eax + 4], 0x1194
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov ecx, dword [0x423d24]
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ecx, dword [0x423d24]
push 0x423f34
mov dword [ecx + 0xc], eax
mov eax, dword [0x423d24]
mov dword [eax + 0x10], edi
mov eax, dword [0x423d24]
add eax, 0x101c
push eax
call fcn.0040bb60
mov eax, dword [0x423d24]
add eax, 0x14
push eax
call fcn.0040171f
add esp, 0xc
pop edi
ret

Function at 0x40198c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push 0x423f34
lea eax, [ebp - 0x210]
push dword [ebp + 8]
push str.__s___vt__s
push eax
call fcn.0040ba39
add esp, 0x10
lea eax, [ebp + 8]
xor ebx, ebx
push eax
push 0x2001f
push ebx
push 0x41a5b8
push 0x2d
mov dword [ebp + 8], ebx
call fcn.00408cb1
pop ecx
pop ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a8c
push edi
push 0x40
pop ecx
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
mov esi, 0x41a460
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 1
push esi
push 0x13
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x401a4f
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0040ba90
pop ecx
test eax, eax
pop ecx
je 0x401a83
lea eax, [ebp - 0x210]
push eax
call fcn.0040c050
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push 1
push esi
push 0x13
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x401e21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.0040c020
push ebx
push edi
mov ebx, 0x41a738
push 0
push ebx
push 0xd
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
mov edi, 0x423b18
push eax
push edi
push 0x41a72c
push 9
call fcn.00408cb1
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0040ba39
add esp, 0x10
cmp byte [ebp + 8], 0
jne 0x401e88
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401fc1
push esi
mov esi, 0x1008
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.0040bc80
add esp, 0xc
mov dword [ebp - 0x1210], esi
mov dword [ebp - 0x120c], 0x3ed
push 0
push ebx
push 0xd
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push 0x41a454
push 6
call fcn.00408cb1
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1208]
push eax
call fcn.0040ba39
lea eax, [ebp - 0x1008]
push edi
push eax
call fcn.0040bb60
add esp, 0x14
push 1
pop esi
push esi
push 0x41a71c
push 0xc
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0xe08]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push esi
push 0x41a710
push 8
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0xc08]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push esi
push 0x41a44c
push 6
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0xa08]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push esi
push 0x41a444
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push 0
push 0x41a474
push 0xe
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x608]
push str._s_s
push eax
call fcn.0040ba39
lea eax, [ebp - 0x1210]
push esi
push eax
call fcn.00401fc5
add esp, 0x18
pop esi
pop edi
pop ebx
leave
ret