joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404500
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x404514
push eax
push 0
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404258
ret

Function at 0x4045a8
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax]
test edx, edx
je 0x4045c6
push eax
mov ecx, dword [edx - 4]
shr ecx, 1
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
pop edx
test eax, eax
je 0x404258
mov dword [edx], eax
ret

Function at 0x4045f4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404633
cmp al, 0xb
je 0x404633
cmp al, 0xc
je 0x40463d
cmp al, 0xd
je 0x404650
cmp al, 0xe
je 0x40466e
cmp al, 0xf
je 0x404633
cmp al, 0x11
je 0x404633
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040282c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404633
jmp 0x404682
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x40463d
jmp 0x404682
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004045f4
dec edi
jg 0x404653
pop ebp
jmp 0x404682
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004045c8
dec edi
jg 0x404671
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x404688
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004045f4

Function at 0x4046c0
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x404707
cmp al, 0xb
je 0x404721
cmp al, 0xc
je 0x404738
cmp al, 0xd
je 0x404747
cmp al, 0xe
je 0x404765
cmp al, 0xf
je 0x40477b
cmp al, 0x11
je 0x40478a
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040282c
cmp ecx, 1
mov eax, ebx
jg 0x404718
call fcn.00403c48
jmp 0x404799
mov edx, ecx
call fcn.00403c6c
jmp 0x404799
cmp ecx, 1
mov eax, ebx
jg 0x40472f
call fcn.00404270
jmp 0x404799
mov edx, ecx
call fcn.00404288
jmp 0x404799
mov eax, ebx
add ebx, 0x10
call fcn.0040568c
dec edi
jg 0x404738
jmp 0x404799
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004046c0
dec edi
jg 0x40474a
pop ebp
jmp 0x404799
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404694
dec edi
jg 0x404768
pop ebp
jmp 0x404799
mov eax, ebx
add ebx, 4
call fcn.00406ca0
dec edi
jg 0x40477b
jmp 0x404799
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.0040609c
dec edi
jg 0x40478a
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x4047a0
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004046c0
Function at 0x4047d8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x404815
cmp al, 0xb
je 0x404824
cmp al, 0xc
je 0x404833
cmp al, 0xd
je 0x404842
cmp al, 0xe
je 0x404860
cmp al, 0xf
je 0x404876
cmp al, 0x11
je 0x404885
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040282c
mov eax, dword [ebx]
add ebx, 4
call fcn.00404078
dec edi
jg 0x404815
jmp 0x404892
mov eax, ebx
add ebx, 4
call fcn.004045a8
dec edi
jg 0x404824
jmp 0x404892
mov eax, ebx
add ebx, 0x10
call fcn.00405694
dec edi
jg 0x404833
jmp 0x404892
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004047d8
dec edi
jg 0x404845
pop ebp
jmp 0x404892
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004047ac
dec edi
jg 0x404863
pop ebp
jmp 0x404892
mov eax, dword [ebx]
add ebx, 4
call fcn.00406d00
dec edi
jg 0x404876
jmp 0x404892
mov eax, dword [ebx]
add ebx, 4
call fcn.00406100
dec edi
jg 0x404885
pop edi
pop esi
pop ebx
ret

Function at 0x404898
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004047d8

Function at 0x4048a4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4048d0
mov edx, eax
add eax, esi
add edx, ebx
call fcn.00402928
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40490f
cmp cl, 0xb
je 0x404920
cmp cl, 0xc
je 0x404931
cmp cl, 0xd
je 0x404942
cmp cl, 0xe
je 0x404962
cmp cl, 0xf
je 0x40497b
cmp cl, 0x11
je 0x40498c
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040282c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403c9c
mov eax, 4
jmp 0x40499d
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004042ac
mov eax, 4
jmp 0x40499d
lea edx, [esi + eax]
add eax, ebx
call fcn.00404c68
mov eax, 0x10
jmp 0x40499d
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004049c0
pop eax
jmp 0x40499d
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004048a4
pop eax
jmp 0x40499d
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00406cb8
mov eax, 4
jmp 0x40499d
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004060d8
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4048be
pop ecx
sub ecx, eax
jle 0x4049b9
lea edx, [ebx + eax]
add eax, esi
call fcn.00402928
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4049c0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x404a06
cmp cl, 0xb
je 0x404a1d
cmp cl, 0xc
je 0x404a31
cmp cl, 0xd
je 0x404a45
cmp cl, 0xe
je 0x404a66
cmp cl, 0xf
je 0x404a83
cmp cl, 0x11
je 0x404a97
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040282c
mov eax, ebx
mov edx, dword [esi]
call fcn.00403c9c
add ebx, 4
add esi, 4
dec ebp
jne 0x404a06
jmp 0x404aab
mov eax, ebx
mov edx, dword [esi]
call fcn.004042ac
add ebx, 4
add esi, 4
dec ebp
jne 0x404a1d
jmp 0x404aab
mov eax, ebx
mov edx, esi
call fcn.00404c68
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x404a31
jmp 0x404aab
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.004049c0
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404a4e
jmp 0x404aab
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.004048a4
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404a66
jmp 0x404aab
mov eax, ebx
mov edx, dword [esi]
call fcn.00406cb8
add ebx, 4
add esi, 4
dec ebp
jne 0x404a83
jmp 0x404aab
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.004060d8
add ebx, 4
add esi, 4
dec ebp
jne 0x404a97
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x404c68
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.0040282c
cmp eax, edx
je 0x404cff
cmp word [eax], 8
jb 0x404ca0
push eax
push edx
cmp word [eax], 0x100
je 0x404c96
cmp word [eax], 0x101
je 0x404c8e
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x404c9e
call dword [0x5273e8]
jmp 0x404c9e
add eax, 8
call fcn.00403c48
pop edx
pop eax
cmp word [edx], 8
jae 0x404cb7
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x404cd2
cmp word [edx], 0x101
jne 0x404ceb
push eax
call 0x404ca6
pop eax
jmp dword [0x5273f0]
mov edx, dword [edx + 8]
or edx, edx
je 0x404ce2
mov ecx, dword [edx - 8]
inc ecx
jle 0x404ce2
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x404c1c
ret

Function at 0x405100
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 8
jne 0x40510e
mov edx, dword [edx + 8]
jmp fcn.004042ac
push ebx
mov ebx, eax
sub esp, 0x10
mov word [esp], 0
mov eax, esp
mov ecx, 8
call fcn.00404e78
mov eax, ebx
mov edx, dword [esp + 8]
call fcn.00404260
add esp, 0x10
pop ebx
ret

Function at 0x4051a8
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 0
je fcn.00406ca0
cmp word [edx], 0xd
je 0x4051f3
cmp word [edx], 9
je 0x4051f3
cmp word [edx], 0x400d
je 0x4051e9
cmp word [edx], 0x4009
je 0x4051e9
cmp word [edx], 0x101
jne fcn.00404c14
jmp fcn.00405138
mov edx, dword [edx + 8]
mov edx, dword [edx]
jmp fcn.00406cb8
mov edx, dword [edx + 8]
jmp fcn.00406cb8
Function at 0x4051fc
Capabilities:
Terminate process

Disassembly:
cmp word [edx], 0
je fcn.00406ca0
cmp word [edx], 9
je 0x405221
cmp word [edx], 0x4009
jne fcn.00404c14
mov edx, dword [edx + 8]
mov edx, dword [edx]
jmp fcn.00406cb8
mov edx, dword [edx + 8]
jmp fcn.00406cb8

Function at 0x40522c
Capabilities:
Terminate process

Disassembly:
call fcn.00406600
or eax, eax
jne 0x40523a
jmp fcn.00404c14
ret

Function at 0x4052fc
Capabilities:
Terminate process

Disassembly:
push eax
cmp word [eax], 8
jb 0x40530a
push edx
call fcn.00404c24
pop edx
xor eax, eax
test edx, edx
je 0x405326
mov eax, dword [edx - 4]
shr eax, 1
je 0x405326
push eax
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404258
pop edx
mov word [edx], 8
mov dword [edx + 8], eax
ret

Function at 0x405378
Capabilities:
Terminate process

Disassembly:
push eax
call fcn.0040634c
pop eax
cmp word [eax], 0
jne 0x40538a
jmp fcn.00404c14
ret

Function at 0x405414
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebp - 0x10]
call fcn.00405694
xor eax, eax
push ebp
push 0x405406
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call dword [0x5273ec]
mov eax, ebx
lea edx, [ebp - 0x10]
call fcn.00405414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40540d
lea eax, [ebp - 0x10]
call fcn.0040568c
ret
cmp word [edx], 0x101
je 0x4053b0
cmp word [edx], 0x100
jne fcn.00404c68
cmp word [eax], 8
jb 0x405439
push eax
push edx
call fcn.00404c24
pop edx
pop eax
mov word [eax], 8
add eax, 8
add edx, 8
xor ecx, ecx
mov edx, dword [edx]
mov dword [eax], ecx
jmp fcn.004043b4

Function at 0x40557c
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, eax
mov esi, edx
mov eax, dword [edi]
mov edx, dword [esi]
and eax, 0xfff
and edx, 0xfff
cmp eax, 0x11
jbe 0x4055a2
cmp eax, 0x100
jne 0x4055d1
mov eax, 8
cmp edx, 0x11
jbe 0x4055b4
cmp edx, 0x100
jne case.default.0x4055c8
mov edx, 8
mov al, byte [eax + 0x52206c]
mov dl, byte [edx + 0x52206c]
movzx ecx, byte [edx + eax*8 + 0x522080]
jmp dword [ecx*4 + 0x4055e3]
mov eax, edx
cmp eax, 0x101
jne case.0x4055c8.0
pop edi
pop esi
call fcn.004054e8
push eax
popf
ret
pop edi
pop esi
jmp 0x404c1c
cmp al, dl
pop edi
pop esi
ret
mov eax, esi
call fcn.00404f6c
xchg edi, eax
call fcn.00404f6c
cmp eax, edi
pop edi
pop esi
ret
mov eax, edi
call fcn.0040500c
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.0040500c
fld xword [esp]
add esp, 0xc
fcompp
fnstsw ax
mov al, ah
and ax, 0x4001
ror al, 1
or ah, al
sahf
pop edi
pop esi
ret
mov eax, edi
call fcn.00405068
sub esp, 0xc
fstp xword [esp]
mov eax, esi
call fcn.00405068
fld xword [esp]
add esp, 0xc
jmp 0x40563b
mov eax, edi
mov edx, esi
call fcn.00405480
cmp eax, 0
pop edi
pop esi
ret
mov eax, esi
call fcn.00404fd8
xchg edi, eax
call fcn.00404fd8
mov edx, edi
cmp al, dl
pop edi
pop esi
ret
Function at 0x4068cc
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 0x406a84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40692d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x406aa0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40699a
xor eax, eax
push ebp
push 0x406993
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]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40697c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406ac0
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 0x40699a
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 0x406a7b
cmp byte [ebp - 0xd], 0
jne 0x4069dc
cmp byte [ebp - 0x12], 0
je 0x406a7b
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4069f5
dec ebx
cmp byte [ebx], 0x2e
je 0x406a04
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4069f4
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406a7b
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406a31
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 0x406a7b
cmp byte [ebp - 0xd], 0
je 0x406a7b
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 0x406a7b
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 0x406cd4
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00406ca0
push eax
push ecx
push edx
mov ecx, dword [eax]
test ecx, ecx
je 0x406cee
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esp]
mov eax, dword [edx]
call dword [eax]
test eax, eax
je 0x406cfd
mov al, 0x17
jmp fcn.0040282c
ret

Function at 0x406d80
Capabilities:
Terminate process

Disassembly:
test eax, eax
jns 0x406d9a
mov ecx, dword [0x527014]
test ecx, ecx
je 0x406d93
mov edx, dword [esp]
call ecx
mov al, 0x18
jmp fcn.0040282c
ret
Function at 0x409fd8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404088
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x409ffa
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40a398
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40a5dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403ce0
cmp dword [0x522124], 1
je 0x40a419
mov dword [ebp - 0x14], 0x400
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00404088
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x40a5be
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x420]
mov edx, dword [edx]
call fcn.00403dfc
jmp 0x40a5be
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402a3c
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0x41
jb 0x40a5be
cmp byte [ebp - 0x15], 0x5a
ja 0x40a5be
mov eax, dword [ebp - 4]
call fcn.00403ec4
cmp eax, 3
jl 0x40a5be
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x40a5be
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x40a5be
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x40a5be
xor edx, edx
push ebp
push 0x40a5b7
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.004027a0
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x40a599
push dword fs:[edx]
mov dword fs:[edx], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x40a4e8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.004027d0
jmp 0x40a4ac
test eax, eax
je 0x40a4fb
call fcn.004037c4
call fcn.004037c4
jmp 0x40a5be
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x40a4ac
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x40a577
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.00402a3c
cmp al, byte [ebp - 0x15]
jne 0x40a577
lea eax, [ebp - 0x424]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ec4
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.004040c8
mov eax, dword [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
mov edx, dword [ebx + 0x14]
call fcn.00403dfc
mov edx, dword [ebp - 0x428]
mov eax, dword [ebp - 8]
pop ecx
call fcn.00403f10
call fcn.004037c4
call fcn.004037c4
jmp 0x40a5be
inc edi
dec esi
jne 0x40a506
jmp 0x40a4ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a5e3
lea eax, [ebp - 0x428]
mov edx, 2
call fcn.00403c6c
ret

Function at 0x40a7e4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403d2c
add esp, 0x104
pop ebx
ret
Function at 0x40ce78
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 0x40ceb1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d2c
jmp 0x40ceba
mov eax, ebx
mov edx, esi
call fcn.00403ce0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40cec4
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 0x40cee5
mov al, byte [esp]
jmp 0x40cee7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41b36c
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 0x41b372
ret

Function at 0x41d858
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 0x41d8a9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d890
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d880
jmp 0x41d8a9
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 0x41d891
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429674
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x52775c], 0
sete dl
or al, dl
jne 0x4297b8
mov eax, dword [0x527760]
mov bx, 0xffff
call fcn.00403214
mov eax, dword [0x52775c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x429787
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x52775c]
call fcn.004127a0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x42977f
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x42977f
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42977f
mov eax, dword [ebp - 0x10]
call fcn.00431508
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42977f
push ebp
call fcn.00429630
pop ecx
test al, al
jne 0x42977f
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x42973b
mov eax, dword [ebp - 0x10]
call fcn.0042fe4c
dec eax
jle 0x42977f
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00403214
cmp byte [ebp - 0x15], 0
je 0x42977f
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42977f
mov edx, dword [ebp - 0x10]
mov eax, dword [0x527760]
call fcn.00428ee0
inc edi
dec esi
jne 0x4296ce
mov eax, dword [0x527760]
cmp dword [eax + 8], 0
jle 0x42979f
mov eax, dword [0x527760]
call fcn.00428f70
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4297b8
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004294e8
pop ecx
test al, al
jne 0x4297b8
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42efd8
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 0x42f009
je 0x42f063
sub eax, 7
je 0x42f02a
dec eax
je 0x42f054
sub eax, 0x17
je 0x42f0e4
jmp 0x42f122
add eax, 0xffffff00
sub eax, 9
jb 0x42f0d0
add eax, 0xffffff09
sub eax, 0xb
jb 0x42f0ba
jmp 0x42f122
mov eax, ebx
call fcn.0043f6ac
mov edi, eax
test edi, edi
je 0x42f182
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42f18b
jmp 0x42f182
test byte [ebx + 0x44], 0x20
jne 0x42f18b
jmp 0x42f182
mov edx, esi
mov eax, ebx
call fcn.0042c8c4
cmp dword [esi + 0xc], 0xffffffff
jne 0x42f18b
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00408550
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042b36c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042ee88
test eax, eax
je 0x42f18b
mov dword [esi + 0xc], 1
jmp 0x42f18b
mov edx, esi
mov eax, ebx
call fcn.0042ef4c
test al, al
jne 0x42f18b
jmp 0x42f182
mov eax, ebx
call fcn.0042bf3c
test al, al
jne 0x42f18b
jmp 0x42f182
mov eax, ebx
call fcn.00431508
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x42f182
cmp dword [0x522798], 0
je 0x42f182
mov eax, dword [0x522798]
cmp ebx, dword [eax + 0x24]
jne 0x42f182
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x522798]
call fcn.0042c7e0
jmp 0x42f182
mov eax, dword [0x527724]
cmp byte [eax + 0x20], 0
je 0x42f182
mov eax, dword [0x527724]
cmp dword [eax + 0x1c], 0
je 0x42f182
mov eax, dword [esi]
mov edx, dword [0x527724]
cmp eax, dword [edx + 0x1c]
jne 0x42f182
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.0043f5c0
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, 0xffb9
call fcn.00403214
jmp 0x42f18b
mov edx, esi
mov eax, ebx
call fcn.0042c8c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret