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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00406a0d
xor ebx, ebx
cmp dword [0x4233d4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40d390
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40d470
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40d470
push eax
call fcn.0040699f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4233d4], eax
call esi
push eax
call fcn.0040699f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4233d8], eax
call esi
push eax
call fcn.0040699f
mov dword [0x4233dc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004081a6
test eax, eax
pop ecx
pop ecx
je 0x40d35e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040305e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40d390
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040699f
cmp eax, ebx
pop ecx
mov dword [0x4233e4], eax
je 0x40d390
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040699f
pop ecx
mov dword [0x4233e0], eax
mov eax, dword [0x4233e0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40d415
cmp dword [0x4233e4], ecx
je 0x40d415
push eax
call fcn.00406a16
push dword [0x4233e4]
mov esi, eax
call fcn.00406a16
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40d415
cmp edi, ebx
je 0x40d415
call esi
cmp eax, ebx
je 0x40d3e2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d3e2
test byte [ebp - 0x18], 1
jne 0x40d415
lea eax, [ebp - 0x10]
push eax
call fcn.004081dd
test eax, eax
pop ecx
je 0x40d3fd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040305e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40d40c
or dword [ebp + 0x10], 0x200000
jmp 0x40d450
or dword [ebp + 0x10], 0x40000
jmp 0x40d450
mov eax, dword [0x4233d8]
cmp eax, dword [ebp - 8]
je 0x40d450
push eax
call fcn.00406a16
cmp eax, ebx
pop ecx
je 0x40d450
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40d450
mov eax, dword [0x4233dc]
cmp eax, dword [ebp - 8]
je 0x40d450
push eax
call fcn.00406a16
cmp eax, ebx
pop ecx
je 0x40d450
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4233d4]
call fcn.00406a16
cmp eax, ebx
pop ecx
je 0x40d470
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d472
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413ca0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x218
push ebx
push esi
xor ebx, ebx
push edi
mov edi, eax
push ebx
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x413dd8
push ebp
push esi
call fcn.00402cda
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x413dcb
push ebp
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x413dc2
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x41e4bc
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x413dc2
push 0x208
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.00407e80
add esp, 0xc
xor esi, esi
test dword [esp + 0x14], 0xfffffffc
jbe 0x413dbd
mov edi, dword [esp + 0x22c]
cmp edi, ebx
je 0x413dab
cmp word [edi], bx
jne 0x413dab
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push 0x41e574
push ecx
push edx
push str.StringFileInfo_04x_04x_s
push 0xffffffffffffffff
lea eax, [esp + 0x34]
push 0x104
push eax
call fcn.00403b9e
add esp, 0x1c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x28]
push eax
push ebp
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x413dab
mov eax, dword [esp + 0x1c]
cmp eax, 0x7e
jb 0x413d9b
mov eax, 0x7e
mov ecx, dword [esp + 0x10]
add eax, 1
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov edx, dword [esp + 0x14]
add esi, 1
shr edx, 2
cmp esi, edx
jb 0x413d33
mov ebx, 1
push ebp
call fcn.0040318e
add esp, 4
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x218
ret
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x218
ret
Function at 0x413e30
Capabilities:
Get file version info

Disassembly:
sub esp, 0x428
push ebp
mov ebp, dword [esp + 0x430]
push edi
xor edi, edi
push 0x208
lea eax, [esp + 0x22a]
push edi
push eax
mov word [esp + 0x230], di
call fcn.00407e80
push 0x208
lea ecx, [esp + 0x2a]
push edi
push ecx
mov word [esp + 0x30], di
call fcn.00407e80
add esp, 0x18
cmp ebp, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edi
mov dword [esp + 8], edi
mov dword [esp + 0x10], edi
je 0x413fbb
cmp word [ebp], di
je 0x413fbb
mov eax, dword [esp + 0x438]
cmp eax, edi
je 0x413fbb
push esi
push 0x208
push edi
push eax
call fcn.00407e80
add esp, 0xc
push edi
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x413faf
push ebx
push esi
call fcn.00402cda
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x413fae
push ebx
push esi
push edi
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x413fa5
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x41e4bc
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x413fa5
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor esi, esi
test dword [esp + 0x10], 0xfffffffc
jbe 0x413f89
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
push str.StringFileInfo_04x_04xFileVersion
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push 0x105
push eax
call fcn.00403b9e
add esp, 0x18
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
mov dword [esp + 0x24], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x413f75
mov ecx, dword [esp + 0x10]
add esi, 1
shr ecx, 2
cmp esi, ecx
jb 0x413f20
jmp 0x413f89
mov edx, dword [esp + 0x14]
push 0x104
push edx
lea eax, [esp + 0x234]
push eax
call ebp
mov edx, dword [esp + 0x440]
push 0x104
lea ecx, [esp + 0x230]
push ecx
push edx
call ebp
mov edi, 1
push ebx
call fcn.0040318e
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 0x428
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x428
ret
Function at 0x414290
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x13c0
call fcn.0040c580
push edi
xor edi, edi
push 0xf9c
lea eax, [esp + 0x42c]
push edi
push eax
mov dword [esp + 0x430], edi
call fcn.00407e80
push 0x206
lea ecx, [esp + 0x22]
push edi
push ecx
mov dword [esp + 0x1c], edi
mov word [esp + 0x28], di
call fcn.00407e80
add esp, 0x18
lea edx, [esp + 4]
push edx
push 0xfa0
lea eax, [esp + 0x42c]
push eax
mov dword [esp + 0x14], edi
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x414474
mov eax, dword [esp + 4]
cmp eax, edi
je 0x414474
push ebx
push ebp
shr eax, 2
push esi
mov dword [esp + 0x18], eax
mov ebx, edi
je 0x414467
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ecx, dword [esp + ebx*4 + 0x430]
push ecx
push edi
push 0x410
call esi
mov edi, eax
test edi, edi
je 0x4143bc
push 0x208
lea edx, [esp + 0x20]
push 0
push edx
mov dword [esp + 0x20], 0
call fcn.00407e80
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x4143b5
mov eax, dword [esp + 0x14]
push 0x104
lea edx, [esp + 0x20]
push edx
push eax
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x4143b5
push 0x41e430
lea ecx, [esp + 0x20]
push ecx
call ebp
test eax, eax
je 0x4143d0
push str.BDSGTray.exe
lea edx, [esp + 0x20]
push edx
call ebp
test eax, eax
je 0x4143d0
push 0x41e460
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
je 0x4143d0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add ebx, 1
cmp ebx, dword [esp + 0x18]
jae 0x414467
xor edi, edi
jmp 0x414320
push 0x208
lea ecx, [esp + 0x22a]
push 0
push ecx
mov word [esp + 0x230], 0
call fcn.00407e80
add esp, 0xc
push 0x104
lea edx, [esp + 0x228]
push edx
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x224]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414425
mov esi, dword [esp + 0x13d4]
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x228]
push ecx
call fcn.00401930
push 1
push 0x41e42c
mov ecx, esi
call fcn.00401860
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x13c0
ret
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x13c0
ret
xor eax, eax
pop edi
add esp, 0x13c0
ret
Function at 0x414480
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x418ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x648
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x400
lea eax, [esp + 0x252]
push ebx
push eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov word [esp + 0x258], bx
call fcn.00407e80
add esp, 0xc
push 0x208
lea ecx, [esp + 0x42]
push ebx
push ecx
mov dword [esp + 0x28], 0x400
mov word [esp + 0x48], bx
call fcn.00407e80
add esp, 0xc
mov edi, esi
call fcn.004012a0
push str.IsWow64Process
push str.kernel32
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, ebx
je 0x414521
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
je 0x414525
mov eax, dword [esp + 0x18]
neg eax
sbb eax, eax
and eax, 0x200
lea ecx, [esp + 0x14]
push ecx
add eax, 1
push eax
push ebx
push str.SOFTWARE_baiduBaiduProtect
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41461e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x250]
push eax
push ebx
push ebx
push 0x41e414
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414613
push 0x104
lea edx, [esp + 0x250]
push edx
lea ebp, [eax + 1]
lea eax, [esp + 0x44]
push 0x105
push eax
call fcn.00403879
lea eax, [esp + 0x4c]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4145a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00401930
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x664], ebx
call fcn.00414b50
add esp, 4
test eax, eax
je 0x4145ff
push 1
push 0x41e42c
mov ecx, esi
call fcn.00401860
push ebx
lea eax, [esp + 0x24]
push eax
or eax, 0xffffffff
call fcn.00401480
cmp dword [esp + 0x38], 8
jb 0x414613
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0040304f
add esp, 4
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x658]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x654
ret
Function at 0x414960
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x418ddf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebp
push esi
push edi
xor ebp, ebp
push 0x208
lea eax, [esp + 0x56]
push ebp
push eax
xor edi, edi
mov word [esp + 0x5c], bp
call fcn.00407e80
add esp, 0xc
cmp ebx, ebp
mov esi, 1
mov dword [esp + 0x14], 0x104
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
je 0x414b2f
lea ecx, [esp + 0xc]
push ecx
push esi
push ebp
push str.SOFTWARE_baiduBaiduProtect
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x414a36
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0x41e49c
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebp
jne 0x414a23
cmp dword [esp + 0x10], esi
jne 0x414a23
lea eax, [esp + 0x50]
call fcn.004140c0
test eax, eax
je 0x414a23
push 0x104
lea eax, [esp + 0x54]
push eax
push 0x104
push ebx
call fcn.00403879
add esp, 0x10
mov edi, esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebp
jne 0x414b05
mov esi, 7
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebp
mov word [esp + 0x1c], bp
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x268], ebp
call fcn.00414710
add esp, 4
test eax, eax
je 0x414aed
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], bp
mov byte [esp + 0x264], 1
mov eax, dword [esp + 0x1c]
mov esi, 8
cmp dword [esp + 0x30], esi
jae 0x414a8c
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.004141f0
add esp, 8
test eax, eax
je 0x414aa5
mov edi, 1
jmp 0x414ac7
cmp dword [esp + 0x30], esi
mov eax, dword [esp + 0x1c]
jae 0x414ab3
lea eax, [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push eax
call fcn.00414180
mov edi, eax
add esp, 8
cmp edi, ebp
je 0x414ae4
cmp dword [esp + 0x4c], esi
mov eax, dword [esp + 0x38]
jae 0x414ad5
lea eax, [esp + 0x38]
push eax
push 0x104
push ebx
call fcn.004039cc
add esp, 0xc
lea esi, [esp + 0x34]
call fcn.00401270
cmp dword [esp + 0x30], 8
jb 0x414b01
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040304f
add esp, 4
cmp edi, ebp
je 0x414b15
mov eax, ebx
call fcn.004140c0
test eax, eax
jne 0x414b15
mov word [ebx], bp
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x250]
mov dword fs:[0], ecx
add esp, 0x25c
ret
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x25c
ret
Function at 0x414c50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f378
push 0x415590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x368
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov byte [ebp - 0x164], bl
push 0x104
push ebx
lea eax, [ebp - 0x163]
push eax
call fcn.00407e80
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x16c], ebx
push 0xffffffffffffffff
push str.6BE417DD_264A_4678_A036_74D2173ECCEB
push 0x104
lea ecx, [ebp - 0x374]
push ecx
call fcn.00403879
add esp, 0x1c
cmp dword [ebp - 0x16c], ebx
jne 0x414ce5
lea edx, [ebp - 0x374]
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x16c], eax
cmp eax, ebx
je 0x414ce5
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x164]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x30
push ebx
lea edx, [ebp - 0x58]
push edx
call fcn.00407e80
add esp, 0xc
push 1
push ebx
lea eax, [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x164]
push ecx
call dword [sym.imp.imagehlp.dll_MapAndLoad]
cmp eax, ebx
je 0x414de1
mov dword [ebp - 4], ebx
cmp byte [ebp - 0x37], bl
jne 0x414d7a
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax + 0x18]
cmp cx, 0x10b
jne 0x414d4a
add eax, 0x98
jmp 0x414d56
cmp cx, 0x20b
jne 0x414d7a
add eax, 0xa8
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x50]
lea ecx, [esi + edi]
mov dword [ebp - 0x28], ecx
lea edx, [eax + 8]
cmp edx, ecx
ja 0x414d77
mov ecx, dword [eax + 4]
mov edx, dword [eax]
lea ebx, [edx + ecx]
cmp ebx, esi
jbe 0x414d83
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x414dd7
xor ebx, ebx
cmp edx, ebx
je 0x414d77
cmp ecx, ebx
je 0x414d77
mov eax, edx
add eax, edi
lea esi, [ecx + eax]
mov edx, pe_nt_image_headers32
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
cmp eax, esi
jae 0x414d7a
cmp edx, ebx
jle 0x414d7a
lea ecx, [eax + 0xc]
cmp ecx, edi
ja 0x414d77
mov ecx, dword [eax]
cmp ecx, ebx
je 0x414d77
cmp ecx, 0xffffffff
je 0x414d77
lea eax, [ecx + eax + 7]
and eax, 0xfffffff8
sub edx, 1
jmp 0x414d9c
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.imagehlp.dll_UnMapAndLoad]
mov eax, dword [ebp - 0x16c]
cmp eax, ebx
je 0x414dff
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402f60
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.004031d0
call fcn.00403160
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x402f98
jmp 0x403036
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x402f97
cmp cl, 0x22
je 0x402ff0
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x403010
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x403010
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x402fd0
jmp 0x403010
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x402ff0
cmp cl, 0x22
je 0x403072
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x403030
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x403020
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x403054
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.00401390
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x403010
Function at 0x415c10
Capabilities:
Packed with generic packer

Disassembly:
pop esp
inc ecx
add byte [edi], al
pop es
push cs
push esp
push esp
outsb dx, byte [esi]
je 0x415c6a
je 0x415c8b
imul ebp, dword [esi + 0x67], 0x7473694c
push eax
arpl word [ecx], ax
mov word [edx + 0x41], fs
add byte [ecx], al
add byte [edx], cl
push esp
outsb dx, byte [esi]
je 0x415c72
insb byte es:[edi], dx
popal
jae 0x415ca6
jae 0x415c36
add byte [eax + sym.ALKATIP55.exe___xp_28Tntclasses_TTntStreamCharSet], dl
outsd dx, dword [esi]
adc byte gs:[ebx + 0x73], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
clc

Function at 0x415c3c
Capabilities:
Packed with generic packer

Disassembly:
add edx, dword [ecx]
push esp
push esp
outsb dx, byte [esi]
je 0x415c96
je 0x415cb7
popal
insd dword es:[edi], dx
inc ebx
push 0x65537261
je 0x415c51
add byte [eax], al
add byte [eax], al
add eax, dword [eax]
add byte [eax], al
cmp byte [ecx + eax*2], bl
push es
add byte [eax], al
add byte [ebx], al
add byte [eax], al
add byte [eax], bh
pop esp
inc ecx
add byte [esi], al
arpl word [ebx + 0x41], si
outsb dx, byte [esi]
jae 0x415ccc
or dword [ebx + 0x73], esp
push ebp
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
Function at 0x4160f4
Capabilities:
Packed with generic packer

Disassembly:
pop es
and dword [ecx + eax*2 + 0x6e], edx
jae 0x416164
push ebx
je 0x416170
imul ebp, dword [esi + 0x67], 0x726f4673
push edi
push esi
outsd dx, dword [esi]
Function at 0x41ea18
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x4e9ff4]
cmp dword [eax], 2
je 0x41ea36
mov ecx, 0x2eb
mov edx, 0x41ea68
mov eax, 0x41ea90
call fcn.00463944
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
push 0x41e9b8
push 3
call sub.USER32.DLL_SetWindowsHookExW
mov dword [0x4ea63c], eax
cmp dword [0x4ea63c], 0
jne 0x41ea5d
call fcn.00456c28
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [sym.ALKATIP55.exe__Tntsysutils_Win32PlatformIsUnicode]
cmp byte [eax], 0
jne 0x41fa52
mov ecx, 0xb7
mov edx, 0x41faa0
mov eax, 0x41fac8
call fcn.00463944
mov eax, ebx
call fcn.00464090
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x41fa91
push pe_nt_image_headers32
lea edx, [ebp - 0x202]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.00464224
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41fadc
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [sym.ALKATIP55.exe__Tntsysutils_Win32PlatformIsUnicode]
cmp byte [eax], 0
jne 0x41fafd
mov ecx, 0xc3
mov edx, 0x41fb14
mov eax, 0x41fb3c
call fcn.00463944
push 2
movzx eax, bx
push eax
call sub.USER32.DLL_MapVirtualKeyW
pop ebx
ret

Function at 0x425a80
Capabilities:
Encode data using xor

Disassembly:
add byte [edi + ebp + 0x3cf0004b], al
dec ebx
pop es
or al, 0x54
push esp
outsb dx, byte [esi]
je 0x425aca
push 0x426b6365
outsd dx, dword [esi]
js 0x425a2b
pop ecx
inc edx
add byte [eax], al
pop ecx
inc edx
add byte [0x6e540b00], dh
je 0x425af0
je 0x425b03
inc ebx
je 0x425b14
insb byte es:[edi], dx
jae 0x425acf
add ah, ch
push ds
inc esp
add byte [eax + eax], bh
add dh, bh
inc eax
dec edx
add byte [ecx], al
add byte [eax], al
xor byte [eax + 0x10047], bl
add byte [eax], al
add byte [eax], al
add byte [eax + 1], al
Function at 0x429318
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x42949c
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x429481
cmp byte [ebx + 0x268], 0
je 0x429481
mov eax, dword [ebp - 4]
call sym.ALKATIP55.exe__Tntcontrols_GetWideCharFromWMCharMsg_qqrrx15Messages_TWMKey
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x42947a
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x4293be
dec ax
je 0x429394
sub ax, 0x12
jne 0x4293d8
call fcn.00463634
jmp 0x429481
cmp byte [ebx + 0x269], 0
je 0x429460
mov eax, ebx
call fcn.00477664
test al, al
je 0x429460
xor edx, edx
mov eax, ebx
call fcn.00477688
jmp 0x429460
mov eax, dword [esi]
call fcn.004642cc
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.004644b4
jmp 0x429460
cmp byte [ebx + 0x269], 0
je 0x4293f5
mov eax, ebx
call fcn.00477664
test al, al
jne 0x4293f5
mov dl, 1
mov eax, ebx
call fcn.00477688
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x42940d
mov eax, esi
call fcn.00464090
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.004641a8
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00464338
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.004291b8
test al, al
je 0x429460
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.004641a8
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.004642d8
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x429481
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call sym.ALKATIP55.exe__Tntcontrols_SetWideCharForWMCharMsg_qqrr15Messages_TWMKeyb
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4294a3
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004640a8
ret