joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483950
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x2b0], 0
xor esi, esi
mov ebx, 0x4f3608
mov edi, 0x41
lea esp, [esp]
push edi
lea eax, [ebp - 0x18]
push 0x4c08f8
push eax
call fcn.00465250
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x4839b4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x483ba9
push edi
lea eax, [ebp - 0x2a8]
push 0x4c0904
push eax
call fcn.004652f0
mov eax, dword [0x4dfc84]
add esp, 0xc
mov dword [ebp - 0x2c8], 0x18
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2bc], 0x40
test eax, eax
jne 0x483a0c
push 0x4ba9ac
push 0x4afa34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dfc84], eax
lea ecx, [ebp - 0x2a8]
push ecx
lea ecx, [ebp - 0x2d8]
push ecx
call eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c8]
push eax
push 0x20001
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2b4], 0
push eax
call dword [0x4ea03c]
test eax, eax
jne 0x483ba9
mov eax, 0x104
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2ac]
call dword [0x4ea048]
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x2d0], eax
mov eax, dword [0x4dfc84]
mov dword [ebp - 0x2c8], 0x18
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x2bc], 0x40
test eax, eax
jne 0x483aea
push 0x4ba9ac
push 0x4afa34
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4dfc84], eax
push dword [ebp - 0x2d0]
lea ecx, [ebp - 0x2e0]
push ecx
call eax
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2c0], eax
lea eax, [ebp - 0x2c8]
push eax
push 0x20001
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x2b4], 0
push eax
call dword [0x4ea03c]
test eax, eax
jne 0x483b74
mov eax, 0x104
mov word [ebp - 0x226], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x2cc]
push eax
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x2ac]
call dword [0x4ea048]
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x224]
lea eax, [ebx - 0x200]
push 0x100
push eax
call fcn.004911bd
lea eax, [esi + 0x41]
add esp, 0xc
mov word [ebx], ax
mov eax, dword [ebp - 0x2b0]
inc eax
add ebx, 0x202
mov dword [ebp - 0x2b0], eax
jmp 0x483baf
mov eax, dword [ebp - 0x2b0]
inc esi
inc edi
cmp si, 0x1a
jb 0x483980
imul eax, eax, 0x202
xor ecx, ecx
pop edi
pop esi
pop ebx
mov word [eax + 0x4f3408], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret
Function at 0x48ccf0
Capabilities:
Create thread

Disassembly:
cmp byte [0x5005fc], 0
jne 0x48cdb0
push esi
push 0
push 0
push 0
push 0x4b0220
push dword [0x4e5180]
mov ecx, 0x5005c0
call fcn.004339d0
push 0x50058c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [0x5005a4], eax
call esi
push 0
push 0
push 0
push 0x48d3e0
push 0
push 0
mov dword [0x5005ac], eax
call fcn.004929fc
add esp, 0x18
mov dword [0x5005a8], eax
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x48d070
push 0
push 0
mov dword [0x5005b4], eax
call fcn.004929fc
push 0
push 0
push 0
push 0x48db20
push 0
push 0
mov dword [0x5005b0], eax
call fcn.004929fc
add esp, 0x30
mov dword [0x5005b8], eax
mov byte [0x5005fc], 1
pop esi
ret
Function at 0x4a02c0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4dc6e0]
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.00497178
mov dword [ebp - 0x14], eax
cmp dword [0x501508], esi
jne 0x4a03b3
push 0x800
push esi
push 0x4c79a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a0340
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a0493
push esi
push esi
push 0x4c79a4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a0493
push 0x4c79bc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a0493
push eax
call ebx
push 0x4c79c8
push edi
mov dword [0x501508], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4c79d8
push edi
mov dword [0x50150c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x4c79ec
push edi
mov dword [0x501510], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x501518], eax
test eax, eax
je 0x4a03b0
push 0x4c7a08
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x501514], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a03d8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a03cb
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a03ed
push 4
pop eax
jmp 0x4a0495
cmp dword [ebp - 0x14], esi
je 0x4a03ed
push dword [0x501508]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a03d2
mov eax, dword [0x501514]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a044b
cmp dword [0x501518], edi
je 0x4a044b
push eax
call ebx
push dword [0x501518]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a044b
test eax, eax
je 0x4a044b
call ecx
test eax, eax
je 0x4a0440
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 0x4a0440
test byte [ebp - 8], 1
jne 0x4a044b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a047b
mov eax, dword [0x50150c]
cmp eax, edi
je 0x4a0478
push eax
call ebx
test eax, eax
je 0x4a0478
call eax
mov esi, eax
test esi, esi
je 0x4a0478
mov eax, dword [0x501510]
cmp eax, edi
je 0x4a0478
push eax
call ebx
test eax, eax
je 0x4a0478
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x501508]
call ebx
test eax, eax
je 0x4a0493
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a0495
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x484f5428
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x755421d1
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4066a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [0x4010f0]
sub ecx, 0x67ab1531
mov dword [ebp - 8], ecx
mov eax, dword [0x4010f4]
xor edx, edx
div dword [0x4010f4]
mov dword [0x43b0e0], eax
mov ecx, dword [ebp - 0x10]
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [0x43b1a8], eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x4010f0]
cmp eax, dword [ebp - 8]
je 0x406710
mov ecx, dword [ebp + 0xc]
mov dword [0x43b1a4], ecx
mov eax, dword [ebp - 0xc]
xor eax, edx
mov dword [0x43b0e0], eax
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
cmp eax, dword [0x4010f4]
je 0x4066f2
mov edx, dword [ebp + 0x10]
mov dword [0x43b1a0], edx
mov esp, ebp
pop ebp
ret

Function at 0x40b2be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ecx
mov edx, 0x56cfd208
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 3]
shl ecx, 8
mov dword [ebp - 4], ecx
mov eax, dword [0x43b100]
shl eax, 4
mov dword [ebp - 0x14], eax
cmp dword [0x401110], 0
je 0x40b2da
mov eax, dword [0x43b104]
imul eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 1]
rol eax, 0x18
and eax, 0xff000000
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 2]
shl edx, 0x10
or eax, edx
or eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
and edx, 0xff
or eax, edx
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x20], eax
mov eax, dword [0x401114]
cmp eax, dword [ebp - 0xc]
je 0x40b359
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, 0xa9302df7
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 8]
xor ecx, dword [0x401114]
mov dword [ebp - 8], ecx
mov ecx, dword [0x43b100]
add ecx, dword [0x43b104]
mov dword [0x43b100], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [0x401110]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov ecx, dword [0x401114]
add ecx, 0xddac2356
mov dword [eax + 0x4c], ecx
mov esp, ebp
pop ebp
ret
Function at 0x410e4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [0x401174]
sub ecx, 0x9f8d54f9
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov edx, dword [0x401170]
add edx, 0xbbfd6831
mov dword [ebp - 0x34], edx
jmp 0x410e8e
mov ecx, dword [ebp - 0x34]
mov edx, dword [0x401170]
sub edx, 0x440297ce
add ecx, edx
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x10]
sub edx, 0x9b4259ac
cmp dword [ebp - 0x34], edx
jae 0x410f38
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [0x43b164]
sub ecx, edx
mov dword [0x43b164], ecx
mov ecx, dword [ebp - 4]
or ecx, edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x28]
xor ecx, dword [0x401170]
mov dword [0x43b164], ecx
test dword [ebp - 0x10], 0x8000
jne 0x410eba
mov eax, dword [ebp - 8]
push eax
call fcn.00410306
add esp, 8
dec dword [0x43b164]
mov edx, dword [ebp - 0x20]
add edx, eax
mov dword [ebp - 0x20], edx
test dword [ebp - 0x10], 0x10
je 0x410f06
mov ecx, dword [ebp - 0x28]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
sub ecx, 0x9b4259a8
mov dword [ebp - 8], ecx
cmp dword [0x401174], 0
je 0x410f38
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov eax, dword [0x43b160]
imul eax, dword [ebp - 4]
mov dword [ebp - 0x20], eax
jmp 0x410e7a
mov esp, ebp
pop ebp
ret
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6ed90b83
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x7d524023
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x418070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 2
mov esi, ecx
mov dword [0x420e6c], 0
push 1
push esi
mov dword [0x420e68], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x4181e0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [0x420e6c], eax
test eax, eax
je 0x4181e5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x420e64], eax
test eax, eax
je 0x4181eb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0x28
jbe 0x4181eb
mov esi, dword [0x420e64]
cmp dword [esi], 0x28
jne 0x4181eb
mov eax, dword [esi + 4]
movzx ecx, word [esi + 0xe]
mov dword [0x420e60], eax
mov eax, dword [esi + 8]
mov dword [0x420e5c], eax
cmp ecx, 0x18
jne 0x41810c
mov dword [ebp - 4], 0
jmp 0x418126
cmp dword [esi + 0x20], 0
je 0x418118
movzx eax, word [esi + 0x20]
jmp 0x418123
mov eax, 1
shl ax, cl
movzx eax, ax
mov dword [ebp - 4], eax
movzx eax, word [esi + 0xe]
cmp eax, 4
je 0x41813f
cmp eax, 8
jne 0x4181cf
mov edi, 0x100
jmp 0x418144
mov edi, 0x10
push ebx
lea eax, [edi*4 + 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x4181c8
mov word [ebx + 2], di
mov eax, 0x300
mov word [ebx], ax
test edi, edi
jle 0x4181a2
lea ecx, [ebx + 5]
lea edx, [esi + 0x29]
jmp 0x418180
movzx eax, byte [edx + 1]
lea edx, [edx + 4]
mov byte [ecx - 1], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 5]
mov byte [ecx - 3], al
mov byte [ecx - 2], 0
dec edi
jne 0x418180
push ebx
call dword [sym.imp.GDI32.dll_CreatePalette]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push ebx
mov dword [0x420e68], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [0x420e64]
pop ebx
mov eax, dword [ebp - 4]
movzx eax, ax
add eax, 0xa
lea eax, [esi + eax*4]
mov dword [0x420e70], eax
mov eax, dword [0x420e6c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x420e6c]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov dword [0x420e6c], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x323e5ba6
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x7aac2247
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x664c20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4da015
lea edi, [esi - 0xd9015]
push edi
or ebp, 0xffffffff
jmp 0x664c42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x664c49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664c38
mov eax, 1
add ebx, ebx
jne 0x664c5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x664c6c
jne 0x664c8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664c8b
dec eax
add ebx, ebx
jne 0x664c78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x664c50
add ebx, ebx
jne 0x664c87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x664cdd
xor ecx, ecx
sub eax, 3
jb 0x664ca3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x664d12
sar eax, 1
mov ebp, eax
jmp 0x664cae
add ebx, ebx
jne 0x664cae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664c7c
inc ecx
add ebx, ebx
jne 0x664cbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x664c7c
add ebx, ebx
jne 0x664cc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x664cbe
jne 0x664cda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x664cbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x664cfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x664cee
jmp 0x664c3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x664cfc
add edi, ecx
jmp 0x664c3e
pop esi
mov edi, esi
mov ecx, 0x22e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x664d1a
cmp byte [edi], 6
jne 0x664d1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x664d1f
lea edi, [esi + 0x262000]
mov eax, dword [edi]
or eax, eax
je 0x664d8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x265080]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x265114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x664d4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x26511c]
or eax, eax
je 0x664d88
mov dword [ebx], eax
add ebx, 4
jmp 0x664d69
call dword [esi + 0x265118]
mov ebp, dword [esi + 0x265120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x264de9]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x664dda
sub esp, 0xffffff80
jmp 0x4014c0
Function at 0x40575a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmpsd dword [esi], dword es:[edi]
add byte [eax], al
add byte [eax - 0x79b5b], al
inc dword [eax]

Function at 0x405a0c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7da], 0xd4
and byte [ebp - 0x7d9], 0
mov byte [ebp - 0x7d8], 0x77
invalid

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

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc
Function at 0x40c8f8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b5c4c
push 0xa
push 0x40c98c
mov eax, dword [0x4b5c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c91c
call fcn.00417424
push ebx
mov eax, dword [0x4b5c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40c933
call fcn.00417424
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40c945
call fcn.00417424
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b5c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b5c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b5c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b5c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b5c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b5c64], edx
pop esi
pop ebx
ret

Function at 0x41023c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4102e5
test eax, edx
je 0x4102e8
push 0
push 0
cmp word [eax - 0xa], 2
je 0x410265
push edx
mov edx, eax
mov eax, esp
call fcn.00406a08
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x41027b
push eax
lea eax, [esp + 8]
call fcn.00406a08
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41028a
movzx eax, word [eax]
sub eax, ecx
jmp 0x4102b1
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 0x4102cb
add ecx, 4
js 0x4102a2
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x4102c8
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 0x4102af
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4102b1
xor eax, eax
ret
test eax, eax
je 0x4102f8
test edx, edx
jne 0x41024c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4147e4
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 0x41481d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406940
jmp 0x414826
mov eax, ebx
mov edx, esi
call fcn.00406804
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x414830
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 0x414852
movzx eax, word [esp]
jmp 0x414854
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret