joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4110c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push str.NtSuspendProcess
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtResumeProcess
push dword [ebp + 8]
mov dword [0x451c40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationProcess
push dword [ebp + 8]
mov dword [0x451c44], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationProcess
push dword [ebp + 8]
mov dword [0x451c48], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationThread
push dword [ebp + 8]
mov dword [0x451c4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationThread
push dword [ebp + 8]
mov dword [0x451c50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtCompareTokens
push dword [ebp + 8]
mov dword [0x451c54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryObject
push dword [ebp + 8]
mov dword [0x451c58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQueryInformationFile
push dword [ebp + 8]
mov dword [0x451c5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtSetInformationFile
push dword [ebp + 8]
mov dword [0x451c60], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlNtStatusToDosError
push dword [ebp + 8]
mov dword [0x451c64], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RtlCaptureStackBackTrace
push dword [ebp + 8]
mov dword [0x451c68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x451c6c], eax
mov eax, 0x451c40
pop ebp
ret 4

Function at 0x411994
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x28], 0x33323130
mov ecx, dword [edx]
mov dword [ebp - 0x24], 0x37363534
mov dword [ebp - 0x20], 0x42413938
mov eax, dword [esi]
mov dword [ebp - 0x1c], 0x46454443
mov dword [ebp - 0x18], 0x4a494847
mov dword [ebp - 0x14], 0x4e4d4c4b
movzx eax, byte [eax]
shr eax, 4
mov dword [ebp - 0x10], 0x5251504f
mov dword [ebp - 0xc], 0x56555453
mov dword [ebp - 8], 0x5a595857
mov al, byte [ebp + eax - 0x28]
mov byte [ecx], al
inc dword [edx]
mov eax, dword [esi]
mov ecx, dword [edx]
mov dword [ebp - 0x28], 0x33323130
mov dword [ebp - 0x24], 0x37363534
movzx eax, byte [eax]
and eax, 0xf
mov dword [ebp - 0x20], 0x42413938
mov dword [ebp - 0x1c], 0x46454443
mov dword [ebp - 0x18], 0x4a494847
mov dword [ebp - 0x14], 0x4e4d4c4b
mov dword [ebp - 0x10], 0x5251504f
mov dword [ebp - 0xc], 0x56555453
mov dword [ebp - 8], 0x5a595857
mov al, byte [ebp + eax - 0x28]
mov byte [ecx], al
inc dword [edx]
mov ecx, dword [ebp - 4]
inc dword [esi]
xor ecx, ebp
pop esi
call fcn.0041e6eb
leave
ret
Function at 0x411ba1
Capabilities:
Parse pe header

Disassembly:
push 0x74
mov eax, 0x43968a
call fcn.0041f07f
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x34]
push eax
push edx
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
jne 0x411bdb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00414a9a
jmp 0x411d3a
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x14]
and dword [edi + 0x44], 0
mov ebx, 0x104
push edi
push ebx
mov edx, eax
mov dword [ebp - 0x40], eax
mov dword [edi + 0x40], eax
call fcn.0041159f
pop ecx
pop ecx
jmp 0x411c0e
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x14]
add ebx, ebx
push edi
push ebx
call fcn.0041159f
pop ecx
pop ecx
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.00414a9a
or dword [ebp - 4], 0xffffffff
cmp eax, 0x7a
je 0x411bfd
test esi, esi
je 0x411c29
mov ecx, esi
jmp 0x411bd1
mov edx, dword [ebp - 0x34]
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x411d35
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x411d35
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x411d35
mov eax, dword [ecx + 0x50]
and dword [edi + 0x4c], 0
mov dword [edi + 0x48], eax
cmp dword [ecx + 0x74], 6
jbe 0x411d2a
cmp dword [ecx + 0xac], 0x1c
jb 0x411d2e
mov eax, dword [ecx + 0xa8]
cmp dword [eax + edx + 0x10], 0x1c
jb 0x411d2e
mov ebx, dword [eax + edx + 0x14]
add ebx, edx
cmp dword [ebx], 0x53445352
jne 0x411d35
and dword [ebp - 0x54], 0
lea eax, [edi + 0x20]
or dword [ebp - 0x4c], 0xffffffff
lea esi, [ebp - 0x58]
push 7
pop ecx
mov dword [ebp - 0x58], eax
lea edi, [ebp - 0x30]
mov dword [ebp - 0x50], 0xa
lea edx, [ebx + 4]
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 0x20
mov byte [ebp - 0x40], 0
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x4c]
call fcn.00411b2a
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00411a58
push 0x24
pop edx
movzx ecx, byte [eax + 0x24]
sub edx, ecx
mov ecx, dword [ebp - 0x24]
test ecx, ecx
js 0x411cfb
cmp edx, ecx
jb 0x411cfb
mov edx, ecx
mov ecx, dword [ebp - 0x30]
push 0
push 0
push edx
push eax
lea edx, [ebp - 0x2c]
call fcn.004118d7
lea ecx, [ebp - 0x30]
call fcn.004116d0
add esp, 8
mov ecx, dword [eax]
lea edx, [eax + 4]
push dword [edx + 4]
push dword [ebx + 0x14]
call fcn.00411637
add esp, 0x10
xor eax, eax
jmp 0x411d3a
mov eax, 0x8000005c
jmp 0x411d3a
mov eax, 0x8000005a
call fcn.0041f02e
ret
Function at 0x4128a4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4397ad
mov eax, dword fs:[0]
push eax
push ebx
push edi
mov eax, dword [0x44d0e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov byte [edx + 0xb], 0xb
lea ecx, [edx + 0x4c]
xor ebx, ebx
mov edi, ecx
mov byte [edx], bl
xor eax, eax
mov dword [edx + 0x18], ebx
mov dword [edx + 0xc], ebx
mov dword [edx + 0x10], ebx
mov dword [edx + 0x14], ebx
mov dword [edx + 0x28], ebx
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x24], ebx
mov dword [edx + 0x38], ebx
mov dword [edx + 0x2c], ebx
mov dword [edx + 0x30], ebx
mov dword [edx + 0x34], ebx
mov dword [edx + 0x48], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, edx
mov dword [edx + 0x3c], ecx
mov dword [edx + 0x40], ebx
mov dword [edx + 0x44], 0xf
mov byte [ecx], bl
mov dword [edx + 0x5c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
leave
ret

Function at 0x414c95
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [ecx]
mov esi, edx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x414cb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00414a9a
mov edi, eax
mov eax, edi
pop edi
pop esi
ret
Function at 0x41778e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44d0e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 0xc], ecx
mov esi, dword [edi]
test esi, esi
je 0x4177ed
and dword [edi], 0
mov eax, 0x400000
cmp esi, 0x400000
ja 0x4177c1
mov eax, esi
and dword [ebp - 8], 0
lea edx, [ebp - 8]
push 0
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 8]
add ebx, ecx
add dword [edi], ecx
sub esi, ecx
test eax, eax
je 0x4177fe
test ecx, ecx
je 0x4177ed
mov ecx, dword [ebp - 0xc]
test esi, esi
jne 0x4177b2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e6eb
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4177ef

Function at 0x4178ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x4178f4
mov dword [ecx*4 + 0x44f770], edx
inc ecx
cmp ecx, 0x100
jb 0x4178ef
mov edx, 0x400
pop esi
mov ecx, dword [edx + 0x44f370]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x44f770]
mov dword [edx + 0x44f770], ecx
add edx, 4
cmp edx, 0x2000
jb 0x41791f
mov dword [0x451770], 0x418b10
call fcn.00418d68
test eax, eax
jne 0x417960
mov dword [0x451770], 0x418bb0
ret
Function at 0x41b5c6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
and edx, 0xfffffffe
mov esi, edi
lea ebx, [edi - 4]
add ebx, edx
cmp esi, ebx
ja 0x41b638
movzx edx, byte [esi + 1]
movzx eax, byte [esi + 3]
xor edx, 8
and eax, edx
add esi, 2
cmp eax, 0xf8
jb 0x41b5d5
movzx ecx, byte [esi - 2]
movzx eax, byte [esi + 1]
and eax, 7
shl edx, 8
add ecx, edx
lea ecx, [eax + ecx*8]
movzx eax, byte [esi]
add esi, 2
shl ecx, 8
add ecx, eax
mov eax, esi
sub eax, edi
shr eax, 1
sub ecx, eax
mov eax, ecx
mov byte [esi - 2], cl
shr eax, 0xb
mov byte [esi - 4], al
mov eax, ecx
shr eax, 0x13
and al, 7
shr ecx, 8
or al, 0xf0
or cl, 0xf8
mov byte [esi - 3], al
mov byte [esi - 1], cl
jmp 0x41b5d5
sub esi, edi
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x41b6e7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x41b709
xor eax, eax
jmp UuidCreateSequential
add edx, 0xfffffffc
add edx, eax
mov dword [ebp - 8], edx
push edi
lea edi, [ebx + eax]
cmp edi, edx
jae 0x41b729
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41b726
inc edi
cmp edi, edx
jb 0x41b719
mov eax, dword [ebp - 4]
mov ecx, edi
sub ecx, ebx
mov ebx, edi
sub ecx, eax
sub ebx, eax
cmp edi, edx
jae 0x41b7f5
cmp ecx, 2
jbe 0x41b7b4
xor esi, esi
movzx edx, byte [edi + 4]
lea eax, [edx + 1]
test al, 0xfe
jne 0x41b7e4
movzx eax, byte [edi + 3]
add ebx, 5
shl edx, 8
or edx, eax
movzx eax, byte [edi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
sub edx, ebx
test esi, esi
je 0x41b794
and esi, 6
mov eax, edx
shl esi, 2
mov ecx, esi
shr eax, cl
inc eax
test al, 0xfe
jne 0x41b792
mov eax, pe_nt_image_headers32
shl eax, cl
dec eax
xor edx, eax
sub edx, ebx
xor esi, esi
mov eax, edx
mov byte [edi + 1], dl
shr eax, 8
mov byte [edi + 2], al
mov eax, edx
shr edx, 0x18
shr eax, 0x10
and dl, 1
neg dl
mov byte [edi + 3], al
mov byte [edi + 4], dl
jmp 0x41b7ea
shr esi, cl
test esi, esi
je 0x41b742
cmp esi, 4
ja 0x41b7d9
cmp esi, 3
je 0x41b7d9
mov eax, esi
shr eax, 1
movzx eax, byte [eax + edi + 1]
inc eax
test al, 0xfe
jne 0x41b742
mov eax, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x41b712
or esi, 8
shr esi, 1
inc ebx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
jmp 0x41b712
push 2
shr esi, cl
pop eax
cmp eax, ecx
mov eax, dword [ebp + 0xc]
pop edi
sbb ecx, ecx
not ecx
and ecx, esi
mov dword [eax], ecx
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x401920
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
lea eax, [ebp - 0x71]
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402330
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
call fcn.004015f0
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x401973
mov eax, dword [eax]
push 0
push 0x80
push 4
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [ebp - 0x48]
lea edi, [ebp - 0x48]
mov eax, dword [eax + 4]
add edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push dword [ebp - 0x54]
call fcn.0043ebe5
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [ebp - 0x4c]
call edi
cmp dword [ebp - 0x58], 8
jb 0x4019c2
push dword [ebp - 0x6c]
call edi
xor eax, eax
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x70]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x487885], 0
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
jne 0x401a6d
push 0
push 0
push 0
push esi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
call eax
push 0
lea eax, [ebp - 0x7c]
push eax
push 2
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401a3b
cmp dword [ebp - 0x7c], 2
jne 0x401a3b
mov eax, 0xfeff
cmp word [ebp - 0x78], ax
sete al
mov byte [0x487885], al
jmp 0x401a40
mov al, byte [0x487885]
test al, al
jne 0x401a61
push 0
lea eax, [ebp - 0x84]
push eax
push 2
lea eax, [ebp - 0x80]
push eax
push esi
mov dword [ebp - 0x80], 0xfeff
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov byte [0x487885], 1
push 2
push 0
push 0
push esi
call eax
cmp dword [ebp - 0x28], 8
push 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
cmovae ecx, dword [ebp - 0x3c]
add eax, eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x401aa8
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401aa8
push esi
call eax
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x18]
mov eax, dword [eax + 4]
add esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
push dword [ebp - 0x24]
call fcn.0043ebe5
add esp, 4
push dword [ebp - 0x1c]
call edi
cmp dword [ebp - 0x28], 8
jb 0x401ad6
push dword [ebp - 0x3c]
call edi
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x40]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e8f7
mov esp, ebp
pop ebp
ret
Function at 0x408127
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4081aa
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x40815f
push 0
push 0
jmp 0x4081ac
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 4], eax
test eax, eax
je 0x408159
lea edi, [eax + 0x40]
push edi
call fcn.0043e61d
pop ecx
mov dword [esi], eax
test eax, eax
je 0x408159
push edi
push 0
push eax
call fcn.0043e970
add esp, 0xc
push dword [esi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi]
call fcn.0043ecc0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
push ebx
push ebx
call fcn.0043e906
int3
Function at 0x4086c0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x3c4
mov eax, 0x461f13
call fcn.0043fcc0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
push 0x104
mov dword [ebp - 0x3d0], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x40870c
lea ecx, [ebp - 0x234]
call fcn.00408b23
push 0x479404
lea eax, [ebp - 0x234]
push eax
call fcn.0043e906
push 0x110
lea eax, [ebp - 0x3c4]
push ebx
push eax
call fcn.0043e970
add esp, 0xc
lea eax, [ebp - 0x3c8]
push eax
mov dword [ebp - 0x3c8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, 0x471efc
test eax, eax
je 0x40886c
cmp dword [ebp - 0x3b8], 1
jne 0x40886c
push ebx
lea eax, [ebp - 0x3c9]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x220], 0x46cf9c
call fcn.004065d0
push str.123.tmp
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], ebx
call fcn.00408b97
cmp dword [ebp - 0x230], 8
push ebx
push 0x80
push 2
push ebx
push ebx
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40883b
lea eax, [ebp - 0x278]
push ebx
push eax
call fcn.004088d2
pop ecx
pop ecx
lea ecx, [ebp - 0x2b4]
push ecx
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0040abab
push eax
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.00406bc5
lea ecx, [ebp - 0x2b4]
call fcn.00401500
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], bl
call fcn.00401500
push str.temp
lea ecx, [ebp - 0x248]
call fcn.00408b97
push ebx
lea eax, [ebp - 0x248]
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], 0x46cf9c
call fcn.004064e5
lea ecx, [ebp - 0x248]
jmp 0x4088c5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x230], 8
lea eax, [ebp - 0x244]
cmovae eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00401500
push ebx
lea eax, [ebp - 0x3c9]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x250], 0x46cf9c
call fcn.004065d0
push 0x46b7a8
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 3
call fcn.00408b97
push ebx
push eax
mov ecx, esi
mov dword [esi], edi
mov dword [esi + 0x28], 0x46cf9c
call fcn.004064e5
lea ecx, [ebp - 0x278]
call fcn.00401500
mov eax, esi
call fcn.0043fc6f
ret

Function at 0x40a7c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x74736e49
mov dword [ebp - 0x18], 0x536c6c61
mov dword [ebp - 0x14], 0x6c656968
mov word [ebp - 0x10], 0x64
cmp byte [ebp + 0xc], al
je 0x40a807
mov dword [ebp - 0xf], 0x7a695720
mov dword [ebp - 0xb], 0x647261
push 1
lea eax, [ebp - 0x1d]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.004066b7
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043e8f7
leave
ret 8
Function at 0x40bfed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46284c
mov eax, dword fs:[0]
push eax
mov eax, 0x10ac
call fcn.00440170
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push ebx
lea eax, [ebp - 0x10a9]
push eax
lea ecx, [ebp - 0x1050]
mov dword [ebp - 0x10b8], ebx
mov dword [ebp - 0x1050], 0x471efc
mov dword [ebp - 0x1028], 0x46cf9c
call fcn.004033a0
or dword [ebp - 0x10b0], 0xffffffff
mov dword [ebp - 4], ebx
add esi, 4
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 8
jb 0x40c06d
mov esi, dword [esi]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40c165
lea ecx, [ebp - 0x10b0]
call fcn.0040f677
lea eax, [ebp - 0x10a8]
push eax
mov dword [ebp - 0x10b0], esi
call fcn.0043a174
pop ecx
push ebx
lea eax, [ebp - 0x10b4]
push eax
push 0x1000
lea eax, [ebp - 0x1020]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40c0f1
push dword [ebp - 0x10b4]
lea eax, [ebp - 0x1020]
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.0043a859
add esp, 0xc
cmp dword [ebp - 0x10b4], 0
ja 0x40c0ad
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0043a0f7
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
lea eax, [ebp - 0x1050]
push str._02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X_02X
push eax
call fcn.00403190
add esp, 0x50
push ebx
lea eax, [ebp - 0x1050]
push eax
mov ecx, edi
mov dword [edi], 0x471efc
mov dword [edi + 0x28], 0x46cf9c
call fcn.004043d0
lea ecx, [ebp - 0x10b0]
call fcn.0040f677
lea ecx, [ebp - 0x1050]
call fcn.00401500
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e8f7
leave
ret 8
Function at 0x40f25c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x484db8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
movzx ecx, word [eax + 0x50]
cmp ecx, dword [ebp + 8]
jne 0x40f284
movzx eax, word [eax + 0x56]
cmp ax, 0xffff
jne 0x40f2c5
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x40f2bf
lea eax, [ebp - 0x2c]
push eax
call fcn.00440adc
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x40f2d4
mov ecx, dword [esi]
mov ax, word [ebp - 0x4c]
mov word [ecx + 0x56], ax
mov eax, dword [esi]
mov ax, word [eax + 0x56]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043e8f7
leave
ret 4
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x40f2bf
xor eax, eax
jmp 0x40f2c5

Function at 0x411b29
Capabilities:
Read file on windows

Disassembly:
push 0x10c
mov eax, 0x46324d
call fcn.0043fcc0
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
inc edi
cmp eax, 0xffffffff
cmove eax, edi
mov dword [ebp - 0x118], ebx
test ecx, ecx
je 0x411bae
lea edi, [ebp - 0x118]
push edi
push eax
push edx
call fcn.0043b377
test al, al
jne 0x411c00
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x471efc
mov dword [ebp - 0x48], 0x46cf9c
call fcn.004064e5
push 1
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x114]
mov dword [ebp - 4], ebx
call fcn.00412c89
push 0x47bd98
lea eax, [ebp - 0x114]
push eax
call fcn.0043e906
push ebx
lea ecx, [ebp - 0x118]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x411c00
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x471efc
mov dword [ebp - 0x18], 0x46cf9c
call fcn.004064e5
push edi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], edi
call fcn.004128ec
push 0x47bd24
lea eax, [ebp - 0xc0]
jmp 0x411ba8
mov eax, dword [ebp - 0x118]
call fcn.0043fc6f
ret 8
Function at 0x41518f
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x52]
push edi
mov word [esi + 0xc], 0
call fcn.00418152
test al, al
je 0x4151b6
mov ax, word [edi]
mov byte [esi + 0xc], 1
mov word [esi + 0x50], ax
jmp 0x41522e
mov ax, word [ebp + 8]
test ax, ax
jne 0x4151d1
cmp dword [esi + 0x40], 4
jne 0x4151d1
mov ecx, esi
lea edi, [esi + 0x50]
call fcn.00415f49
jmp 0x4151d4
lea edi, [esi + 0x50]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00418152
test al, al
je 0x4151e9
mov byte [esi + 0xd], 1
jmp 0x41522e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00418152
test al, al
jne 0x41522e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00418152
test al, al
jne 0x41522e
call fcn.00434f66
push edi
mov ecx, esi
mov word [edi], ax
call fcn.00418152
test al, al
jne 0x41522e
mov ax, word [esi + 0x54]
mov word [edi], ax
pop edi
pop esi
pop ebp
ret 4