joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52fcb0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x134389
call fcn.0052d38e
mov word [ecx], cs
cdq
clc
or ebp, ecx
sub al, 0xf5
mov ah, 0x99
xor eax, edx
inc esp
fidivr dword [ebp + 0x7f9ca54c]
cld
xchg edx, eax
cmc
add al, 0xe2
cli
jp 0x52fcbd
invalid

Function at 0x541a1a
Capabilities:
Encode data using xor

Disassembly:
push 0x14196b
call fcn.0052d38e
add cl, byte [edi + 0x30897a1f]
xchg edx, eax
sbb cl, byte [eax - 0x642ee511]
adc al, byte [eax - 0xf03ed19]
jle 0x541a25
invalid
mov eax, dword [esi + 0x3ea82762]
pop ecx
test al, 0x4a
int1
adc dword [ebx], 0x76
test dword [edx + 0x59], ebp
aam 0x4a
sub eax, 0x83ef28dc
adc esi, dword [esi - 0x7b]
imul edi, dword [ebx - 0x18], 0x7e
sbb eax, ebp
sbb eax, 0xd3b426b6
mov dword cs:[ebx - 0xe], esp
pushal
pop es
xor edx, ebx
dec esp
ret 0x54a5

Function at 0x5509c7
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
call fcn.0051771d
jmp 0x5178f6

Function at 0x550a06
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call 0x517efd
jmp 0x517f60

Function at 0x551077
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x5186b8
jmp 0x518737

Function at 0x55c896
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x55c8a9
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x55c852
xor eax, eax
pop ebp
ret

Function at 0x55c907
Capabilities:
Enumerate pe sections

Disassembly:
inc edx
add eax, 0x28
cmp edx, esi
jb 0x55c92c
jmp 0x55c8ea
xor eax, eax
jmp 0x55c994
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x55c8ea
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x55c8c0
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x55c994
jmp 0x55c8c0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x579078
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
pop ebp
push ds
pop ds
lodsd eax, dword [esi]
sbb byte [esi - 0x1e], bh
dec eax
mov ebx, 0x3e7cab44
mov eax, dword [0x11af590b]
daa
cmp byte [ebx - 0x17], bl
ljmp 0x7fc
add dword [esp], 0x7ba90ea2
call 0x51d332
jmp 0x578de4
call 0x5775ee
jmp 0x578fcf
call 0x57783d
pop eax
sub eax, 0x57783d
cmp dword [eax + 0x50fd95], 0
je 0x577ec3
lea esp, [esp + 8]
popal
jmp 0x576edb
inc dword [eax + 0x50fd95]
push 0xafae6e63
add dword [esp], 0x50a21ebb
push 0
push 0
push 0x84a76570
jmp 0x5775d8
push eax
jmp 0x577838
call 0x578de9
jmp 0x578e3f
call 0x51c703
jmp 0x578e7f
add dword [esp], 0x1089
call fcn.0051b0e8
jmp 0x578e22
popal
jmp 0x576edb
lea esp, [esp + 4]
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x579029
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x577ef8
jmp 0x578fde
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x578ece
sub eax, 0x10000
jmp 0x578fd3
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x5775e9
call 0x579078
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x63694c20
outsb dx, byte gs:[esi]
jae 0x5790d7
jb 0x57908a
inc esp
insd dword es:[edi], dx
outsd dx, dword [esi]
and byte [esi + 0x31], dh
cmp byte cs:[esi], ch
xor byte [esi], ch
xor byte [eax], al
jmp 0x578e88
dec edx
pop es
jp 0x5790d5
xchg ebx, eax
inc edi
je 0x5790e3
je 0x5790e3
imul ebp, dword [esi + 0x64], 0x6554776f
js 0x579109
inc ecx
add byte [edx - 0x3f], bl
push ecx
xor bl, al
jle 0x579082
jp 0x579088
invalid
test al, 0xcf
cmp bl, al
pop ds
lahf
punpckhdq mm3, qword [ecx - 0x36a623b2]
test al, 0x5b
pop ebx
mov ecx, 0x1572dc58
in al, 0xa
inc ebx
invalid
test al, 0x3e
pop ecx
test al, 0x4c
or cl, byte [ebx + 0x698d7e1b]
dec esi
ret 0x3750
Function at 0x401106
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e004]
jne 0x401110
repz ret
jmp fcn.004014b0

Function at 0x4041ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004029d8
and dword [ebp - 0x14], 0
cmp dword [0x4409d0], 0
mov dword [ebp - 0x18], eax
jne 0x40425e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4409d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4409d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4409d8], eax
call edi
push eax
call esi
mov dword [0x4409e0], eax
test eax, eax
je 0x40425e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4409dc], eax
mov eax, dword [0x4409dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4042b7
cmp dword [0x4409e0], ecx
je 0x4042b7
push eax
call esi
push dword [0x4409e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4042b7
test ebx, ebx
je 0x4042b7
call edi
test eax, eax
je 0x4042ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4042ae
test byte [ebp - 8], 1
jne 0x4042b7
or dword [ebp + 0x10], 0x200000
jmp 0x4042ea
mov eax, dword [0x4409d4]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4042ea
mov eax, dword [0x4409d8]
cmp eax, dword [ebp - 0x18]
je 0x4042ea
push eax
call esi
test eax, eax
je 0x4042ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4409d0]
call esi
test eax, eax
je 0x404306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401106
leave
ret
Function at 0x42caa0
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x43eb20]
sub esp, 0x14
push ebx
mov ebx, dword [0x2be3f9c]
push edi
mov edi, dword [0x2be641c]
call fcn.0042ca20
cmp dword [0x2be641c], 0x2f
jne 0x42cb02
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.0042ca50
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x42cde0
Capabilities:
Get disk information
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
jmp 0x42ce05
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x1519a5
jge 0x42ce4e
mov dword [0x2be6084], 0x8e46a6f0
cmp dword [0x2be641c], 0x3dc
jne 0x42ce4c
xor ecx, ecx
mov word [ebp - 8], cx
xor edx, edx
mov word [ebp - 6], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
jmp 0x42cdfc
mov dword [ebp - 0x10], 0
jmp 0x42ce60
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12cad2a
jge 0x42cef3
cmp dword [0x2be641c], 0xa5f
jne 0x42ceaa
push 0
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x820]
push ecx
push str.lewujuyenehuzehiji
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 0x10], 0x84620b
jne 0x42cece
mov edx, dword [0x43f940]
mov dword [0x2be641c], edx
mov eax, dword [0x2be641c]
add eax, 0xa231
mov dword [0x2be641c], eax
cmp dword [0x2be641c], 0x141
jne 0x42ceee
mov dword [0x440f08], 0xec58acac
mov dword [0x440f0c], 0xffffffff
jmp 0x42ce57
call fcn.0042cb10
jmp dword [0x2be3f9c]
Function at 0x404548
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406838
test esi, esi
jne 0x404580
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406974
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405dc8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bf050], 0
je 0x405e29
cmp word [0x4bf32c], 0xd7b2
jne 0x405df1
cmp dword [0x4bf334], 0
jbe 0x405df1
mov eax, 0x4bf328
call dword [0x4bf344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405e54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4bc030], 0
jne 0x405e45
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fb4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4bc034], 0
je 0x405fda
mov edx, esi
mov eax, ebx
call dword [0x4bc034]
jmp 0x405fe9
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4bf051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405f7c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408600
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408767
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406838
cmp si, word [0x4bc7dc]
jb 0x40869a
cmp si, word [0x4bc9dc]
ja 0x40869a
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x40869a
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4bc7dc]
jae 0x408674
mov edi, ebx
dec edi
jmp 0x408695
cmp si, word [ebx*8 + 0x4bc7dc]
jbe 0x408684
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x408695
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4bc7e0]
call fcn.00408510
jmp 0x40869a
cmp edi, dword [ebp - 0xc]
jae 0x40865e
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408749
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408749
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a20
push dword [ebp - 0x164]
push 0x408784
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a20
push dword [ebp - 0x168]
push 0x408794
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a20
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40876e
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406830
ret
Function at 0x408920
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408a25
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c1b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c1b70]
jne 0x40896c
mov eax, esi
mov edx, 0x4c1b74
mov ecx, 0x55
call fcn.00406a20
push 0x4c1b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408a0f
push 0x4c1b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406838
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089dd
cmp byte [0x4c1b54], 0
je 0x4089a2
mov edx, esi
mov eax, ebx
call fcn.00408800
jmp 0x4089dd
mov edx, esi
mov eax, ebx
call fcn.00408600
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089dd
cmp dword [esi], 0
je 0x4089c6
mov eax, esi
mov edx, 0x408a40
call fcn.00406c34
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408600
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c34
push 0x4c1b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c1b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.004068c4
push eax
push 0x4c1b74
call sub.kernel32.dll_lstrcpynW
push 0x4c1b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a2c
lea eax, [ebp - 4]
call fcn.00406828
ret
Function at 0x409114
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov esi, ecx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
call fcn.00406820
mov eax, dword [ebp - 0x21c]
call fcn.00406820
lea edi, [ebp - 0x210]
xor eax, eax
push ebp
push 0x4092b3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
xor edx, edx
call fcn.00406838
xor ebx, ebx
push 0x105
mov eax, dword [ebp - 0x21c]
call fcn.004068c4
push eax
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrcpynW
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_lstrlenW
add eax, eax
lea edx, [ebp - 0x20a]
add eax, edx
sub eax, 2
mov dword [edi], eax
jmp 0x4091b4
sub dword [edi], 2
mov eax, dword [edi]
cmp word [eax], 0x2e
je 0x4091c6
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
jne 0x4091b1
lea eax, [ebp - 0x20a]
cmp eax, dword [edi]
je 0x40927f
add dword [edi], 2
mov eax, dword [edi]
mov word [eax], 0
lea eax, [ebp - 0x20a]
mov edx, dword [edi]
sub edx, eax
sar edx, 1
jns 0x4091ef
adc edx, 0
mov eax, 0x105
sub eax, edx
mov dword [ebp - 0x214], eax
lea edx, [ebp - 0x220]
mov eax, dword [ebp - 0x218]
call fcn.00408c64
cmp dword [ebp - 0x220], 0
je 0x409227
push ebp
mov eax, dword [ebp - 0x220]
call fcn.00409008
pop ecx
mov ebx, eax
jmp 0x40927f
push ebp
call sub.kernel32.dll_GetUserDefaultUILanguage
lea edx, [ebp - 0x224]
call fcn.00408920
mov eax, dword [ebp - 0x224]
call fcn.00409008
pop ecx
mov ebx, eax
test bl, bl
jne 0x409272
cmp byte [0x4c1b54], 0
jne 0x409272
push ebp
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 0x228]
call fcn.00408920
mov eax, dword [ebp - 0x228]
call fcn.00409008
pop ecx
mov ebx, eax
test bl, bl
jne 0x40927f
push ebp
call fcn.004090b8
pop ecx
mov ebx, eax
test bl, bl
je 0x409295
mov eax, esi
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00406a20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4092ba
lea eax, [ebp - 0x228]
mov edx, 5
call fcn.00406830
ret

Function at 0x409a2c
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 0x40c98c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4c1c4c
push 0xa
push 0x40ca20
mov eax, dword [0x4c1c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c9b0
call fcn.00417938
push ebx
mov eax, dword [0x4c1c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40c9c7
call fcn.00417938
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40c9d9
call fcn.00417938
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4c1c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4c1c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4c1c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4c1c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4c1c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4c1c64], edx
pop esi
pop ebx
ret

Function at 0x4102d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410379
test eax, edx
je 0x41037c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4102f9
push edx
mov edx, eax
mov eax, esp
call fcn.00406a3c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41030f
push eax
lea eax, [esp + 8]
call fcn.00406a3c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41031e
movzx eax, word [eax]
sub eax, ecx
jmp 0x410345
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 0x41035f
add ecx, 4
js 0x410336
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41035c
push eax
mov eax, ecx
mov edx, 2
call fcn.00406054
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x410343
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410345
xor eax, eax
ret
test eax, eax
je 0x41038c
test edx, edx
jne 0x4102e0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004068c4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41166e
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x41168f
cmp ebx, 3
je 0x41168f
cmp ebx, 0x7b
je 0x41168f
mov eax, esi
call fcn.00411610
test al, al
jne 0x411693
xor eax, eax
jmp 0x411695
mov al, 1
pop esi
pop ebx
ret

Function at 0x414b40
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_1
test eax, eax
jle 0x414b79
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406974
jmp 0x414b82
mov eax, ebx
mov edx, esi
call fcn.00406838
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414b8c
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_1
test eax, eax
jle 0x414bae
movzx eax, word [esp]
jmp 0x414bb0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x415340
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 0x415465
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00415150
mov esi, eax
mov eax, dword [0x4be2e0]
cmp byte [eax], 0
je 0x41540d
mov eax, dword [0x4be090]
call fcn.0040467c
call fcn.0040433c
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_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x415318]
call fcn.00407ffc
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_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x415480
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x415449
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4be024]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c1c3c]
call fcn.004080f0
push eax
call sub.user32.dll_LoadStringW_1
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 0x41546c
lea eax, [ebp - 4]
mov edx, dword [0x415318]
call fcn.00408008
ret
Function at 0x41661c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4166f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040688c
lea eax, [ebp - 4]
call fcn.00407224
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4166dc
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4166d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4166bf
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x416704
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4166bf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4166dc
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4166f9
lea eax, [ebp - 4]
call fcn.00406828
ret

Function at 0x4177e0
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.00406364
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x41778a
mov eax, edi
add eax, eax
call fcn.004041d4
mov esi, eax
jmp 0x41778c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x4177c5
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 0x4177af
mov eax, esp
cmp esi, eax
je 0x4177d2
mov eax, esi
call fcn.004041f0
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 0x41780c
cmp bl, 0
je 0x417808
cmp bl, 0x41
jl 0x417803
cmp bl, 0x5a
jg 0x417803
or bl, 0x20
xor al, bl
inc esi
jmp 0x4177e7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41774c