joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100259a
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x104
add edi, 0x10
push edi
push 0x3fa
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
xor esi, esi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x1002607
push 0xbb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x406
push ebx
call fcn.010019d0
push esi
push esi
push 0x470
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
or eax, 0xffffffff
jmp 0x100261e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x10025d6
mov eax, 0x139
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1002743
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x1d
pop ecx
push 0x194
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x198]
push 0
mov esi, 0x1001288
lea edi, [ebp - 0x20c]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memset
push 0x58
pop esi
push esi
lea eax, [ebp - 0x470]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
push 0x1f4
mov edi, 0x10069e0
push edi
push 0xdd
push dword [0x1006dc8]
xor eax, eax
mov dword [ebp - 0x470], esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov word [ebp - 0x414], ax
mov dword [ebp - 0x46c], ebx
call esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push pe_nt_image_headers32
push dword [0x1006dc8]
call esi
mov esi, dword [ebp - 0x418]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x470]
add esi, 0x10
push eax
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x454], esi
mov dword [ebp - 0x450], 0x104
mov dword [ebp - 0x434], 0x100127c
mov dword [ebp - 0x43c], 0x1800
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x10028a0
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, 0x3fb
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 2
push 0
push 0x470
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0x407
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0xbb8
push ebx
call esi
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010042f8
leave
ret 8
Function at 0x10028b6
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
or dword [ebp - 4], 0xffffffff
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
push 0x104
add edi, 0x10
push edi
push 0x3fb
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1002933
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xbb8
push eax
push 0x407
push ebx
call fcn.010019d0
push esi
push esi
push 0x470
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x10029a3
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x100295b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xbb8
push eax
push 0x407
push ebx
call fcn.010019d0
jmp 0x1002983
cmp dword [ebp - 8], esi
jne 0x100296e
cmp dword [ebp - 0xc], esi
je 0x100296e
mov dword [ebp - 4], 0x139
jmp 0x1002998
push 0xbb8
push 0x7d0
push 0x407
push ebx
call fcn.010019f5
push esi
push esi
push 0x470
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
cmp edi, esi
je 0x10029a3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1002ab1
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc

Function at 0x1002acf
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x1002afe
push dword [ebp + 0x14]
lea eax, [edi + 0x220]
push dword [ebp + 0x10]
push eax
push dword [0x1006e28]
call fcn.01002194
mov esi, eax
test esi, esi
jne 0x1002afe
add edi, 0x220
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x14
Function at 0x100323c
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, 0x104
push esi
push 0x1006398
call fcn.01003191
push dword [ebp + 0x10]
push esi
push 0x10065a0
call fcn.01003191
mov eax, dword [0x1006e28]
xor esi, esi
push esi
push esi
mov dword [0x1006380], eax
mov eax, dword [ebp + 8]
push 0x1006380
mov dword [0x1006384], eax
mov eax, dword [0x1006dcc]
push 0x1001e33
mov dword [0x1006388], eax
mov eax, dword [0x1006e2c]
push esi
push esi
mov dword [0x1006390], esi
mov dword [0x1006394], esi
mov dword [0x100638c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x10032b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10032c0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x10032cc
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, 0x104
push esi
push 0x1006398
call fcn.01003191
push dword [ebp + 0xc]
push esi
push 0x10065a0
call fcn.01003191
mov eax, dword [0x1006e28]
mov dword [0x1006380], eax
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [0x1006384], eax
xor eax, eax
push esi
inc eax
push 0x1006380
mov dword [0x1006390], eax
mov dword [0x1006394], eax
mov eax, dword [0x1006dcc]
push 0x1001e33
mov dword [0x1006388], eax
mov eax, dword [0x1006e2c]
push esi
push esi
mov dword [0x100638c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
jne 0x100334a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1003351
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x10033e6
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
call fcn.01001808
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
neg eax
push 0x1f4
sbb eax, eax
mov ebx, 0x10069e0
push ebx
add eax, 0xd3
push eax
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
mov esi, dword [sym.imp.USER32.dll_GetParent]
push ebx
push 0x137
push 0
push 0x485
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call edi
push eax
push 0x47e
push dword [ebp + 8]
call esi
push eax
call edi
push 0x10012fc
push 0x3ff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0x3ff
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xbb8
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3fe
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 8
push eax
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x32
push 1
push 0x40a
push dword [ebp - 4]
call edi
mov eax, dword [ebp + 0xc]
cmp dword [eax], 1
jne 0x1003510
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x10034e3
mov edx, dword [eax + 0x828]
jmp 0x10034e5
xor edx, edx
test ecx, ecx
je 0x10034f1
mov ecx, dword [eax + 0x824]
jmp 0x10034f3
xor ecx, ecx
push edx
push ecx
lea ecx, [eax + 0x218]
push ecx
add eax, 0x10
push eax
push dword [0x1006e28]
push dword [ebp + 8]
call fcn.0100335d
jmp 0x1003523
lea ecx, [eax + 0x218]
push ecx
add eax, 0x10
push eax
push dword [ebp + 8]
call fcn.010033ab
mov dword [ebp - 8], eax
xor eax, eax
cmp dword [ebp - 8], eax
je 0x10035f9
push 0x32
push eax
push 0x40a
push dword [ebp - 4]
call edi
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
neg eax
push 0x1f4
sbb eax, eax
push ebx
add eax, 0x7d3
push eax
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x137
push 0
push 0x485
push dword [ebp + 8]
call esi
push eax
call edi
push eax
push 0x47e
push dword [ebp + 8]
call esi
push eax
call edi
push 0xbb8
push dword [ebp - 8]
push 0x3ff
push dword [ebp + 8]
call fcn.010019d0
push 4
push 0
push 0x470
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x14
push 4
push 0x48a
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1f4
push ebx
push 0xdb
push dword [0x1006dc8]
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
je 0x100360d
push ebx
push 0
push 0x479
push dword [ebp + 8]
call esi
push eax
call edi
jmp 0x100360d
push 8
push eax
push 0x470
push dword [ebp + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1003c10
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov esi, 0x507
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
cmp ebx, edi
je 0x1003d9a
xor eax, eax
inc eax
cmp dword [ebp - 4], eax
je 0x1003d91
push 2
pop ecx
cmp dword [ebp - 4], ecx
jne 0x1003c82
mov edx, dword [ebx + 4]
push 0x42
pop esi
cmp si, word [edx]
jne 0x1003c72
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x1003d91
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
jmp 0x1003d91
cmp dword [ebp - 4], 6
jne 0x1003d93
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 0xc]
push 0x42
pop edx
cmp dx, word [ecx]
jne 0x1003ca8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x1c], 4
mov dword [edi], eax
jmp 0x1003cb5
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 5
and dword [edi], 0
push dword [ebx + 8]
lea eax, [edi + 0x10]
push 0x104
push eax
call fcn.01003191
test eax, eax
jge 0x1003cd2
push 0x57
pop esi
jmp 0x1003d93
mov esi, dword [sym.imp.msvcrt.dll_swscanf]
lea eax, [ebp - 8]
push eax
push 0x1001348
push dword [ebx + 0xc]
call esi
add esp, 0xc
test eax, eax
je 0x1003cca
lea eax, [ebp - 0x10]
push eax
push 0x1001324
push dword [ebx + 0x10]
call esi
add esp, 0xc
test eax, eax
je 0x1003cca
push 0x1006e28
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.01002260
test eax, eax
je 0x1003d20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1003d93
lea eax, [ebp - 0x10]
push eax
push 0x1001300
push dword [ebx + 0x14]
call esi
add esp, 0xc
test eax, eax
je 0x1003cca
push 0x1006e2c
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.010021e4
mov esi, eax
test esi, esi
jne 0x1003d93
push eax
push eax
push 0x10017a5
push 0x1006e24
call dword [sym.imp.ntdll.dll_TpAllocWait]
test eax, eax
jge 0x1003d6a
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x1003d1c
add edi, 0x218
push edi
call fcn.01001830
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x1003d93
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x1006dcc], eax
cmp eax, edi
je 0x1003d16
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10042e9
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1004bf0
call fcn.01004524
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1006e3c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10040a0
cmp eax, esi
jne 0x1004093
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10040a3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100407a
xor esi, esi
inc esi
mov eax, dword [0x1006e38]
cmp eax, esi
jne 0x10040b6
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10040e5
mov eax, dword [0x1006e38]
test eax, eax
jne 0x10040df
mov dword [0x1006e38], esi
push 0x1001210
push 0x1001204
call fcn.01003fdf
pop ecx
pop ecx
test eax, eax
je 0x10040e5
jmp 0x100420d
mov dword [0x100603c], esi
mov eax, dword [0x1006e38]
cmp eax, esi
jne 0x1004109
push 0x1001200
push 0x10011f8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1006e38], 2
test ebx, ebx
jne 0x1004115
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1006e40], 0
je 0x1004139
push 0x1006e40
call fcn.01004499
pop ecx
test eax, eax
je 0x1004139
push 0
push 2
push 0
call dword [0x1006e40]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1004195
test al, al
je 0x1004153
cmp dword [ebp - 0x1c], 0
jne 0x1004195
mov al, byte [esi]
test al, al
je 0x1004163
cmp al, 0x20
ja 0x1004163
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1004153
test byte [ebp - 0x3c], 1
je 0x100416f
movzx eax, word [ebp - 0x38]
jmp 0x1004172
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1006038], eax
cmp dword [0x100602c], 0
jne 0x10041e9
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x10041a4
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x10041b7
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1004140
cmp dword [0x100603c], 0
jne 0x10041f8
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1006038]
jmp 0x1004219
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01004569
ret
call fcn.01004647
jmp 0x1004040
Function at 0x402abc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402b54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402b34
xor eax, eax
push ebp
push 0x402b2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402b70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402b34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404e44
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405000
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ea5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x40501c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404f17
xor eax, eax
push ebp
push 0x404f10
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00404c9c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404ef9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40503c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f17
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404ff8
cmp byte [ebp - 0xd], 0
jne 0x404f59
cmp byte [ebp - 0x12], 0
je 0x404ff8
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404f72
dec ebx
cmp byte [ebx], 0x2e
je 0x404f81
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404f71
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404ff8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404fae
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404ff8
cmp byte [ebp - 0xd], 0
je 0x404ff8
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404ff8
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a12c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a165
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039b4
jmp 0x40a16e
mov eax, ebx
mov edx, esi
call fcn.00403920
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40a178
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a199
mov al, byte [esp]
jmp 0x40a19b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x416370
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x416376
ret

Function at 0x418728
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x418779
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x418760
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x418750
jmp 0x418779
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x418761
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4218e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x450780], 0
sete dl
or al, dl
jne 0x421a20
mov eax, dword [0x450784]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x450780]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4219ef
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x450780]
call fcn.0040f1f4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4219e7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4219e7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4219e7
mov eax, dword [ebp - 0x14]
call fcn.00429bd8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4219e7
push ebp
call fcn.0042189c
pop ecx
test al, al
jne 0x4219e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x4219a3
mov eax, dword [ebp - 0x14]
call fcn.00428564
dec eax
jle 0x4219e7
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402e20
cmp byte [ebp - 1], 0
je 0x4219e7
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4219e7
mov edx, dword [ebp - 0x14]
mov eax, dword [0x450784]
call fcn.004210e8
inc edi
dec esi
jne 0x421936
mov eax, dword [0x450784]
cmp dword [eax + 8], 0
jle 0x421a07
mov eax, dword [0x450784]
call fcn.00421178
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x421a20
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00421704
pop ecx
test al, al
jne 0x421a20
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427570
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x4275a1
je 0x4275fb
sub eax, 7
je 0x4275c2
dec eax
je 0x4275ec
sub eax, 0x17
je 0x4276a0
jmp 0x4276de
add eax, 0xffffff00
sub eax, 9
jb 0x42768c
add eax, 0xffffff09
sub eax, 0xb
jb 0x427654
jmp 0x4276de
mov eax, ebx
call fcn.004396a8
mov edi, eax
test edi, edi
je 0x42773e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x427747
jmp 0x42773e
test byte [ebx + 0x44], 0x20
jne 0x427747
jmp 0x42773e
mov edx, esi
mov eax, ebx
call fcn.00424b70
cmp dword [esi + 0xc], 0xffffffff
jne 0x427747
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040691c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.004236bc
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00427448
test eax, eax
je 0x427747
mov dword [esi + 0xc], 1
jmp 0x427747
mov edx, esi
mov eax, ebx
call fcn.004274dc
test al, al
je 0x42773e
cmp dword [esi + 0xc], 0
jne 0x427747
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00429bd8
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x427747
mov eax, ebx
call fcn.0042420c
test al, al
jne 0x427747
jmp 0x42773e
mov eax, ebx
call fcn.00429bd8
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42773e
cmp dword [0x44e6d0], 0
je 0x42773e
mov eax, dword [0x44e6d0]
cmp ebx, dword [eax + 0x24]
jne 0x42773e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x44e6d0]
call fcn.00424aa4
jmp 0x42773e
mov eax, dword [0x450748]
cmp byte [eax + 0x20], 0
je 0x42773e
mov eax, dword [0x450748]
cmp dword [eax + 0x1c], 0
je 0x42773e
mov eax, dword [esi]
mov edx, dword [0x450748]
cmp eax, dword [edx + 0x1c]
jne 0x42773e
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004395ec
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00402e20
jmp 0x427747
mov edx, esi
mov eax, ebx
call fcn.00424b70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret