joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10033c60
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [esp + 0x24]
mov ebp, dword [0x1017f770]
push 0x10171074
push esi
call sub.VCRUNTIME140.dll_strstr
add esp, 8
test eax, eax
cmove eax, esi
mov dword [esp], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
lea edi, [eax + 0x18]
and edi, 0xfffffffc
mov ebx, dword [ebp + 0x2f3c]
mov ecx, dword [ebp + 0x2f40]
lea edx, [edi + ebx]
cmp ecx, edx
mov dword [esp + 4], eax
jge 0x10033d4a
test ecx, ecx
je 0x10033cc2
mov esi, ecx
shr esi, 0x1f
add esi, ecx
sar esi, 1
add esi, ecx
jmp 0x10033cc7
mov esi, 8
cmp esi, edx
cmovle esi, edx
cmp ecx, esi
jge 0x10033d4a
mov dword [esp + 0xc], edx
inc dword [ebp + 0x36c]
push dword [0x1017f778]
push esi
call dword [0x10175014]
add esp, 8
mov ecx, dword [ebp + 0x2f44]
test ecx, ecx
je 0x10033d36
push dword [ebp + 0x2f3c]
push ecx
mov dword [esp + 0x10], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x2f44]
test eax, eax
je 0x10033d22
mov ecx, dword [0x1017f770]
test ecx, ecx
je 0x10033d22
dec dword [ecx + 0x36c]
push dword [0x1017f778]
push eax
call dword [0x10175018]
add esp, 8
mov eax, dword [esp + 8]
mov dword [ebp + 0x2f44], eax
mov dword [ebp + 0x2f40], esi
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
mov dword [ebp + 0x2f3c], edx
mov ecx, dword [ebp + 0x2f44]
mov dword [ecx + ebx], edi
mov ecx, dword [ebp + 0x2f44]
lea ebp, [ecx + ebx]
add ebp, 4
vxorps xmm0, xmm0, xmm0
vmovups xmmword [ecx + ebx + 4], xmm0
test eax, eax
je 0x10033dc5
dec eax
mov ecx, dword [esp]
add ecx, 2
mov edx, 0xffffffff
mov ebx, 0xffffffff
jmp 0x10033da9
mov esi, ebx
shr esi, 8
movzx ebx, bl
xor ebx, edi
xor esi, dword [ebx*4 + 0x10128e2c]
inc ecx
mov ebx, esi
add eax, 0xffffffff
jae 0x10033e19
movzx edi, byte [ecx - 2]
cmp edi, 0x23
jne 0x10033d90
cmp eax, 2
jb 0x10033d90
cmp byte [ecx - 1], 0x23
jne 0x10033d90
cmp byte [ecx], 0x23
cmove ebx, edx
jmp 0x10033d90
mov ecx, dword [esp]
movzx edx, byte [ecx]
test dl, dl
je 0x10033e14
mov eax, ecx
lea eax, [ecx + 2]
mov ecx, 0xffffffff
mov ebx, 0xffffffff
jmp 0x10033dfd
movzx edi, dl
mov esi, ebx
shr esi, 8
movzx ebx, bl
xor ebx, edi
xor esi, dword [ebx*4 + 0x10128e2c]
inc eax
mov dl, dh
mov ebx, esi
test dh, dh
je 0x10033e19
mov dh, byte [eax - 1]
cmp dl, 0x23
jne 0x10033de0
cmp dh, 0x23
jne 0x10033de0
cmp byte [eax], 0x23
cmove ebx, ecx
mov dh, 0x23
jmp 0x10033de0
mov esi, 0xffffffff
not esi
mov dword [ebp], esi
lea eax, [ebp + 0x10]
mov ecx, dword [esp + 4]
inc ecx
push ecx
push dword [esp + 4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, ebp
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1003a010
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [esp + 0x20]
cmp dword [ecx + 0x18], 0
jne 0x1003a178
mov ebp, dword [esi + 0x14]
test ebp, ebp
jne 0x1003a040
mov ecx, esi
call fcn.10039ef0
mov ebp, dword [esi + 0x14]
test ebp, ebp
je 0x1003a178
mov eax, dword [esi + 0x1c]
imul eax, dword [esi + 0x20]
shl eax, 2
push eax
call fcn.1001ca90
add esp, 4
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x1c]
imul ecx, dword [esi + 0x20]
test ecx, ecx
jle 0x1003a178
cmp ecx, 0x10
jb 0x1003a159
lea edx, [ecx + ebp]
cmp eax, edx
jae 0x1003a080
lea edx, [eax + ecx*4]
cmp ebp, edx
jb 0x1003a159
mov edx, ecx
and edx, 0xfffffff0
mov dword [esp + 4], edx
add edx, 0xfffffff0
mov ebx, edx
shr ebx, 4
inc ebx
test edx, edx
mov dword [esp], ebx
je 0x1003a1b2
and ebx, 0xfffffffe
xor edx, edx
vpbroadcastd ymm0, dword [0x10130894]
nop dword [eax + eax]
vpmovzxbd ymm1, qword [ebp + edx]
vpmovzxbd ymm2, qword [ebp + edx + 8]
vpslld ymm1, ymm1, 0x18
vpslld ymm2, ymm2, 0x18
vpor ymm1, ymm1, ymm0
vpor ymm2, ymm2, ymm0
vmovdqu ymmword [eax + edx*4], ymm1
vmovdqu ymmword [eax + edx*4 + 0x20], ymm2
vpmovzxbd ymm1, qword [ebp + edx + 0x10]
vpmovzxbd ymm2, qword [ebp + edx + 0x18]
vpslld ymm1, ymm1, 0x18
vpslld ymm2, ymm2, 0x18
vpor ymm1, ymm1, ymm0
vpor ymm2, ymm2, ymm0
vmovdqu ymmword [eax + edx*4 + 0x40], ymm1
vmovdqu ymmword [eax + edx*4 + 0x60], ymm2
add edx, 0x20
add ebx, 0xfffffffe
jne 0x1003a0b0
test byte [esp], 1
je 0x1003a149
vpmovzxbd ymm0, qword [ebp + edx]
vpmovzxbd ymm1, qword [ebp + edx + 8]
vpslld ymm0, ymm0, 0x18
vpslld ymm1, ymm1, 0x18
vpbroadcastd ymm2, dword [0x10130894]
vpor ymm0, ymm0, ymm2
vpor ymm1, ymm1, ymm2
vmovdqu ymmword [eax + edx*4], ymm0
vmovdqu ymmword [eax + edx*4 + 0x20], ymm1
mov edx, dword [esp + 4]
cmp ecx, edx
je 0x1003a178
and ecx, 0xf
lea eax, [eax + edx*4]
add ebp, edx
inc ecx
xor edx, edx
nop dword [eax]
movzx ebx, byte [ebp + edx]
shl ebx, 0x18
or ebx, 0xffffff
mov dword [eax + edx*4], ebx
dec ecx
inc edx
cmp ecx, 1
ja 0x1003a160
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
test edi, edi
je 0x1003a18e
mov ecx, dword [esi + 0x1c]
mov dword [edi], ecx
mov ecx, dword [esp + 0x28]
test eax, eax
je 0x1003a19b
mov edx, dword [esi + 0x20]
mov dword [eax], edx
test ecx, ecx
je 0x1003a1a5
mov dword [ecx], 4
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
vzeroupper
ret 0x10
xor edx, edx
test byte [esp], 1
jne 0x1003a115
jmp 0x1003a149
Function at 0x10078d80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
sub esp, 0x1c
mov eax, dword [0x1017f61c]
cmp dword [eax + 0x4d28], 0
je 0x10078d9a
mov edx, dword [0x1017f610]
jmp 0x10078dab
mov esi, dword [ecx + 0x50]
mov edx, dword [0x1017f610]
cmp esi, dword [edx + 0x1c]
je 0x10078dab
inc dword [ecx + 0x58]
mov edx, dword [edx + 0x1c]
mov dword [ecx + 0x50], edx
mov edx, dword [0x1017f5d4]
mov edx, dword [edx + 0x3004]
mov esi, dword [eax + 0x4d24]
cmp edx, esi
jle 0x10078dd4
mov eax, dword [eax + 0x4d28]
add eax, esi
inc eax
cmp edx, eax
jle 0x10078e0a
cmp byte [ecx + 0x17], 0
je case.default.0x10078e1c
mov eax, dword [ecx + 0x54]
test eax, eax
jne case.0x10078e1c.1
cmp byte [ecx + 0x15], 0
je 0x10078eeb
mov ecx, dword [ecx + 0x58]
mov eax, ecx
shr eax, 0x1f
add eax, ecx
and eax, 0xfffffffe
sub eax, ecx
add eax, 2
jmp case.0x10078e1c.1
mov edx, dword [ecx + 0x30]
dec edx
cmp edx, 3
ja case.default.0x10078e1c
mov eax, 2
jmp dword [edx*4 + 0x10132114]
mov ecx, 0x13b4
add ecx, dword [0x1017f5d8]
mov edx, 0x1b4e81b5
mov eax, esi
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 4
add edx, eax
imul eax, edx, 0x96
sub esi, eax
cmp esi, 0x96
jae 0x10078f28
imul eax, esi, 0x858
vmovss xmm0, dword [ecx + eax + 0x100]
vmovss dword [esp + 0xc], xmm0
vmovss xmm0, dword [ecx + eax + 0x108]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
mov esi, dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
call esi
fstp dword [esp + 0x18]
vmovss xmm0, dword [esp + 0x18]
vmovss dword [esp + 8], xmm0
vmovss xmm0, dword [esp + 0xc]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call esi
fstp dword [esp + 0x14]
vmovss xmm0, dword [esp + 8]
vsubss xmm0, xmm0, dword [esp + 0x14]
vmovss dword [esp], xmm0
mov dword [esp + 4], 0x43b40000
call esi
fstp dword [esp + 0x10]
vxorps xmm0, xmm0, xmm0
vucomiss xmm0, dword [esp + 0x10]
mov eax, 1
sbb eax, 0xffffffff
jmp case.0x10078e1c.1
xor eax, eax
add esp, 0x1c
pop esi
ret
mov eax, dword [ecx + 0x34]
test eax, eax
je case.0x10078e1c.2
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetKeyState]
sub esp, 4
cmp ax, 1
mov eax, 2
sbb eax, 0
jmp case.0x10078e1c.1
mov eax, 1
jmp case.0x10078e1c.1
xor edx, edx
cmp dword [ecx + 0x5c], 2
sete dl
mov eax, 2
sub eax, edx
mov dword [ecx + 0x5c], eax
jmp case.0x10078e1c.1
call fcn.1006b870
int3
Function at 0x10079b60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
push esi
sub esp, 0x30
mov esi, ecx
mov eax, dword [0x1017f528]
xor eax, esp
mov dword [esp + 0x2c], eax
mov dword [ecx + 0x54], 0
mov eax, dword [0x1017f61c]
cmp dword [eax + 0x4d28], 0
jne 0x10079b8c
xor byte [esi + 0x4c], 1
cmp dword [esi + 0x48], 0
je 0x10079d7d
mov edi, dword [esp + 0x40]
mov ecx, dword [0x1017f614]
mov dword [esp + 0x28], 0
vxorps xmm0, xmm0, xmm0
vmovlps qword [esp + 0x20], xmm0
mov eax, dword [ecx]
lea edx, [esp + 0x20]
mov dword [esp], edx
call dword [eax + 0x48]
sub esp, 4
vmovss xmm0, dword [esp + 0x24]
vmovss dword [edi], xmm0
mov eax, dword [esi + 0x38]
test eax, eax
je 0x10079bf0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetKeyState]
sub esp, 4
test ax, ax
je 0x10079bf0
vmovss xmm0, dword [0x10131fbc]
jmp 0x10079d75
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10079c15
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetKeyState]
sub esp, 4
test ax, ax
je 0x10079c15
vmovss xmm0, dword [0x10132000]
jmp 0x10079d75
mov ebx, dword [esp + 0x44]
mov dword [esp], edi
mov ecx, esi
call fcn.10075c50
sub esp, 4
mov dword [esp], edi
mov ecx, esi
call fcn.100777b0
sub esp, 4
test al, al
jne case.default.0x10079c50
mov eax, dword [esi + 0x48]
dec eax
cmp eax, 5
ja case.default.0x10079c50
vmovss xmm0, dword [0x101320fc]
jmp dword [eax*4 + 0x10132124]
vmovss xmm0, dword [edi]
vaddss xmm0, xmm0, dword [0x10131fc0]
jmp case.0x10079c50.6
mov eax, dword [0x1017f610]
vmovss xmm0, dword [0x10130edc]
vmulss xmm0, xmm0, dword [eax + 0x10]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp], xmm0
mov dword [esp + 0xc], 0x405e0000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
fstp dword [esp + 0x10]
vmovss xmm0, dword [0x10130edc]
vaddss xmm0, xmm0, dword [esp + 0x10]
vaddss xmm0, xmm0, dword [edi]
jmp case.0x10079c50.6
mov eax, dword [0x1017f610]
vmovss xmm0, dword [eax + 0x10]
vmulss xmm0, xmm0, dword [0x10131fc0]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp], xmm0
mov dword [esp + 0xc], 0x40768000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
fstp dword [esp + 0x14]
vmovss xmm0, dword [esp + 0x14]
jmp case.0x10079c50.6
mov eax, dword [0x1017f610]
vmovss xmm0, dword [eax + 0x10]
vmulss xmm0, xmm0, dword [0x10132100]
vcvtss2sd xmm0, xmm0, xmm0
vmovsd qword [esp], xmm0
mov dword [esp + 0xc], 0x40768000
mov dword [esp + 8], 0
call sub.api_ms_win_crt_math_l1_1_0.dll_fmod
fstp dword [esp + 0x18]
vmovss xmm0, dword [esp + 0x18]
jmp case.0x10079c50.6
mov eax, dword [0x1017f5c0]
mov dword [esp + 4], 0x43340000
mov dword [esp], 0xc3340000
call dword [eax]
fstp dword [esp + 0x1c]
vmovss xmm0, dword [esp + 0x1c]
vmovss dword [edi], xmm0
xor eax, eax
cmp ebx, 2
sete al
vcvtsi2ss xmm1, xmm1, dword [esi + eax*8 + 0x20]
vcvtsi2ss xmm0, xmm2, dword [esi + 0x24]
xor eax, eax
cmp byte [esi + 0x4c], 0
sete al
vfmadd132ss xmm0, xmm1, dword [eax*4 + 0x101316b0]
vaddss xmm0, xmm0, dword [edi]
vmovss dword [edi], xmm0
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100d7fe0
add esp, 0x30
pop esi
pop edi
pop ebx
ret 8
Function at 0x100bd130
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [esp + 0x20]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
movzx edx, byte [ebx + 1]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [ebx + 3]
xor edx, eax
imul esi, edx, 0x1000193
and esi, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
mov dword [esp], ecx
mov ecx, dword [ecx + 0xc]
lea edi, [esi + esi]
mov ebp, dword [ecx + edi*4 + 4]
xor eax, eax
mov dword [esp + 8], edx
cmp ebp, edx
je 0x100bd241
lea edx, [esi + esi]
inc edx
mov dword [esp + 4], edi
mov esi, dword [ecx + edi*4]
mov edi, dword [ebx]
cmp edi, dword [ebp + 8]
jne 0x100bd1ac
cmp esi, ebp
je 0x100bd1de
mov eax, dword [ebp + 4]
mov dword [ecx + edx*4], eax
jmp 0x100bd1ee
mov ebx, ebp
nop
cmp ebx, esi
je 0x100bd241
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jne 0x100bd1b0
cmp ebp, ebx
je 0x100bd1da
mov ebp, ebx
cmp esi, ebx
mov edx, dword [esp]
jne 0x100bd1f1
mov eax, dword [esi]
mov edi, dword [esp + 4]
mov dword [ecx + edi*4], eax
mov ebp, esi
jmp 0x100bd1f1
cmp esi, ebx
jne 0x100bd1a4
mov eax, dword [esp + 4]
mov esi, edx
mov edx, dword [esp + 8]
mov dword [ecx + eax*4], edx
mov dword [ecx + esi*4], edx
mov edx, dword [esp]
mov eax, dword [ebp]
dec dword [edx + 8]
mov ecx, dword [ebp + 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 4]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0x54]
test ecx, ecx
je 0x100bd231
mov eax, dword [ebp + 0x5c]
sub eax, ecx
cmp eax, 0x1000
jb 0x100bd227
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x100bd24b
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.100d7fd2
add esp, 8
push 0x60
push ebp
call fcn.100d7fd2
add esp, 8
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x100d8ad5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push 0x10172398
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.100d8ab1
pop esi
leave
ret 8
Function at 0x4035ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4035fc
pop dword [ebp - 0x2c]
mov eax, 0xb7ddea2d
add eax, 0x48624bcf
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x819e2a0a
sub dword [ebp - 0x3c], 0x334be4bf
mov dword [ebp - 0x38], 0xfcbf44a8
sub dword [ebp - 0x38], 0xca8bf863
mov dword [ebp - 0x34], 0xccca6ff
sub dword [ebp - 0x34], 0xc08062d1
mov dword [ebp - 0x30], 0x28c295c9
sub dword [ebp - 0x30], 0x28c295c9
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xe9edbfa7
sub eax, 0xe9ad4f8b
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x15efcb1a
add dword [ebp - 0x3c], 0x5e829e3c
mov dword [ebp - 0x38], 0x7c12e54a
sub dword [ebp - 0x38], 0x3aa683d5
mov dword [ebp - 0x34], 0x89a937a3
sub dword [ebp - 0x34], 0x2639cb37
mov dword [ebp - 0x30], 0xe04c24ce
sub dword [ebp - 0x30], 0xe04c24ce
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x2062d0c7
sub eax, 0x202260a7
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x34709
push 0
call eax
mov ecx, 0x51ac6a27
add ecx, 0xae53d0db
mov esi, eax
mov edx, 0x40c800
add edx, dword [ebp - 0x2c]
mov ebx, 0xa2d0b1a5
add dword [ebp - 0x18], edx
mov edi, dword [edx]
add dword [ebp - 0x1c], edi
xor edi, ebx
sub dword [ebp - 0x14], eax
mov dword [esi], edi
xor dword [ebp - 8], ecx
add esi, 0xa7d1f45c
add esi, 0x582e0ba8
add edx, 4
loop 0x403712
add eax, 0xdedb
mov ebx, eax
add eax, 0xfb58f69f
add eax, 0x4a70966
mov ecx, 0x400000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x4045aa
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4068f8
call fcn.0040545b
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x4045c9
mov al, 1
jmp 0x404692
test esi, esi
je 0x404690
xor ebx, ebx
cmp word [esi], bx
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404690
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004035ed
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x404684
lea eax, [ebp - 0x28]
push eax
call fcn.004035ed
pop ecx
test al, al
jne 0x404684
cmp dword [ebp - 0x18], esi
jbe 0x404684
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404684
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x404684
push 0x407628
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401780
mov al, bl
jmp 0x404692
xor al, al
call fcn.00405416
ret
Function at 0x4014ad
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x500, 0
sub ebp, 0x86
lea eax, [ebp - 0x272]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
xor eax, eax
push 0x104
mov word [ebp + 0x66], ax
lea eax, [ebp - 0x47a]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp + 0x16]
push eax
push eax
mov byte [ebp + 0x16], 0
call dword [sym.imp.SHLWAPI.DLL_PathAppendA]
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x272]
push eax
mov byte [ebp + 0x76], 0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
xor al, al
mov byte [ebp + 0x7e], al
xor ah, ah
push ebx
mov word [ebp + 0x56], ax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp + 0x7e]
push eax
lea eax, [ebp + 0x76]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
mov ebx, eax
lea eax, [ebp - 0x47a]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [ebp + 0x56]
push eax
lea eax, [ebp + 0x66]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
push 5
push ebx
call dword [sym.imp.USER32.DLL_GetWindow]
push 0
push 0
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
xor eax, eax
mov word [ebp - 0x6a], ax
lea eax, [ebp - 0x6a]
push eax
push eax
call dword [sym.imp.SHLWAPI.DLL_PathAppendW]
lea eax, [esi - 3]
lea esp, [ebp + 0x86]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x4020af
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov cl, byte [0x403050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x403054
add edx, dword [0x403050]
call fcn.00401fe8
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402baf
push edx
sub edi, fcn.00402359
push edi
xor eax, eax
push fcn.00402359
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x402121
mov eax, fcn.00402359
mov ebx, esi
mov edx, edi
call fcn.00401fe8
mov edx, 0x1c000
mov eax, 0x403054
mov ebx, esi
call fcn.00401d13
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x402359
Capabilities:
Encode data using xor

Disassembly:
mov edi, eax
inc esi
popal
add byte [ebx + 0x6c], al
inc ebp
add byte [edx - 1], dh
add byte [ebp + 0x72], ah
invalid

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x30a026db
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x13a15814
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401bd7
pop dword [ebp - 0x10]
mov eax, 0xc87612d7
sub eax, 0xc835f700
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x52b87d08
sub dword [ebp - 0x20], 0x46637bd
mov dword [ebp - 0x1c], 0xde0f5d9e
sub dword [ebp - 0x1c], 0xabdc1159
mov dword [ebp - 0x18], 0x7abbfd16
add dword [ebp - 0x18], 0xd1904718
mov dword [ebp - 0x14], 0x8d8afedb
add dword [ebp - 0x14], 0x72750125
lea eax, [ebp - 0x20]
push eax
mov eax, 0xb4127be8
add eax, 0x4c2df478
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xca856a9c
sub dword [ebp - 0x20], 0x56130146
mov dword [ebp - 0x1c], 0xd5ddd6f7
add dword [ebp - 0x1c], 0x6b8e8a7e
mov dword [ebp - 0x18], 0x2063151f
sub dword [ebp - 0x18], 0xbcf3a8b3
mov dword [ebp - 0x14], 0x16a43706
add dword [ebp - 0x14], 0xe95bc8fa
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xa7720189
add eax, 0x58ce6f77
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x344df
push 0
call eax
mov ecx, 0x8bf720d4
add ecx, 0x74091e17
xor edx, edx
add edx, eax
mov edi, 0x410000
add edi, dword [ebp - 0x10]
mov esi, 0x29f4a495
sub esi, 0xc18efda8
add dword [ebp - 4], ecx
mov ebx, dword [edi]
mov dword [ebp - 4], 0x1c6a768
add ebx, esi
xor dword [ebp - 4], ecx
mov dword [edx], ebx
add dword [ebp - 4], esi
add edx, 4
add edi, 0xe906b17a
sub edi, 0xe906b176
loop 0x401cf5
add eax, 0xee7f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf0c5d27c
sub ecx, 0xf085d27c
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e003
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x400f43e0
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x1a8a3c9e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219