joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013b4a0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov edx, ebx
push esi
push edi
mov edi, 0x811c9dc5
xor esi, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1013b4b5
sub edx, ecx
je 0x1013b4df
movsx eax, byte [esi + ebx]
mov ecx, ebx
xor eax, edi
imul edi, eax, 0x1000193
inc esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1013b4d2
sub ecx, edx
cmp esi, ecx
jb 0x1013b4c0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1013c140
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x10152445
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x1013c16d
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1013c192
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1013c180
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1009bb90
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1013c1c2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
jne 0x1013c1d6
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.10148486
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.10098c90
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10235290]
mov eax, dword [ebx + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x10235290]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1013c2a4
divss xmm0, xmm3
call fcn.1005f0f0
call fcn.1014a320
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1013c288
cmp eax, 0x200
jae 0x1013c286
shl eax, 3
cmp eax, ecx
jae 0x1013c288
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100da220
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009bb90
mov edx, dword [eax]
jmp 0x1013c2a7
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1013c2cf
mov dword [ecx + eax*8], edi
jmp 0x1013c2e1
cmp esi, edx
jne 0x1013c2d8
mov dword [ecx + eax*8], edi
jmp 0x1013c2e5
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1013c2e5
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1013c600
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015297b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov byte [ebp - 4], 1
lea ecx, [ebx + 0x10]
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
mov dword [ebx + 0x1c], 0
mov byte [ebx + 0x20], 0
mov dword [ebx], eax
call fcn.1013cad0
mov edi, dword [ebx + 0x14]
sub edi, dword [ebx + 0x10]
mov dword [ebx + 0x1c], edi
mov eax, dword [ebx + 8]
mov ecx, eax
mov edx, dword [ebx + 4]
sub ecx, edx
mov dword [ebp + 8], eax
cmp edi, ecx
jae 0x1013c692
lea eax, [edx + edi]
jmp 0x1013c6be
jbe 0x1013c6c1
mov eax, dword [ebx + 0xc]
sub eax, edx
cmp edi, eax
jbe 0x1013c6a9
push ecx
push edi
lea ecx, [ebx + 4]
call fcn.1013cc70
jmp 0x1013c6c1
sub edi, ecx
push edi
push 0
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, edi
mov dword [ebx + 8], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 0xc]
push eax
push 0x40
push dword [ebx + 0x1c]
push dword [ebx]
call esi
push dword [ebx + 0x1c]
push dword [ebx]
push dword [ebx + 4]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebx + 0x1c]
push dword [ebx]
call esi
call fcn.1013c5b0
mov dword [ebp + 8], ebx
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x1013c70a
mov dword [ecx], ebx
add dword [eax + 4], 4
jmp 0x1013c716
lea edx, [ebp + 8]
push edx
push ecx
mov ecx, eax
call fcn.101085e0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1013dae0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x1013db77
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.1013d460
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x1013db86
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.1013d460
mov eax, dword [esp + 0xe]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10144100
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [ecx + 0x48]
push edi
mov al, byte [esi]
test al, al
jne 0x1014411f
mov eax, 0x811c9dc5
jmp 0x10144135
movsx eax, al
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100dd2d0
mov dword [esp + 0x10], eax
mov ecx, ebx
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov eax, dword [eax]
cmp dword [eax + 0xc], 0
jne 0x101441a3
mov ecx, dword [0x102efe64]
push esi
mov eax, dword [ecx]
call dword [eax + 0x34]
mov cl, byte [esi]
mov dword [esp + 0x10], eax
test cl, cl
jne 0x1014416f
mov eax, 0x811c9dc5
jmp 0x10144185
movsx eax, cl
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100dd2d0
mov dword [esp + 0x14], eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + 0xc], ecx
mov al, byte [esi]
test al, al
jne 0x101441b0
mov eax, 0x811c9dc5
jmp 0x101441c6
movsx eax, al
lea ecx, [esi + 1]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
call fcn.100dd2d0
mov dword [esp + 0x14], eax
mov ecx, ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.101441f0
pop edi
pop esi
pop ebx
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x101441f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101532d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.1009b750
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10144278
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0xfffffff
jne 0x1014428c
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x10], 0
call fcn.10148486
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, ebx
addsd xmm0, qword [eax*8 + 0x10235290]
cvtdq2pd xmm1, xmm1
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x10235290]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x10144356
divss xmm0, xmm3
call fcn.1005f0f0
call fcn.1014a320
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x10144338
cmp ebx, 0x200
jae 0x10144336
shl ebx, 3
cmp ebx, ecx
jae 0x10144338
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.100b92a0
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b750
mov edx, dword [eax]
jmp 0x10144359
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x10144384
mov dword [ecx + eax*8], esi
jmp 0x10144393
cmp edi, edx
jne 0x1014438d
mov dword [ecx + eax*8], esi
jmp 0x10144397
cmp dword [ecx + eax*8 + 4], ebx
jne 0x10144397
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10145050
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 4]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 5]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 6]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 7]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
pop ebp
ret 4
Function at 0x101474b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov eax, dword [ebx]
nop
cmp edi, 7
ja case.default.0x101474c5
jmp dword [edi*4 + 0x1014765c]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x10147508
sub ecx, 1
je 0x101474f5
sub ecx, 1
jne 0x1014751b
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x1014759d
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x1021c1b0]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
sub edx, 1
jne 0x10147524
and edi, 7
jmp 0x101474c0
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x1021c1b0]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1021c1b0]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret
Function at 0x10148070
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10148080
xor esi, esi
mov eax, 0x811c9dc5
sub edx, ecx
je 0x101480d2
movzx ecx, byte [edi + esi]
inc esi
xor ecx, eax
imul eax, ecx, 0x1000193
cmp esi, edx
jb 0x10148092
cmp eax, 0x7c4a5426
ja 0x101480ec
je 0x10148143
cmp eax, 0x39c98ba1
ja 0x101480d7
je 0x10148143
cmp eax, 0x2eb1674
je 0x10148143
cmp eax, 0x19acc50e
je 0x10148143
cmp eax, 0x2a5bf553
je 0x10148143
xor al, al
pop edi
pop esi
ret
cmp eax, 0x3a712436
je 0x10148143
cmp eax, 0x43d6266e
je 0x10148143
cmp eax, 0x4d7aa8c1
jmp 0x101480d0
cmp eax, 0xcb7412ac
ja 0x1014811a
je 0x10148143
cmp eax, 0x9d08c4c8
ja 0x1014810c
je 0x10148143
cmp eax, 0x7f11af2d
je 0x10148143
cmp eax, 0x84ea2fe5
jmp 0x101480d0
cmp eax, 0xa7eab73f
je 0x10148143
cmp eax, 0xc941ff64
jmp 0x101480d0
cmp eax, 0xe80bc214
ja 0x10148131
je 0x10148143
cmp eax, 0xd614ea2e
je 0x10148143
cmp eax, 0xe1525a25
jmp 0x101480d0
cmp eax, 0xee7a29e8
je 0x10148143
cmp eax, 0xf8573d98
sete al
pop edi
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x10148150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10148160
xor esi, esi
sub edx, ecx
mov ecx, 0x811c9dc5
je 0x101481a5
movzx eax, byte [edi + esi]
inc esi
xor eax, ecx
imul ecx, eax, 0x1000193
cmp esi, edx
jb 0x10148172
cmp ecx, 0x5978b32e
ja 0x101481aa
je 0x101481be
cmp ecx, 0x1b20e275
je 0x101481be
cmp ecx, 0x3cb8abb3
je 0x101481be
cmp ecx, 0x4c849f3c
je 0x101481be
xor al, al
pop edi
pop esi
ret
cmp ecx, 0x97113ea7
je 0x101481be
cmp ecx, 0xa8d619ea
sete al
pop edi
pop esi
ret
pop edi
mov al, 1
pop esi
ret

Function at 0x10149e28
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 str._x_sys_default_locale
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.10149e04
pop esi
leave
ret 8
Function at 0x401270
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x434
cmp dword [0x848520], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
jne 0x4012a3
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ecx, dword [0x429158]
mov edx, dword [0x42915c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
call fcn.00401260
mov ebx, dword [ebp - 0x18]
mov eax, dword [0x429160]
mov ecx, dword [0x429164]
add ebx, 0x23f
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x1c], 0x20
jmp 0x4012f0
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x848520]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40134c
push 0
lea edx, [ebp - 0x434]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x848520]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401366
mov dword [0x847abc], 0xedeb2e40
jmp 0x401378
cmp ecx, 0x3eb
jne 0x401378
mov dword [0x847470], 0
lea ecx, [ebx + edi]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov esi, edi
shr esi, cl
mov dword [0x847ab8], 0xf4ea3dee
add esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x848520], 0x9e6
jne 0x4013ae
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x848520], 0x121
jne 0x401414
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, esi
add ebx, 0x61c88647
sub edi, eax
sub dword [ebp - 0x1c], 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
jne 0x4012f0
cmp dword [0x848520], 0xa6d
mov esi, dword [ebp + 8]
mov dword [esi], edi
jne 0x40145b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401470
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x848520]
mov ecx, dword [0x847474]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x401521
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LCMapStringW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x848520], 0x959
jne 0x40150b
push str.magubidowofanelocidegezifi_wuf_kogizanubobowufefore_taroyopopusenexokuraxupamocor
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x808]
push eax
push 0
push str.pajebipew
push 0
push 0
call edi
push 0
push 0
push str.cimiyuvipu
push str.kofegezadojupirucosopigerasicoc
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401270
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4017c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
cmp dword [0x848520], 0x400
push esi
push edi
jne 0x40181b
push 0
call dword [sym.imp.USER32.dll_WindowFromDC]
push 0
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll__lopen]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
lea esi, [ebp - 0x24]
call fcn.00401910
mov ecx, esi
call fcn.00401930
mov edi, dword [ebp - 4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharLowerBuffA]
xor esi, esi
cmp esi, 0xa50
jge 0x40183a
push 0
lea ecx, [ebp - 0x424]
push ecx
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x2af68b
jle 0x401850
cmp edi, 0x78d9a205
jne 0x401859
inc esi
cmp esi, 0x1c5d
jl 0x401827
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
xor esi, esi
push 0
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call ebx
cmp esi, 0x206d47
jg 0x401886
inc esi
cmp esi, 0x4f6a4
jl 0x401867
mov ebx, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
xor esi, esi
push 0
call edi
cmp esi, 0x2b259d
jle 0x4018a5
cmp ebx, 0x785074d5
jne 0x4018ae
inc esi
cmp esi, 0x11915
jl 0x401891
mov edx, dword [0x42939c]
mov dword [0x848520], edx
call fcn.00401560
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov edi, 0x3078f
pop ebx
jmp 0x4018d0
cmp dword [0x848520], 0x51f
jne 0x4018ec
push 0
lea eax, [ebp - 0x824]
push eax
push 0x425dd4
call esi
sub edi, 1
jne 0x4018d0
mov eax, dword [0x847474]
mov dword [0x847ab4], eax
call eax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4042db
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4287a8]
jne 0x4042e5
repz ret
jmp fcn.00408ddc
Function at 0x40b16a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404f86
and dword [ebp - 4], 0
cmp dword [0x42a22c], 0
mov ebx, eax
jne 0x40b21b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b2cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b2cc
push eax
call fcn.00404f14
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a22c], eax
call esi
push eax
call fcn.00404f14
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a230], eax
call esi
push eax
call fcn.00404f14
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a234], eax
call esi
push eax
call fcn.00404f14
pop ecx
mov dword [0x42a23c], eax
test eax, eax
je 0x40b21b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f14
pop ecx
mov dword [0x42a238], eax
mov eax, dword [0x42a238]
cmp eax, ebx
je 0x40b273
cmp dword [0x42a23c], ebx
je 0x40b273
push eax
call fcn.00404f8f
push dword [0x42a23c]
mov esi, eax
call fcn.00404f8f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b273
test edi, edi
je 0x40b273
call esi
test eax, eax
je 0x40b26a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b26a
test byte [ebp - 0xc], 1
jne 0x40b273
or dword [ebp + 0x10], 0x200000
jmp 0x40b2ac
mov eax, dword [0x42a230]
cmp eax, ebx
je 0x40b2ac
push eax
call fcn.00404f8f
pop ecx
test eax, eax
je 0x40b2ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b2ac
mov eax, dword [0x42a234]
cmp eax, ebx
je 0x40b2ac
push eax
call fcn.00404f8f
pop ecx
test eax, eax
je 0x40b2ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a22c]
call fcn.00404f8f
pop ecx
test eax, eax
je 0x40b2cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b2ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret