joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42aa10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x527678], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x42a400
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x42a7c0
mov dword [esp + 0x10], str.freeaddrinfo
dec edi
add bh, al
inc esp
and al, 0x14
mov al, 0xa3
inc edx
add byte [edi], cl
test dword [ebx], ecx
add dword [eax], eax
invalid
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x42ab61
push ebx
push ebp
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x130]
push edi
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call esi
push str.ws2_32
lea eax, [esp + 0x38]
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x42aadd
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x42ab26
push edi
call ebp
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call esi
push str.wship6
lea eax, [esp + 0x38]
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42ab5d
push str.getaddrinfo
push edi
call ebx
test eax, eax
je 0x42ab5a
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x42ab5a
inc esi
cmp esi, 3
jl 0x42ab28
mov eax, dword [esp + 0x14]
mov dword [0x523048], eax
mov eax, dword [esp + 0x1c]
mov dword [0x523050], eax
mov eax, dword [esp + 0x24]
mov dword [0x523058], eax
jmp 0x42ab5d
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x527678], 1
movzx eax, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov eax, dword [eax*8 + 0x523048]
call fcn.004ebadf
add esp, 0x230
ret 4
Function at 0x42aa50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x230
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x22c], eax
cmp dword [0x527678], 0
mov dword [esp], str.getaddrinfo
mov dword [esp + 4], 0x42a400
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x42a7c0
mov dword [esp + 0x10], str.freeaddrinfo
dec edi
add bh, al
inc esp
and al, 0x14
mov al, 0xa3
inc edx
add byte [edi], cl
test dword [ebx], ecx
add dword [eax], eax
invalid
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x42ab61
push ebx
push ebp
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea eax, [esp + 0x130]
push edi
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call esi
push str.ws2_32
lea eax, [esp + 0x38]
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test edi, edi
je 0x42aadd
push str.getaddrinfo
push edi
call ebx
test eax, eax
jne 0x42ab26
push edi
call ebp
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x2c]
push 0x10c
push eax
call esi
push str.wship6
lea eax, [esp + 0x38]
push 0x10c
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42ab5d
push str.getaddrinfo
push edi
call ebx
test eax, eax
je 0x42ab5a
xor esi, esi
push dword [esp + esi*8 + 0x10]
push edi
call ebx
mov dword [esp + esi*8 + 0x14], eax
test eax, eax
je 0x42ab5a
inc esi
cmp esi, 3
jl 0x42ab28
mov eax, dword [esp + 0x14]
mov dword [0x523048], eax
mov eax, dword [esp + 0x1c]
mov dword [0x523050], eax
mov eax, dword [esp + 0x24]
mov dword [0x523058], eax
jmp 0x42ab5d
push edi
call ebp
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x527678], 1
movzx eax, word [esp + 0x234]
mov ecx, dword [esp + 0x22c]
xor ecx, esp
mov eax, dword [eax*8 + 0x523048]
call fcn.004ebadf
add esp, 0x230
ret 4

Function at 0x42c220
Capabilities:
Encode data using base64
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x42c2cf
cmp word [esi], 0
je 0x42c2cf
push 0x509828
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x42c24e
mov eax, 0xfde9
pop esi
ret
push 0x509834
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x42c267
mov eax, 0x8000fde9
pop esi
ret
push 0x509848
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x42c280
mov eax, 0x4b0
pop esi
ret
push 0x509858
push esi
call fcn.004ce516
add esp, 8
test eax, eax
jne 0x42c299
mov eax, 0x800004b0
pop esi
ret
push 2
push 0x509870
push esi
call fcn.004cff45
add esp, 0xc
test eax, eax
jne 0x42c2ca
push eax
push eax
push eax
xor edx, edx
lea ecx, [esi + 4]
call fcn.004af560
add esp, 0xc
test eax, eax
je 0x42c2ca
lea ecx, [esi + 4]
pop esi
jmp fcn.00405350
or eax, 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x42f1a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1a184
call fcn.004e88a0
mov eax, dword [reloc.KERNEL32.dll_GetExitCodeProcess]
push ebx
mov ebx, ecx
mov byte [esp + 6], 0
push esi
xor ecx, ecx
mov dword [esp + 0x14], ebx
push edi
push dword [ebp + 8]
mov word [esp + 0x217c], cx
lea edi, [esp + 0x1218c]
lea ecx, [esp + 0xa184]
mov dword [esp + 0x20], edi
dec eax
mov dword [esp + 0x14], ecx
xor ecx, ecx
mov dword [esp + 0x78], eax
push ecx
mov dword [ebx + 0x24c], eax
lea eax, [esp + 0xa188]
push ecx
push eax
mov word [esp + 0x72], cx
mov word [esp + 0x78], cx
mov dword [esp + 0x7c], ecx
call fcn.00431510
push 2
push 0x50aad8
push dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x3c], eax
call fcn.004d9d9e
add esp, 0xc
test eax, eax
sete byte [esp + 0x2e]
test eax, eax
jne 0x42f243
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x30], esi
mov word [eax], cx
mov ecx, dword [esp + 0x10]
nop word [eax + eax]
Function at 0x435930
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, 0x20
mov word [esp + 0xc], ax
mov ebx, ebp
mov ax, word [0x51cbe0]
mov dword [esp + 8], ecx
mov word [esp + 0xe], ax
mov dword [esp + 0x10], 0x90028
mov dword [esp + 0x14], 0x3e003c
mov dword [esp + 0x18], 0x3d003a
mov dword [esp + 0x1c], 0x2d002b
mov dword [esp + 0x20], 0x2f002a
mov dword [esp + 0x24], 0x7e0021
mov dword [esp + 0x28], 0x7c0026
mov dword [esp + 0x2c], 0x5b005e
mov dword [esp + 0x30], 0x3f002e
mov dword [esp + 0x34], 0x7b
push esi
push edi
test ebp, ebp
je 0x4359f5
movzx eax, word [ebp]
test ax, ax
je 0x4359f5
mov esi, eax
nop word [eax + eax]
lea eax, [esp + 0x14]
mov edx, 0x20
nop dword [eax]
cmp si, dx
je 0x435a65
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x4359d0
movzx eax, word [ebx + 2]
add ebx, 2
mov esi, eax
test ax, ax
jne 0x4359c0
mov ecx, ebp
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435a00
sub ecx, edx
lea edi, [ebp - 2]
sar ecx, 1
lea edi, [edi + ecx*2]
cmp edi, ebp
jbe 0x435a34
nop dword [eax]
movzx eax, word [edi]
cmp eax, 0x20
je 0x435a2d
cmp eax, 9
jne 0x435a34
sub edi, 2
cmp edi, ebp
ja 0x435a20
mov ebx, edi
sub ebx, ebp
sar ebx, 1
inc ebx
cmp ebx, 0xfd
jbe 0x435a73
cmp byte [esp + 0x4c], 0
je 0x435a59
mov ecx, dword [esp + 0x10]
push ebp
push 0x50af38
call fcn.0044ddc0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
test ebx, ebx
je 0x4359f5
cmp ebx, ebp
lea edi, [ebx - 2]
cmovbe edi, ebx
jmp 0x435a15
mov esi, dword [esp + 0x44]
push ebx
push ebp
push esi
call fcn.004d95fc
add esp, 0xc
xor eax, eax
mov word [esi + ebx*2], ax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc

Function at 0x435b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x185c
call fcn.004e88a0
mov eax, dword [esp + 0x1868]
mov dword [esp + 0xc], eax
push ebx
mov ebx, ecx
mov dword [esp + 8], ebx
push ebp
push esi
push edi
cmp eax, 0xff
jl 0x435b76
sub eax, 0xff
mov byte [esp + 0x2b], 0
mov dword [esp + 0x1c], eax
jmp 0x435b7f
cmp byte [ebx + 0x25], 0
sete byte [esp + 0x2b]
mov byte [esp + 0x2a], 0
test eax, eax
jne 0x435c6f
xor edi, edi
mov dword [esp + 0x20], edi
mov al, byte [esp + 0x1870]
mov byte [esp + 0x1b], al
mov esi, eax
shl esi, 4
lea eax, [esi - 1]
cmp eax, 0xffff
ja 0x439d42
cmp dword [0x5203c4], 0
jne 0x435c9d
call fcn.004ac4d0
mov dword [0x5203c4], eax
test eax, eax
je 0x439d42
mov eax, dword [0x5203c0]
cmp esi, dword [eax + 8]
jbe 0x435cbd
call fcn.004ac4d0
mov ecx, dword [0x5203c0]
mov dword [ecx + 0xc], eax
test eax, eax
je 0x439d42
mov ecx, dword [0x5203c0]
mov edi, dword [ecx + 4]
sub dword [ecx + 8], esi
mov dword [esp + 0x20], edi
mov dword [0x5203bc], edi
lea eax, [esi + edi]
mov dword [ecx + 4], eax
test edi, edi
je 0x439d42
xor ecx, ecx
mov dword [esp + 0x34], ecx
cmp dword [esp + 0x1c], ecx
jle 0x435b92
mov dl, byte [esp + 0x1870]
mov byte [esp + 0x1b], dl
Function at 0x44d360
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
xor esi, esi
push edi
test ebp, ebp
je 0x44d376
cmp ebp, 0x40
jb 0x44d398
mov ecx, dword [esp + 0x2c]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x44d8cd
test ebp, ebp
je 0x44d3aa
mov eax, dword [ecx + 0x3c]
add eax, 0xf8
cmp ebp, eax
jae 0x44d3aa
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edx, dword [ecx + 0x3c]
add edx, ecx
mov dword [esp + 0x10], edx
cmp dword [edx], 0x4550
jne 0x44d8cd
mov eax, 0x14c
cmp word [edx + 4], ax
jne 0x44d8cd
mov ebx, dword [edx + 0x38]
test bl, 1
jne 0x44d8cd
movzx eax, word [edx + 0x14]
movzx edi, word [edx + 6]
add eax, 0x24
test edi, edi
je 0x44d410
add edx, eax
nop dword [eax + eax]
mov eax, dword [edx + 4]
lea edx, [edx + 0x28]
test eax, eax
mov ecx, ebx
cmovne ecx, eax
add ecx, dword [edx - 0x28]
cmp ecx, esi
cmovbe ecx, esi
mov esi, ecx
sub edi, 1
jne 0x44d3f0
mov edx, dword [esp + 0x10]
lea ecx, [ebx - 1]
lea edi, [ebx - 1]
not ecx
add edi, dword [edx + 0x50]
lea eax, [ebx - 1]
add eax, esi
and edi, ecx
and eax, ecx
cmp edi, eax
jne 0x44d8cd
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
push esi
push 4
push 0x3000
push edi
push dword [edx + 0x34]
call ebx
add esp, 0x14
mov dword [esp + 0x30], eax
test eax, eax
jne 0x44d478
push esi
push 4
push 0x3000
push edi
push eax
call ebx
mov edi, eax
add esp, 0x14
mov dword [esp + 0x30], edi
test edi, edi
jne 0x44d47c
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov edi, dword [esp + 0x30]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x44
push 8
mov dword [esp + 0x2c], eax
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x44d4bd
push esi
push 0x8000
push eax
push edi
call dword [esp + 0x48]
add esp, 0x10
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
push 0
push 4
push 8
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [ebx + 0xc], eax
mov dword [ebx], edi
mov edi, dword [esp + 0x10]
movzx eax, word [edi + 0x16]
shr eax, 0xd
and eax, 1
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x40], eax
test ebp, ebp
je 0x44d523
push dword [edi + 0x54]
push ebp
call fcn.0044c9b0
add esp, 8
test eax, eax
je 0x44d63c
add dword [eax], eax
invalid
push esi
push 4
push 0x1000
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x497990
Capabilities:
Get disk information
Get process image filename

Disassembly:
sub esp, 0x218
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
xor ecx, ecx
push edi
mov edi, dword [esp + 0x224]
push eax
push ecx
push 0x1000
mov word [edi], cx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 4], eax
test eax, eax
jne 0x4979e3
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004ebadf
add esp, 0x218
ret
push ebx
push dword [esp + 0x22c]
push edi
push eax
call sub.PSAPI.DLL_GetProcessImageFileNameW
mov ebx, eax
test ebx, ebx
je 0x497ada
cmp byte [esp + 0x230], 0
push esi
je 0x497a46
push 0x5c
push edi
call sub.VCRUNTIME140.dll_wcsrchr
mov edx, eax
add esp, 8
test edx, edx
je 0x497ad9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497a21
sub ecx, esi
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [edx + 2]
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x497ad9
mov eax, 0x41
mov dword [esp + 0x12], 0x3a
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
mov word [esp + 0x14], ax
nop
push 0x104
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov esi, eax
cmp esi, 2
jbe 0x497a99
sub esi, 2
lea eax, [esp + 0x1c]
push esi
push edi
push eax
call ebp
add esp, 0xc
test eax, eax
jne 0x497a99
cmp word [edi + esi*2], 0x5c
lea ecx, [edi + esi*2]
je 0x497aad
mov ax, word [esp + 0x14]
inc ax
mov word [esp + 0x14], ax
cmp ax, 0x5a
jbe 0x497a60
jmp 0x497ad8
movzx eax, word [esp + 0x14]
sub ebx, esi
mov word [edi], ax
movzx eax, word [esp + 0x16]
mov word [edi + 2], ax
lea eax, [ebx*2 + 2]
push eax
push ecx
lea eax, [edi + 4]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
add ebx, 2
pop ebp
pop esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x21c]
mov eax, ebx
pop ebx
pop edi
xor ecx, esp
call fcn.004ebadf
add esp, 0x218
ret

Function at 0x497b00
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10004
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x10000], eax
lea eax, [esp]
push eax
push 0x8000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x497b4d
lea eax, [esp]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
add esp, 4
mov ecx, dword [esp + 0x10000]
xor ecx, esp
call fcn.004ebadf
add esp, 0x10004
ret
mov ecx, dword [esp + 0x10000]
xor eax, eax
xor ecx, esp
call fcn.004ebadf
add esp, 0x10004
ret

Function at 0x49bbb0
Capabilities:
Check if file exists
Set current directory

Disassembly:
sub esp, 0x51c
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x518], eax
mov ecx, dword fs:[0x2c]
push ebx
mov ebx, dword [esp + 0x524]
push ebp
push esi
push edi
mov edi, dword [0x62271c]
mov esi, ebx
mov dword [esp + 0x14], 0x4f5b70
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
Function at 0x49bbf0
Capabilities:
Check if file exists
Get file attributes
Set current directory

Disassembly:
jne 0x49bbfe
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [eax + 0x298]
push dword [eax + 0x6c8]
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
mov byte [esp + 0x13], cl
jne 0x49bce0
xor esi, esi
lea eax, [esp + 0x118]
push esi
push 0x104
push eax
push str.InstallDir
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e5340
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x49bc94
nop dword [eax]
test esi, esi
jne 0x49bc94
mov esi, 0x100
lea eax, [esp + 0x118]
push esi
push 0x104
push eax
push str.InstallDir
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004e5340
mov edx, eax
add esp, 0x18
test edx, edx
je 0x49bc60
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [esp + ecx + 0x118]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x31e], ax
test ax, ax
jne 0x49bca0
test edx, edx
je 0x49bdf3
lea eax, [esp + 0x320]
push eax
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49bdf3
mov cl, byte [esp + 0x13]
mov esi, ebx
cmp byte [esp + 0x534], 0
je 0x49bd3b
test cl, cl
je 0x49bd3b
push ebx
push str._script__s
lea eax, [esp + 0x20]
push 0x40
push eax
call fcn.004e6440
mov ecx, dword fs:[0x2c]
add esp, 0x10
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x49bd22
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x298]
mov esi, dword [eax + 0x6c4]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x49bd42
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x49bd5a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
push 0
push 0
push 0
mov ecx, dword [eax + 0x298]
push 0
push 0
push 0
push 0
push dword [esp + 0x30]
push esi
call fcn.00451060
test eax, eax
jne 0x49bdb8
push ebx
push str.Could_not_launch__s
lea eax, [esp + 0xa0]
push 0x40
push eax
call fcn.004e6440
add esp, 0x10
lea eax, [esp + 0x98]
xorps xmm0, xmm0
push 0
sub esp, 8
movsd qword [esp], xmm0
push 0
push 0x10
push eax
call fcn.004e9320
add esp, 0x18
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
cmp byte [eax + 0x2198], 0
jne 0x49bdd7
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + edi*4]
mov ecx, 0x4f6190
mov eax, dword [eax + 0x6a0]
test eax, eax
je 0x49bdf0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
call ebp
mov ecx, dword [esp + 0x528]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x51c
ret
Function at 0x49f340
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test bl, bl
jne 0x49f34d
xor al, al
pop ebx
ret
mov eax, dword [esp + 0xc]
sub eax, 1
je 0x49f376
sub eax, 1
movzx eax, bl
push eax
je 0x49f36c
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
pop ebx
ret
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
pop ebx
ret
mov al, bl
dec al
push esi
cmp al, 5
ja 0x49f384
cmp bl, 3
jne 0x49f38c
mov al, bl
add al, 0x66
cmp al, 5
ja 0x49f3d5
mov eax, dword [0x62271c]
mov edx, dword fs:[0x2c]
lea esi, [eax*4]
mov eax, dword [esi + edx]
cmp byte [eax + 0x2198], 0
jne 0x49f3b7
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [esi + edx]
cmp dword [eax + 0x1f0], 0
add byte [ebp + 0x6e], dh
mov eax, dword [0x62271c]
mov ecx, dword fs:[0x2c]
lea esi, [eax*4]
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x49f400
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esi + ecx]
cmp dword [eax + 0x1f4], 0
je 0x49f3c3
push 0
push 0
push ebx
call fcn.0043e280
add esp, 0xc
test al, al
je 0x49f427
push 1
call fcn.0043d7d0
add esp, 4
mov edx, dword fs:[0x2c]
mov eax, dword [esi + edx]
cmp byte [eax + 0x2198], 0
jne 0x49f446
call fcn.004ebad3
mov edx, dword fs:[0x2c]
mov eax, dword [esi + edx]
movzx ecx, bl
pop esi
pop ebx
mov al, byte [eax + ecx + 0x570]
or byte [eax + 5], dh
add byte [eax], al

Function at 0x49f3c0
Capabilities:
Log keystrokes via polling

Disassembly:
add byte [ebp + 0x6e], dh
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
pop esi
and al, 1
pop ebx
ret
Function at 0x4a8f70
Capabilities:
Terminate process

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x4a8fd1
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 4]
test eax, eax
je 0x4a8fd1
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4a8fd1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 8
ret

Function at 0x4aca30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4104
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x526b24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [edi + 0x14], 0
movzx ecx, word [esi]
mov eax, ecx
cmp eax, 0x17
ja case.0x4aca79.6
movzx eax, byte [eax + 0x4aced8]
jmp dword [eax*4 + 0x4aceb0]
mov dword [edi + 8], 0
mov dword [edi], 0x4f5b70
mov dword [edi + 4], 0
push dword [esi + 8]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4acace
cmp byte [ebp + 0x10], 0
mov ecx, dword [esi + 8]
je 0x4acac0
mov dword [edi], ecx
mov dword [edi + 4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
push ecx
mov ecx, edi
call fcn.004e7dc0
jmp 0x4ace97
cmp byte [ebp + 0x10], 0
jmp 0x4ace95
mov dword [edi + 8], 1
mov eax, dword [esi + 8]
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 2
movsd xmm0, qword [esi + 8]
movsd qword [edi], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 2
movss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [edi], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edi + 8], 1
cmp word [esi + 8], 0
je 0x4acb68
mov eax, 1
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
test ecx, ecx
je case.0x4aca79.9
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push 0x5083f4
push ecx
call dword [eax]
test eax, eax
js 0x4acc41
cmp byte [ebp + 0x10], 0
jne 0x4acbbc
mov eax, dword [esi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x48
call fcn.004ebb43
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4acbec
mov esi, dword [ebp + 0xc]
mov ecx, eax
call fcn.004a95c0
invalid
inc ebp