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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x493e70]
cmp byte [eax + 0xc], 0
je 0x446a51
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446a4a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x494be0], 0
jne 0x446938
push 0x446a58
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446a60
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494be0], eax
cmp dword [0x491c74], 0
jne 0x446a33
push 0x446a70
call sub.kernel32.dll_LoadLibraryA
mov dword [0x491c74], eax
cmp dword [0x491c74], 0
je 0x446a33
push 0x446a7c
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494be4], eax
push 0x446a8c
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494be8], eax
push 0x446aa0
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bec], eax
push 0x446ab8
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bf0], eax
push 0x446ad0
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bf4], eax
push 0x446ae4
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bf8], eax
push 0x446afc
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494bfc], eax
push 0x446b14
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494c00], eax
push 0x446b30
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494c04], eax
push 0x446b3c
mov eax, dword [0x491c74]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x494c08], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446a51
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44adc4
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.00404a48
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44ae13
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.00404cc8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4525e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452634]
test si, 4
je 0x4525f8
or bl, 1
test si, 8
je 0x452602
or bl, 4
test si, 1
je 0x45260c
or bl, 8
test si, 2
je 0x452616
or bl, 0x10
test si, 0x10
je 0x452620
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45262f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x452638
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x452670]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452651
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452660
or bl, 4
test esi, 0x20000000
je 0x45266b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x458d34
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x458d46
add esp, 0xfffffff0
call fcn.00403f34
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042058c
mov eax, dword [0x493954]
mov dword [eax + 4], ebx
mov dword [eax], 0x4590d8
mov eax, dword [0x493964]
mov dword [eax + 4], ebx
mov dword [eax], 0x4590e4
mov eax, ebx
call fcn.004590f0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41731c]
call fcn.00403bcc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41731c]
call fcn.00403bcc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41731c]
call fcn.00403bcc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41731c]
call fcn.00403bcc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41731c]
call fcn.00403bcc
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, 0x455508
push eax
push 0
push 0
mov eax, dword [0x493b88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422354]
call fcn.00423aec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422354]
call fcn.00423aec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422354]
call fcn.00423aec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00459540
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459408
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459408
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x459408
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458e83
call fcn.00403f8c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4591ec
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 0x459397
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459378
mov dl, 1
mov eax, dword [0x4178c4]
call fcn.00403bcc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a48
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x459367
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.00446c44
test al, al
je 0x45935a
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, 0x4593a8
lea eax, [ebp - 0x254]
call fcn.0040a848
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45935a
xor eax, eax
push ebp
push 0x459353
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 0x4593e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45933c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
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 0x45933c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45935a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45925d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c044
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 0x45939e
lea eax, [ebp - 0x260]
call fcn.00404a48
ret

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

Disassembly:
push ecx
mov eax, dword [0x494c2c]
cmp byte [eax + 0xa5], 0
jne 0x459d51
cmp dword [0x494c44], 0
jne 0x459d12
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459c9c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x494c44], eax
cmp dword [0x494c40], 0
jne 0x459d2d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x494c40], eax
cmp dword [0x494c48], 0
jne 0x459d51
push esp
push 0
push 0
push 0x459c40
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x494c48], eax
pop edx
ret
Function at 0x45a3e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x494c2c]
cmp dword [eax + 0x30], 0
je 0x45a48e
cmp dword [ebx + 0x94], 0
jne 0x45a488
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a374
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a488
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 0x45a44e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a488
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.00419918
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a45d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45afec
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 0x45b021
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.00404b38
jmp 0x45b02e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a9c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c1f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c239
mov eax, esi
call fcn.00442304
test al, al
je 0x45c239
mov eax, dword [ebx + 0x84]
call fcn.0044202c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c239
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044202c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45cd80
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x492008]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x45cdbc
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x45cdd4
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x45cdcd
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004034b8
xor edx, edx
mov eax, 0x492208
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x45ce3e
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x45cdf2
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x45d07c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x45d095
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x45d08e
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x45d0a7
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x45d0a0
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0045cc70
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x45d0c1
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0045cd80
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x45d146
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x45d163
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0045cd00
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x45d18c
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x45d1a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x45d1bd
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x45d1b6
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x45d1d1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045cb68
test bl, bl
jne 0x45d2a4
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x494c58
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x45d208
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x45d21c
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045d07c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x45d24e
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x45d1fd
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x45d271
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x45d282
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x45d296
jmp 0x45d35f
cmp bl, 1
jne 0x45d35f
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x494cb2
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x45d2c4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x45d2d8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045d07c
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x45d30a
sub ebx, 6
inc dword [ebp - 8]
jne 0x45d2b9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x45d331
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x45d342
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x45d356
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0045cbec
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x45dadc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f08
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x45dca2
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0045dfe0
test al, al
jne 0x45db5b
call fcn.0045e004
test al, al
jne 0x45db5b
lea eax, [ebp - 4]
push eax
mov ecx, 0xf
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404f78
xor eax, eax
push ebp
push 0x45dc70
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00421bb4
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.00421bd4
mov ebx, eax
jmp 0x45dc4c
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404cc8
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040a068
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004090e0
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004090e0
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404e64
je 0x45dc2c
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404cc8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004090e0
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004090e0
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404e64
jne 0x45dc41
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.00421bf4
mov ebx, eax
test ebx, ebx
jne 0x45db8d
push esi
call sub.kernel32.dll_CloseHandle_1
push 0x1f4
call sub.kernel32.dll_Sleep_1
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dc7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dca9
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404a6c
lea eax, [ebp - 4]
call fcn.00404a48
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f08
xor eax, eax
push ebp
push 0x45ddd5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404f18
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45ddb9
test al, 0x10
je 0x45ddbd
xor ebx, ebx
jmp 0x45ddbf
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45dddc
lea eax, [ebp - 4]
call fcn.00404a48
ret
Function at 0x46d0f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46d122
mov eax, ebx
call fcn.0046dba8
cmp dword [ebx + 0x40], 0
je 0x46d11b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46d193
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46d185
cmp dword [ebx + 8], 0
je 0x46d144
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46d156
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46d185
cmp dword [ebx + 8], 0
je 0x46d137
cmp eax, 3
je 0x46d169
dec eax
jne 0x46d137
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46d137
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46d137
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46d1b1
cmp dword [ebx + 0x14], 0xcc
je 0x46d1b1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046d1bc
pop ebx
ret
Function at 0x47ebf8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ed32
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0041a5f0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x47ec74
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47ec74
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004090e0
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x493894]
mov ebx, dword [ebx]
mov eax, 0x47ed48
call ebx
dec eax
jne 0x47ec74
mov ebx, 1
jmp 0x47ec76
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x47ed17
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00469ecc
test al, al
jne 0x47ed0b
mov eax, dword [ebp - 4]
call fcn.0047ebec
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404a9c
xor edx, edx
push ebp
push 0x47ecf9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x47ecef
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0047f00c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47ed0b
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x47ec8e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ed39
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404a6c
ret

Function at 0x484ea8
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 0x484f0c
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.00404cc8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409b48
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484f13
lea eax, [ebp - 0xc]
call fcn.00404a48
ret