joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103ae181
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10398c00
mov eax, dword [0x1070dd84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.103a99a0
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x103ae1c3
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x103ae31f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10399170
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10758178]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.103add99
mov ecx, dword [esi*4 + 0x10758178]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x103ae318
cmp eax, dword [ecx + edi + 0x24]
jne 0x103ae318
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x103ae318
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.103add99
add esp, 0x14
test edx, edx
jl 0x103ae318
jg 0x103ae28e
test eax, eax
jb 0x103ae318
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x103ae318
jl 0x103ae2a8
cmp dword [ebp - 0x1008], eax
ja 0x103ae318
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x103ae2c6
test ebx, ebx
je 0x103ae2ff
cmp ecx, edi
jae 0x103ae2ff
mov al, byte [ecx]
cmp al, 0xd
jne 0x103ae2e0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x103ae2ec
cmp byte [ecx + 1], 0xa
jne 0x103ae2ec
inc ecx
jmp 0x103ae2ec
movzx eax, al
movsx eax, byte [eax + 0x1070df80]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x103ae2c6
cmp edx, ebx
jne 0x103ae2c6
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x103ae31d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10398bef
leave
ret
Function at 0x103b0356
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x103b03f3
push ebx
push esi
call fcn.103b031f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.103b02b3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x103b03a0
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x103b03f2
push edi
push eax
call fcn.103a8796
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x103b03c0
call fcn.103a875c
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x103b03f1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.103b02b3
add esp, 0x20
test eax, eax
jne 0x103b03df
push edi
call fcn.103a875c
jmp 0x103b03e7
push ebx
call fcn.103a875c
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x103b67a1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.103b671d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x103b6910
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x103b6910
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x103b68c5
jg 0x103b67fd
test eax, eax
je 0x103b68bb
push 1
push 0x1000
call fcn.103aa417
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x103b6820
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x103b68b2
push 0x8000
push ebx
call fcn.103b664e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x103b6849
jg 0x103b6844
cmp ecx, 0x1000
jb 0x103b6849
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.103ac307
add esp, 0x10
cmp eax, 0xffffffff
je 0x103b688e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x103b6844
jl 0x103b6875
test ecx, ecx
jne 0x103b6836
push dword [ebp - 0xc]
push ebx
call fcn.103b664e
push esi
call fcn.103a875c
add esp, 0xc
xor ebx, ebx
jmp 0x103b691e
cmp byte [edi + 0x24], 0
je 0x103b68a5
cmp dword [edi + 0x20], 5
jne 0x103b68a5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x103b68b0
mov ebx, dword [edi + 0x18]
jmp 0x103b68b2
xor ebx, ebx
push esi
call fcn.103a875c
pop ecx
jmp 0x103b691e
test ecx, ecx
jg 0x103b6887
jl 0x103b68c5
test eax, eax
jae 0x103b6887
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.103addb7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x103b68e5
cmp byte [edi + 0x1c], 0
je 0x103b6887
jmp 0x103b6916
push ebx
call fcn.103b2ab5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x103b6887
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x103b691e
cmp byte [edi + 0x1c], 0
je 0x103b691b
mov ebx, dword [edi + 0x18]
jmp 0x103b691e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.103addb7
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e8ef
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40e92a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40e911
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40e922
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40e92c
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40e907
xor eax, eax
pop edi
pop esi
ret

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

Disassembly:
call fcn.0040e8af
or eax, 0x8bf1e839
jge 0x40e978
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.0040e8af
mov cl, 0x33
jle 0x40e9d8
push ebx
call fcn.0040e8ef
pop ecx
test eax, eax
pop ecx
je 0x40ea42
push edi
push esi
push ebx
call fcn.0040e92f
add esp, 0xc
call fcn.0040e8af
and al, 0x26
push edi
xor dword [ebx - 0x97a878a], ecx
je 0x40ea42
mov ebx, dword [esi + edi + 0x24]
add esi, edi
add ebx, edi
call fcn.0040e8af
dec ecx
jl 0x40ea3a
out dx, eax
mov eax, dword [esi + 0x20]
add eax, edi
mov edi, dword [esi + 0x1c]
add edi, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
test ax, ax
je 0x40ea51
sal byte [esi + esi*2 - 0x7d], 0x65
cld
add byte [ebx - 0xfba76f9], cl
and dword [ebp - 4], 0
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
call fcn.0040e8af
pop esi
jge 0x40e97f
xor al, byte [ebx + 0x7400f07d]
inc ebx
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, dword [ebp - 4]
jne 0x40ea22
mov eax, dword [ebp - 0xc]
push dword [ebp + 0xc]
mov eax, dword [eax]
add eax, dword [ebp + 8]
push eax
call fcn.0040e845
pop ecx
test eax, eax
pop ecx
je 0x40ea49
mov eax, dword [esi + 0x18]
inc dword [ebp - 0x10]
add dword [ebp - 8], 2
add dword [ebp - 0xc], 4
dec eax
cmp dword [ebp - 0x10], eax
jbe 0x40ea00
mov eax, dword [esi + 0x14]
inc dword [ebp - 4]
inc ebp
cld
dec eax
cmp dword [ebp - 4], eax
jbe 0x40e9df
xor eax, eax
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
jmp 0x40ea86
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x10]
add eax, ebx
cmp dword [ebp + 0xc], eax
jne 0x40ea71
call fcn.0040e8af
xor dword [edx - 0x66], ebp
stosb byte es:[edi], al
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne fcn.0040ea80
mov eax, dword [esi + 0x14]
add dword [ebp - 0x10], 4
inc ebx
dec eax
cmp ebx, eax
jbe 0x40ea56
jmp 0x40ea42

Function at 0x40eba4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl

Function at 0x40ebad
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
Function at 0x41059f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x410639
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
clc
invalid
invalid
jle 0x4105a4
test dword [eax + edi*8 - 1], ebx
jmp dword [ecx]
mov byte [ebp - 0x7a3], 0x20
mov byte [ebp - 0x7a2], 0x3c
mov byte [ebp - 0x7a1], 0x76
mov byte [ebp - 0x7a0], 0x7e
invalid
test dword [ecx - 8], esp
invalid
invalid

Function at 0x410b0a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004093a4
xor ebx, ebx
cmp dword [0x416a70], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x410be1
push 0x402748
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x410b4c
xor eax, eax
jmp 0x410ca5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40273c
push edi
call esi
cmp eax, ebx
je 0x410b45
push eax
call fcn.00409339
mov dword [esp], 0x40272c
push edi
mov dword [0x416a70], eax
call esi
push eax
call fcn.00409339
mov dword [esp], 0x402718
push edi
mov dword [0x416a74], eax
call esi
push eax
call fcn.00409339
mov dword [0x416a78], eax
lea eax, [ebp - 8]
push eax
call fcn.004090dc
test eax, eax
pop ecx
pop ecx
je 0x410baf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c0d5
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x410be1
push 0x4026fc
push edi
call esi
push eax
call fcn.00409339
cmp eax, ebx
pop ecx
mov dword [0x416a80], eax
je 0x410be1
push 0x4026e4
push edi
call esi
push eax
call fcn.00409339
pop ecx
mov dword [0x416a7c], eax
mov eax, dword [0x416a7c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x410c5a
cmp dword [0x416a80], esi
je 0x410c5a
push eax
call fcn.004093b2
pop ecx
call eax
cmp eax, ebx
je 0x410c27
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x416a80]
call fcn.004093b2
pop ecx
call eax
test eax, eax
je 0x410c27
test byte [ebp - 0x18], 1
jne 0x410c5a
lea eax, [ebp - 0xc]
push eax
call fcn.0040911d
test eax, eax
pop ecx
je 0x410c42
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040c0d5
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x410c51
or dword [ebp + 0x10], 0x200000
jmp 0x410c8b
or dword [ebp + 0x10], 0x40000
jmp 0x410c8b
mov eax, dword [0x416a74]
cmp eax, esi
je 0x410c8b
push eax
call fcn.004093b2
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x410c8b
mov eax, dword [0x416a78]
cmp eax, esi
je 0x410c8b
push dword [ebp - 4]
push eax
call fcn.004093b2
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x416a70]
call fcn.004093b2
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002073e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
or eax, dword [edi + 4]
je 0x10020791
mov ecx, 8
mov esi, 0x13cee4d1
sub ebx, ebx
sub eax, eax
mov al, byte [edi]
inc edi
mul esi
rol ebx, 5
xor ebx, eax
dec ecx
jne 0x1002075a
test ebx, ebx
jne 0x1002076f
mov ebx, esi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
shr ecx, 2
je 0x10020782
xor dword [edi], ebx
add edi, 4
dec ecx
jne 0x1002077a
mov ecx, dword [ebp + 0x10]
and cl, 3
je 0x10020791
xor byte [edi], bl
inc edi
dec cl
jne 0x1002078a
pop ebx
pop edi
pop esi
leave
ret

Function at 0x100265e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, 0x5e9212fc
mov edx, 0xa761f0f7
sub eax, eax
mov esi, dword [ebp + 0xc]
lea edi, [esi - 1]
inc edi
cmp byte [edi], 0
jne 0x100265f8
cmp esi, edi
je 0x10026621
mov al, byte [esi]
inc esi
imul ecx, eax, 0x71b2c107
ror edx, 6
xor ecx, edx
imul edx, eax, 0xebae624d
ror ebx, 7
xor edx, ebx
mov ebx, ecx
cmp esi, edi
jb 0x10026602
and ebx, 0x7fffffff
cmp ebx, 0x7fffffab
jb 0x10026635
sub ebx, 0x7fffffab
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], edx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x100267ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push ebp
mov ebp, dword [ebp + 8]
mov ebx, dword [ebp + 0x8c]
mov ecx, dword [ebp + 0x94]
test ecx, ecx
je 0x10026800
lea edx, [esi + ecx]
cmp edx, edi
jbe 0x100267e3
mov edx, edi
mov al, byte [esi]
xor bl, al
mov byte [esi], bl
ror ebx, 8
dec ecx
inc esi
cmp esi, edx
jb 0x100267e3
test ecx, ecx
jne 0x100268a9
xor ebx, dword [ebp + 0x90]
mov edx, dword [ebp]
sub edi, 4
jmp 0x10026849
mov eax, 0x9c4e
mul edx
mov ecx, 0x7fffffab
div ecx
mov ecx, dword [ebp + 4]
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov dword [ebp + 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x1b
mov ecx, dword [ebp + eax*4 + 0xc]
sub ecx, dword [ebp + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + eax*4 + 0xc], edx
xor ebx, ecx
mov ecx, dword [esi]
xor ebx, ecx
mov dword [esi], ebx
mov ebx, ecx
add esi, 4
cmp esi, edi
jbe 0x10026808
add edi, 4
mov ecx, edi
sub ecx, esi
je 0x100268a6
mov eax, 0x9c4e
mul edx
mov ecx, 0x7fffffab
div ecx
mov ecx, dword [ebp + 4]
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov dword [ebp + 4], ecx
mov eax, dword [ebp + 8]
shr eax, 0x1b
mov ecx, dword [ebp + eax*4 + 0xc]
sub ecx, dword [ebp + 4]
mov dword [ebp + 8], ecx
mov dword [ebp + eax*4 + 0xc], edx
xor ebx, ecx
mov dword [ebp + 0x90], ebx
mov ecx, 4
mov al, byte [esi]
xor bl, al
mov byte [esi], bl
ror ebx, 8
dec ecx
inc esi
cmp esi, edi
jb 0x10026897
mov dword [ebp], edx
mov dword [ebp + 0x8c], ebx
mov dword [ebp + 0x94], ecx
pop ebp
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10001193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, str.dpmmBmbvusjWfmjGebfSfmjGfubfsDXfuvdfyFmmfiT
push edi
mov eax, esi
call fcn.1000117f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push str.shell32.dll
mov byte [0x10003029], bl
mov byte [0x10003034], bl
mov byte [0x1000303d], bl
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x10003035
push str.kernel32.dll
mov dword [ebp - 4], eax
call esi
push eax
call edi
push 0x1000303e
push str.kernel32.dll
mov dword [ebp - 8], eax
call esi
push eax
call edi
push 1
push ebx
push ebx
push 0x10002058
push ebx
push ebx
mov edi, eax
call dword [ebp - 4]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push str.desktop.ini
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x10003060], eax
cmp eax, 0xffffffff
je 0x100013f5
push 0x40
mov esi, 0x1000
push esi
push esi
push ebx
call edi
push ebx
push 0x10003064
push esi
push eax
push dword [0x10003060]
mov dword [0x1000305c], eax
call dword [ebp - 8]
mov eax, dword [0x1000305c]
mov cl, byte [eax]
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
movzx ecx, cl
xor ecx, 0x4e
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
xor esi, esi
cmp dword [0x10003064], esi
jbe 0x10001375
mov eax, dword [0x1000305c]
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003064]
jb 0x1000135c
push eax
xor bx, si
xor bx, si
btc esi, 0x8d
xor dx, 0xf73
xor dx, 0x7cc5
xor dx, 0xae7
xor dx, 0x7951
btc esi, 0x8d
ror si, 2
rol si, 2
pop eax
xor bx, 0x1fdd
xor bx, 0xfe35
xor bx, 0xa079
xor bx, 0x4191
push eax
xor bp, bx
xor bp, bx
ror bl, 0x3f
test di, bx
rol bl, 0x3f
xor dx, 0xf37d
xor dx, 0xef5d
xor dx, 0xbe3c
xor dx, 0xa21c
pop eax
rol di, 0x7e
ror di, 0x7e
push eax
xor dx, ax
xor dx, ax
test bp, cx
xor bx, bp
call dword [0x1000305c]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x40b1b8
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 0x40b1f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404374
jmp 0x40b1fa
mov eax, ebx
mov edx, esi
call fcn.004042d8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b8ac
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b724
mov eax, dword [0x48b52c]
cmp byte [eax], 0
je 0x40b919
mov eax, dword [0x48b334]
call fcn.00402cb8
call fcn.00402868
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409164
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b968
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b958
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48b2e0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48c718]
call fcn.00405d50
push eax
call sub.user32.dll_LoadStringA_1
cmp byte [0x48a13c], 0
je 0x40b958
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c570
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c5d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408dc4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5db
lea eax, [ebp - 0xc]
call fcn.00404284
ret
Function at 0x464b7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x464bd8
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x464ba7
call fcn.0040cc84
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004028fc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x464bd8
call fcn.0040cc84
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x46dd04
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46dddc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x48d024], 0
jne 0x46ddc0
lea eax, [ebp - 4]
mov edx, 0x46ddf4
call fcn.0040431c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404744
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46ddc0
mov eax, ebx
call fcn.00402720
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46ddb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46dda3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46de04
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46dda3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x48d024], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ddc0
mov eax, dword [ebp - 0xc]
call fcn.00402740
ret
mov ebx, dword [0x48d024]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dde3
lea eax, [ebp - 4]
call fcn.00404284
ret

Function at 0x47825c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x48d048], 0
jne 0x47827f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4781d0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x48d048], eax
ret

Function at 0x47cfc4
Capabilities:
Set global application hook

Disassembly:
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x47cf64
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x48d06c], eax
cmp dword [0x48d06c], 0
jne 0x47cfeb
call fcn.0040cc84
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404284
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x47d2a3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004044fc
pop ebx
mov esp, ebp
pop ebp
ret