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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4dc700
mov dword [ebp - 0x1c], eax
lea ecx, [esi + 0xfc]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004d6110
mov eax, dword [edi + 0x10]
xor edx, edx
mov ecx, dword [edi + 0xc]
sub eax, ecx
sar eax, 4
mov dword [ebp - 8], edx
test eax, eax
je 0x4dc87d
push ebx
xor ebx, ebx
mov dword [ebp + 8], ebx
mov edi, edi
mov ebx, dword [ebx + ecx + 4]
cmp ebx, 1
je 0x4dc732
cmp ebx, 2
jne 0x4dc85c
mov eax, dword [ebp + 8]
add esi, 0xfc
mov dword [ebp - 0x10], esi
movzx ecx, word [eax + ecx]
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x18], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0xc], edx
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045c060
mov esi, dword [eax + 4]
test esi, esi
jne 0x4dc7a5
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 4]
mov edx, dword [ebp - 4]
cmp esi, dword [edx + 0x100]
je 0x4dc85a
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4dc85a
cmp ebx, 1
jne 0x4dc80a
mov eax, 0x56
cmp ax, word [esi + 0x1e]
jne 0x4dc80a
mov eax, dword [ebp - 0x18]
lea ecx, [edx + 0x60]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], edi
push eax
call fcn.00465560
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x4dc7fd
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x4dc807
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.00428be0
mov edx, dword [ebp - 4]
cmp dword [edi + 0x38], 0
je 0x4dc83a
movzx eax, word [esi + 0x1e]
cmp eax, 0x20
jne 0x4dc83f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub eax, ecx
sar eax, 4
cmp eax, 1
jbe 0x4dc885
movzx ecx, word [ecx + 0x10]
mov eax, dword [esi]
push edi
push dword [eax + ecx*4]
mov ecx, edx
call fcn.004dc900
mov esi, dword [ebp - 4]
jmp 0x4dc85c
cmp eax, 0x3b
jne 0x4dc83a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub eax, ecx
sar eax, 4
cmp eax, 2
jbe 0x4dc885
movzx ecx, word [ecx + 0x20]
jmp 0x4dc82d
mov esi, edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
sub eax, ecx
mov ebx, dword [ebp + 8]
inc dword [ebp - 8]
add ebx, 0x10
sar eax, 4
mov dword [ebp + 8], ebx
cmp dword [ebp - 8], eax
jb 0x4dc720
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00461750
int3
Function at 0x4dd0f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, dl
xor eax, 0x811c9dc5
push esi
lea esi, [ecx + 0x20]
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
push edi
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, edx
imul edi, eax, 0x1000193
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c060
mov edx, dword [eax + 4]
test edx, edx
je 0x4dd199
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x4dd176
cmp eax, edx
jne 0x4dd16e
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4dd17e
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x4dd17e
cmp eax, edx
jne 0x4dd17e
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [esi + 8]
mov eax, dword [edx + 4]
push 0xc
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.004e5ccb
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4dd1b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
push esi
push edi
mov edi, ecx
lea ecx, [ecx]
movzx eax, word [edx + 0x1e]
cmp eax, 0x41
je 0x4dd1e1
cmp eax, 0x42
je 0x4dd1e1
cmp eax, 0x43
je 0x4dd1e1
cmp eax, 0x46
je 0x4dd1e1
cmp eax, 0x53
jne 0x4dd26c
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
sub eax, ecx
sar eax, 4
cmp eax, 2
jbe 0x4dd276
movzx ecx, word [ecx + 0x20]
mov eax, dword [edx]
mov edx, dword [eax + ecx*4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp + 8], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0xfc]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c060
mov edx, dword [eax + 4]
test edx, edx
je 0x4dd265
cmp edx, dword [edi + 0x100]
je 0x4dd265
mov edx, dword [edx + 0xc]
jmp 0x4dd1c0
xor edx, edx
jmp 0x4dd1c0
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00461750
int3

Function at 0x4e0cf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
mov esi, ecx
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
shr ebx, 0x18
push edi
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x254]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c060
mov eax, dword [eax + 4]
test eax, eax
jne 0x4e0d58
mov eax, dword [esi + 0x258]
cmp eax, dword [esi + 0x258]
pop edi
pop esi
pop ebx
jne 0x4e0d6b
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4e10f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5181fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov dword [ebp - 0x10], 0
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp + 0xc]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], 0
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x10], 1
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x60]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0045c060
mov eax, dword [eax + 4]
test eax, eax
jne 0x4e1193
mov eax, dword [ebx + 0x64]
cmp eax, dword [ebx + 0x64]
je 0x4e11d1
add eax, 0xc
cmp esi, eax
je 0x4e11d1
mov edi, dword [eax + 4]
xor ebx, ebx
mov eax, dword [eax]
sub edi, eax
mov dword [ebp + 0xc], eax
mov eax, edi
sar eax, 2
test eax, eax
je 0x4e11be
push eax
mov ecx, esi
call fcn.00449b80
mov ebx, dword [esi]
push edi
push dword [ebp + 0xc]
push ebx
call fcn.004e74d0
lea ecx, [ebx + edi]
add esp, 0xc
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4fe669
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fe4df

Function at 0x504d11
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00504864
Function at 0x29a0e4e3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x29a0e4f2
pop dword [ebp - 0x30]
mov eax, 0xa494845e
sub eax, 0x7af39f6c
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0xf1a0493d
add dword [ebp - 0x40], 0x5cb1fc0e
mov dword [ebp - 0x3c], 0x9fd04f74
add dword [ebp - 0x3c], 0x9262fcd1
mov dword [ebp - 0x38], 0xaf9760f7
add dword [ebp - 0x38], 0x9cb4e337
mov dword [ebp - 0x34], 0x41a42850
sub dword [ebp - 0x34], 0x41a42850
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0x8e8b6620
add dword [ebp - 0x40], 0xe5e70336
mov dword [ebp - 0x3c], 0xb2926016
sub dword [ebp - 0x3c], 0x7125fea1
mov dword [ebp - 0x38], 0x7b863bc2
sub dword [ebp - 0x38], 0x1816cf56
mov dword [ebp - 0x34], 0x66842c26
sub dword [ebp - 0x34], 0x66842c26
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0xb03abfc4
sub eax, 0x86997f80
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3a6ee
push 0
call eax
mov ecx, 0x15c035ee
add ecx, 0xea40124d
xor esi, esi
add esi, eax
mov edi, 0x29a22000
add edi, dword [ebp - 0x30]
mov ebx, 0x35c7a3db
sub ebx, 0xa5cf618b
sub dword [ebp - 8], ecx
mov edx, dword [edi]
add dword [ebp - 4], 0x24793083
xor edx, ebx
xor dword [ebp - 8], 0xa8a38292
mov dword [esi], edx
xor dword [ebp - 0x1c], esi
add esi, 4
add edi, 0x410c8d1
sub edi, 0x410c8cd
loop 0x29a0e60b
add eax, 0xd9213ca2
add eax, 0x26dfd71d
mov ebx, eax
add eax, 0x5c56cf07
sub eax, 0x5c56cf02
mov ecx, 0x1aef49e4
sub ecx, 0xf14f49e4
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x402eae
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004064ef
xor ebx, ebx
cmp eax, ebx
jne 0x402f91
test byte [ebp + 0x10], 2
je 0x402f0f
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f76
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402f4b
test edi, edi
jne 0x402f76
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402eae
test eax, eax
jne 0x402f54
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402f24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406a76
test eax, eax
jne 0x402f86
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f91
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f91
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x403376
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4033a1
mov ecx, dword [0x46c2b8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x4326f4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040347e
cmp eax, esi
jl 0x403478
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061f5
test eax, eax
je 0x403468
push dword [ebp + 8]
add dword [0x4326f4], 4
call fcn.0040347e
mov ebx, eax
cmp ebx, esi
jl 0x403476
cmp dword [ebp + 0x10], esi
jne 0x403444
cmp dword [ebp + 8], esi
jle 0x403476
mov esi, 0x4266f0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403406
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061f5
test eax, eax
je 0x403468
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00406224
test eax, eax
je 0x403440
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x4326f4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f5
jmp 0x403476
push 0xfffffffffffffffe
jmp 0x40346a
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344f
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40346d
push 0xfffffffffffffffd
pop eax
jmp 0x403478
mov ebx, dword [ebp - 4]
add dword [0x4326f4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x40cb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40cb0f
pop dword [ebp - 8]
mov eax, 0xae133f55
add eax, 0x522d8bba
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x6d650a64
sub dword [ebp - 0x18], 0x1f12c519
mov dword [ebp - 0x14], 0xb471e7b4
sub dword [ebp - 0x14], 0x823e9b6f
mov dword [ebp - 0x10], 0x3c6094b6
add dword [ebp - 0x10], 0xfebaf78
mov dword [ebp - 0xc], 0xf2892cfb
add dword [ebp - 0xc], 0xd76d305
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xdfa8e001
add dword [ebp - 0x18], 0x94c98955
mov dword [ebp - 0x14], 0x1a6baeba
add dword [ebp - 0x14], 0x2700b2bb
mov dword [ebp - 0x10], 0xf2841bf1
sub dword [ebp - 0x10], 0x8f14af85
mov dword [ebp - 0xc], 0x5a0dbaad
sub dword [ebp - 0xc], 0x5a0dbaad
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x38432
push 0
call eax
mov ecx, 0x63ded5e0
sub ecx, 0x63de975d
mov edi, eax
mov edx, 0x24bc7826
add edx, 0xdb8537da
add edx, dword [ebp - 8]
mov esi, 0xf2dd1ff9
sub esi, 0x49dd189c
sub dword [ebp - 4], 0x479c7e48
mov ebx, dword [edx]
xor dword [ebp - 4], 0xda353a84
xor ebx, esi
xor dword [ebp - 4], 0xf105c26b
mov dword [edi], ebx
add edi, 4
add edx, 4
loop 0x40cc27
add eax, 0xecdf
mov ebx, eax
add eax, 0x5f61a03c
add eax, 0xa09e5fc9
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x410100
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x41011c
mov dword [eax], ecx
jmp 0x41011e
mov eax, ecx
push ecx
push ecx
push esi
push 0x410190
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x402a1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi + 8], ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x402a48
push ebx
push ebx
call fcn.0043c32a
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 0x10], eax
jne 0x402a60
push ebx
push ebx
call fcn.0043c32a
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x402a78
push ebx
push ebx
call fcn.0043c32a
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, ebx
mov dword [esi], eax
jne 0x402a8e
push ebx
push ebx
call fcn.0043c32a
push dword [esi + 4]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi]
call fcn.0043bc30
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x40410e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov byte [ebp - 0x1c], 0x49
cmp byte [ebp + 0xc], al
mov dword [ebp - 4], eax
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], al
je 0x404174
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], al
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401cec
mov eax, dword [ebp + 8]
leave
ret 8
Function at 0x4045b9
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x45e6ce
call fcn.0043bc08
sub esp, 0x3a8
push ebx
push esi
lea eax, [ebp - 0x3b4]
push edi
xor ebx, ebx
push eax
push 0x104
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4045fd
lea ecx, [ebp - 0x58]
call fcn.004047ad
lea eax, [ebp - 0x58]
push 0x469300
push eax
call fcn.0043c32a
push 0x44
xor eax, eax
pop ecx
lea edi, [ebp - 0x1a8]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov edi, 0x4665b8
mov esi, 0x4665b0
je 0x404749
cmp dword [ebp - 0x19c], 1
jne 0x404749
lea eax, [ebp - 0xe]
push ebx
push eax
lea eax, [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00401b55
push str.123.tmp
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.00404b90
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x40467a
mov eax, 0x466588
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x404723
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0040492f
pop ecx
pop ecx
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00404a6c
push dword [0x46659c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 3
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x38]
call fcn.00402293
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.00401257
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00401257
push 0x475498
lea ecx, [ebp - 0x3c]
call fcn.00404b90
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x3c]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00401ac2
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
jmp 0x404797
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
cmp eax, ebx
jne 0x404736
mov eax, 0x466588
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401257
lea eax, [ebp - 0xd]
push ebx
push eax
lea eax, [ebp - 0x3b4]
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00401b55
push 0x475494
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 4
call fcn.00404b90
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00401ac2
and byte [ebp - 4], 0
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x64]
call fcn.00401257
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40492f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45e73b
call fcn.0043bc08
sub esp, 0x260
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push 1
mov esi, 0x104
pop ebx
cmp dword [ebp + 0xc], ebx
jne 0x4049da
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4049da
push str.GetSystemWindowsDirectoryW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x4754b4], eax
je 0x4049da
lea ecx, [ebp - 0x26c]
push esi
push ecx
call eax
test eax, eax
je 0x4049da
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x26c]
mov edi, 0x4665b8
mov esi, 0x4665b0
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00401b55
push 0x475494
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], ebx
call fcn.00404b90
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00401ac2
mov dword [ebp - 0x14], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
jmp 0x404a55
lea eax, [ebp - 0x26c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x404a02
lea ecx, [ebp - 0x30]
call fcn.004047ad
lea eax, [ebp - 0x30]
push 0x469300
push eax
call fcn.0043c32a
lea eax, [ebp - 0xd]
push 0
push eax
lea eax, [ebp - 0x26c]
mov edi, 0x4665b8
mov esi, 0x4665b0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
call fcn.00401b55
push 0x475494
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 2
call fcn.00404b90
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx], edi
mov dword [ecx + 0x20], esi
call fcn.00401ac2
and byte [ebp - 4], 0
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x3c]
call fcn.00401257
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406e40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
mov esi, ecx
mov eax, dword [esi]
movzx ecx, word [eax + 0x48]
cmp ecx, dword [ebp + 8]
jne 0x406e5e
mov ax, word [eax + 0x4e]
cmp ax, 0xffff
jne 0x406e9f
lea eax, [ebp - 0x48]
push 0x14
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x406e99
lea eax, [ebp - 0x48]
push eax
call fcn.0043cade
pop ecx
lea ecx, [ebp - 0x20]
push 2
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x406ea4
mov eax, dword [esi]
mov cx, word [ebp - 0x20]
mov word [eax + 0x4e], cx
mov eax, dword [esi]
mov ax, word [eax + 0x4e]
pop esi
leave
ret 4
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x406e99
xor ax, ax
jmp 0x406e9f
Function at 0x40d613
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ca5b
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.0040caa6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040ca5b
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.0040ca96
outsb dx, byte [esi]
pop ebp
sub al, 0x3e
invalid
movsd dword es:[edi], dword [esi]
Function at 0x4120f3
Capabilities:
Identify system language via api

Disassembly:
push esi
mov esi, ecx
push edi
and byte [esi + 0xc], 0
and byte [esi + 0xd], 0
lea edi, [esi + 0x4a]
push edi
call fcn.00412197
test al, al
je 0x412119
mov ax, word [edi]
mov byte [esi + 0xc], 1
mov word [esi + 0x48], ax
jmp 0x412192
mov ax, word [esp + 0xc]
test ax, ax
jne 0x412135
cmp dword [esi + 0x44], 4
jne 0x412135
mov ecx, esi
lea edi, [esi + 0x48]
call fcn.0041227e
jmp 0x412138
lea edi, [esi + 0x48]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00412197
test al, al
je 0x41214d
mov byte [esi + 0xd], 1
jmp 0x412192
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00412197
test al, al
jne 0x412192
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00412197
test al, al
jne 0x412192
call fcn.0042e03b
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00412197
test al, al
jne 0x412192
mov ax, word [esi + 0x4c]
mov word [edi], ax
pop edi
pop esi
ret 4

Function at 0x413c21
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x413c66
mov eax, dword [ebp + 8]
test eax, eax
je 0x413c3b
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413ca0
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00413b1c
lea eax, [ebp - 0x4c]
push 0x46b648
push eax
call fcn.0043c32a
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x413ca0
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x413ca0
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00413a55
lea eax, [ebp - 0x48]
push 0x46b510
push eax
call fcn.0043c32a
mov eax, edi
pop edi
pop esi
leave
ret 4