joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010c689
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10137018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100fc192
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100fc192
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x1010c700
cmp word [ecx], dx
je 0x1010c700
mov eax, dword [0x101216d4]
push edi
dec eax
push eax
push 0x101215c0
call fcn.1010c628
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1010c773
cmp word [eax], dx
je 0x1010c773
mov eax, dword [edi]
test eax, eax
je 0x1010c724
cmp word [eax], dx
je 0x1010c724
lea eax, [ebp - 0x10]
push eax
call fcn.1010c00b
jmp 0x1010c72d
lea eax, [ebp - 0x10]
push eax
call fcn.1010c0a6
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1010c79d
mov eax, dword [0x101215bc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x101212b0
call fcn.1010c628
add esp, 0xc
test al, al
je 0x1010c79d
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1010c768
cmp word [eax], di
je 0x1010c768
lea eax, [ebp - 0x10]
push eax
call fcn.1010c00b
pop ecx
jmp 0x1010c79f
lea eax, [ebp - 0x10]
push eax
call fcn.1010c0a6
jmp 0x1010c765
mov eax, dword [edi]
test eax, eax
je 0x1010c78a
cmp word [eax], dx
je 0x1010c78a
lea eax, [ebp - 0x10]
push eax
call fcn.1010bfc0
pop ecx
jmp 0x1010c79d
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1010c868
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1010c4ad
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1010c868
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1010c868
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1010c868
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1010c7f5
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100ff402
test ebx, ebx
je 0x1010c863
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100ff402
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1010c868
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1010c868
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100e9705
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1010c86a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100849bc
leave
ret
Function at 0x1010f939
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1010f8b5
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1010faa8
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1010faa8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1010fa5d
jg 0x1010f995
test eax, eax
je 0x1010fa53
push 1
push 0x1000
call fcn.100fec50
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1010f9b8
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1010fa4a
push 0x8000
push ebx
call fcn.1010f7e6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1010f9e1
jg 0x1010f9dc
cmp ecx, 0x1000
jb 0x1010f9e1
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10101f71
add esp, 0x10
cmp eax, 0xffffffff
je 0x1010fa26
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x1010f9dc
jl 0x1010fa0d
test ecx, ecx
jne 0x1010f9ce
push dword [ebp - 0xc]
push ebx
call fcn.1010f7e6
push esi
call fcn.100fb9ed
add esp, 0xc
xor ebx, ebx
jmp 0x1010fab6
cmp byte [edi + 0x24], 0
je 0x1010fa3d
cmp dword [edi + 0x20], 5
jne 0x1010fa3d
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1010fa48
mov ebx, dword [edi + 0x18]
jmp 0x1010fa4a
xor ebx, ebx
push esi
call fcn.100fb9ed
pop ecx
jmp 0x1010fab6
test ecx, ecx
jg 0x1010fa1f
jl 0x1010fa5d
test eax, eax
jae 0x1010fa1f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10102393
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1010fa7d
cmp byte [edi + 0x1c], 0
je 0x1010fa1f
jmp 0x1010faae
push ebx
call fcn.1010a4c1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1010fa1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1010fab6
cmp byte [edi + 0x1c], 0
je 0x1010fab3
mov ebx, dword [edi + 0x18]
jmp 0x1010fab6
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10102393
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d568
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408d1c
mov dword [ebp - 0x14], eax
cmp dword [0x45a3f8], esi
jne 0x40d65b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d5e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d73b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d73b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d73b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45a3f8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x45a3fc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45a400], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a408], eax
test eax, eax
je 0x40d658
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45a404], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d680
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d673
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d695
push 4
pop eax
jmp 0x40d73d
cmp dword [ebp - 0x14], esi
je 0x40d695
push dword [0x45a3f8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d67a
mov eax, dword [0x45a404]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d6f3
cmp dword [0x45a408], edi
je 0x40d6f3
push eax
call ebx
push dword [0x45a408]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d6f3
test eax, eax
je 0x40d6f3
call ecx
test eax, eax
je 0x40d6e8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d6e8
test byte [ebp - 8], 1
jne 0x40d6f3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d723
mov eax, dword [0x45a3fc]
cmp eax, edi
je 0x40d720
push eax
call ebx
test eax, eax
je 0x40d720
call eax
mov esi, eax
test esi, esi
je 0x40d720
mov eax, dword [0x45a400]
cmp eax, edi
je 0x40d720
push eax
call ebx
test eax, eax
je 0x40d720
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45a3f8]
call ebx
test eax, eax
je 0x40d73b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d73d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040d0
mov esp, ebp
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x77361848
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xa6d7f49
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40cf24
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409b20
xor eax, eax
push ebp
push 0x40cfe4
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a560
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a710
mov eax, dword [ebx]
call fcn.0040cdec
test al, al
jne 0x40cfc1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040a560
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a710
mov eax, dword [ebx]
call fcn.0040cdec
test al, al
jne 0x40cfc1
mov eax, ebx
call fcn.00409a3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cfeb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409a9c
lea eax, [ebp - 4]
call fcn.00409a3c
ret

Function at 0x40ec3c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret
Function at 0x41ddc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41de1d
test eax, edx
je 0x41de20
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41dddb
movzx eax, word [eax]
sub eax, ecx
jmp 0x41de02
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41de03
add ecx, 4
js 0x41ddf3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41de00
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41de02
xor eax, eax
ret
test eax, eax
je 0x41de2c
test edx, edx
jne 0x41ddcc
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41ed64
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x41ed91
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x4227c0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4227f9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00409bc4
jmp 0x422802
mov eax, ebx
mov edx, esi
call fcn.00409e1c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42280c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42282e
movzx eax, word [esp]
jmp 0x422830
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x423b2c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x423c51
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423934
mov esi, eax
mov eax, dword [0x4d7968]
cmp byte [eax], 0
je 0x423bf9
mov eax, dword [0x4d77c0]
call fcn.00407540
call fcn.00406f58
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423afc]
call fcn.0040baf8
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x423c6c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x423c35
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d7788]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4db634]
call fcn.0040bee8
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423c58
lea eax, [ebp - 4]
mov edx, dword [0x423afc]
call fcn.0040bc1c
ret
Function at 0x424cf0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x424df0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00409e64
lea eax, [ebp - 4]
call fcn.00409f78
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a4bc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x424dda
mov eax, ebx
call fcn.00406e04
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x424dd3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040a4bc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x424dbd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x424e04
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x424dbd
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x10]
shr eax, 0x10
movzx eax, ax
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x10]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424dda
mov eax, dword [ebp - 0x10]
call fcn.00406e20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424df7
lea eax, [ebp - 4]
call fcn.00409a3c
ret

Function at 0x425b98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409f0c
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec1c
mov edi, eax
cmp edi, 0x104
jbe 0x425b43
mov eax, edi
add eax, eax
call fcn.00406e04
mov esi, eax
jmp 0x425b45
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec1c
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x425b7e
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x425b68
mov eax, esp
cmp esi, eax
je 0x425b8b
mov eax, esi
call fcn.00406e20
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x425bc4
cmp bl, 0
je 0x425bc0
cmp bl, 0x41
jl 0x425bbb
cmp bl, 0x5a
jg 0x425bbb
or bl, 0x20
xor al, bl
inc esi
jmp 0x425b9f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x425b04

Function at 0x426420
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.0040a560
add esp, 0x800
pop ebx
ret
Function at 0x47d708
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x47d710
mov eax, edx
pop esi
pop ebx
ret

Function at 0x4affb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b004e
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4b0012
cmp byte [ebx + 0x11], 0
jne 0x4b0012
cmp byte [ebx + 0x24], 0
jne 0x4b0012
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4b0033
lea edx, [ebp - 4]
mov eax, dword [0x4d7924]
call fcn.0040eb88
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x48abf8]
call fcn.00423c7c
call fcn.004090b8
jmp 0x4b0033
lea edx, [ebp - 8]
mov eax, dword [0x4d7924]
call fcn.0040eb88
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x48abf8]
call fcn.00423c7c
call fcn.004090b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0055
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409a9c
ret

Function at 0x4b0868
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4b08b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004afe30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b08cf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b08d8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004afe30
dec esi
jne 0x4b08fa
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x7003e2a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x7003e39
pop dword [ebp - 0x24]
mov eax, 0xdc4f969e
add eax, 0x2ab0a79b
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf407ef53
sub dword [ebp - 0x34], 0xa5b5aa08
mov dword [ebp - 0x30], 0xcbf2e549
add dword [ebp - 0x30], 0x664066fc
mov dword [ebp - 0x2c], 0x873831bc
sub dword [ebp - 0x2c], 0x3aebed8e
mov dword [ebp - 0x28], 0x7a975737
add dword [ebp - 0x28], 0x8568a8c9
lea eax, [ebp - 0x34]
push eax
mov eax, 0x99f25556
sub eax, 0x92f12526
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x80dff08b
add dword [ebp - 0x34], 0xf39278cb
mov dword [ebp - 0x30], 0x4e8f806
sub dword [ebp - 0x30], 0xc37c9691
mov dword [ebp - 0x2c], 0x7fb49c56
sub dword [ebp - 0x2c], 0x1c452fea
mov dword [ebp - 0x28], 0xc63c33fe
add dword [ebp - 0x28], 0x39c3cc02
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x805918c0
add eax, 0x86a81774
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x39879
push 0
call eax
mov ecx, 0x371e24a1
sub ecx, 0x371de0fc
xor ebx, ebx
add ebx, eax
mov esi, 0x7020200
add esi, dword [ebp - 0x24]
mov edi, 0x7c5868f2
add edi, 0xfa181412
mov dword [ebp - 4], 0x8fac768
mov edx, dword [esi]
xor dword [ebp - 0xc], esi
sub edx, edi
mov dword [ebp - 0x14], 0x7969ac64
mov dword [ebx], edx
add dword [ebp - 0x20], 0x5b8b6d1
add ebx, 0xf80c9d2b
sub ebx, 0xf80c9d27
add esi, 4
loop 0x7003f57
add eax, 0x10167
mov ebx, eax
add eax, 5
mov ecx, 0x7000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x700d29f
Capabilities:
Set current directory

Disassembly:
push 8
mov eax, 0x70120f1
call fcn.07001cf8
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [ebp + 8]
push esi
call fcn.0700d491
xor ebx, ebx
mov dword [edi], vtable.FileSharedStream.0
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
lea eax, [edi + 0x18]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0700dd8a
lea ecx, [ebp - 0x10]
call fcn.0700d23c
mov eax, dword [edi + 0x14]
mov byte [ebp - 4], 2
push dword [eax + 0x14]
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x700d30c
mov eax, dword [eax + 0x14]
jmp 0x700d311
mov eax, 0x70138c2
push 0x7015240
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov dword [edi + 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x700d343
mov ecx, dword [edi + 4]
call fcn.070076d1
lea ecx, [ebp - 0x10]
mov dword [edi + 8], eax
call fcn.07003e2a
mov eax, edi
call fcn.07001ea7
ret 4
push str.file_does_not_exist
push ebx
call fcn.07003e2a
int3