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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10051040]
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.10030d76
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.10030d76
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 0x1003a2dd
cmp word [ecx], dx
je 0x1003a2dd
mov eax, dword [0x1004828c]
push edi
dec eax
push eax
push 0x10048178
call fcn.1003a205
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1003a350
cmp word [eax], dx
je 0x1003a350
mov eax, dword [edi]
test eax, eax
je 0x1003a301
cmp word [eax], dx
je 0x1003a301
lea eax, [ebp - 0x10]
push eax
call fcn.10039be8
jmp 0x1003a30a
lea eax, [ebp - 0x10]
push eax
call fcn.10039c83
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1003a37a
mov eax, dword [0x10048174]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10047e68
call fcn.1003a205
add esp, 0xc
test al, al
je 0x1003a37a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1003a345
cmp word [eax], di
je 0x1003a345
lea eax, [ebp - 0x10]
push eax
call fcn.10039be8
pop ecx
jmp 0x1003a37c
lea eax, [ebp - 0x10]
push eax
call fcn.10039c83
jmp 0x1003a342
mov eax, dword [edi]
test eax, eax
je 0x1003a367
cmp word [eax], dx
je 0x1003a367
lea eax, [ebp - 0x10]
push eax
call fcn.10039b9d
pop ecx
jmp 0x1003a37a
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 0x1003a445
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1003a08a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1003a445
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1003a445
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1003a445
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1003a3d2
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10032ea4
test ebx, ebx
je 0x1003a440
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10032ea4
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1003a445
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 0x1003a445
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.1003e201
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1003a447
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021b0c
leave
ret
Function at 0x10040360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004038d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004038d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40148e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x472eb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x401523
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014e0
cmp dword [ebp + 0x10], ebx
jne 0x401517
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.0040148e
test eax, eax
jne 0x4014f2
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014c7
push dword [ebp - 4]
invalid
invalid
Function at 0x406245
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40626e
mov eax, dword [0x40b058]
cmp eax, 0xffffffff
je 0x406262
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40b058], 0xffffffff
jmp 0x406319
cmp dword [0x461530], ebx
je 0x406319
cmp word [0x46a560], bx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
je 0x4062e5
cmp dword [0x40b058], 0xffffffff
jne 0x4062ee
mov esi, 0x46a560
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 4
push 0x40000000
push esi
mov dword [ebp + 8], eax
call fcn.00405fb1
cmp eax, 0xffffffff
mov dword [0x40b058], eax
je 0x406317
cmp dword [ebp + 8], 0xffffffff
jne 0x4062da
push ebx
lea ecx, [ebp - 4]
push ecx
push 2
lea ecx, [ebp + 8]
push ecx
push eax
mov dword [ebp + 8], 0xfeff
call edi
mov eax, dword [0x40b058]
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40b058], 0xffffffff
je 0x406317
push 0x4096a8
mov esi, 0x461540
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea ecx, [ebp + 8]
push ecx
add eax, eax
push eax
push esi
push dword [0x40b058]
call edi
pop edi
pop esi
pop ebx
leave
ret 4

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4572d0
push esi
call fcn.00406167
push esi
call fcn.00405eba
mov edi, eax
test edi, edi
jne 0x4068f3
xor eax, eax
jmp 0x406951
push edi
call fcn.00406196
test byte [0x472e28], 0x80
je 0x406910
movzx eax, word [edi]
test ax, ax
je 0x4068ef
cmp ax, 0x5c
je 0x4068ef
sub edi, esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
sar edi, 1
jmp 0x406932
push esi
call fcn.00406433
test eax, eax
je 0x40692c
test byte [eax], 0x10
je 0x406956
push esi
call fcn.004068a6
push esi
call ebx
cmp eax, edi
jg 0x40691d
push esi
call fcn.00406877
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x406950
Function at 0x401919
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x4024da
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, eax
dec eax
test ecx, ecx
je 0x4024f3
lea ecx, [eax + 1]
mov eax, dword [esp + 4]
xor byte [eax], 0xa5
inc eax
dec ecx
jne 0x4024ec
ret

Function at 0x40306a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
lea eax, [ebp - 0x38]
push ebx
push eax
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll__stat]
pop ecx
test eax, eax
pop ecx
je 0x4030ff
push 0x40c560
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
je 0x4030ff
push esi
lea eax, [ebp + 0xc]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_time]
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
lea esi, [ebp - 0x14]
pop ecx
push 8
pop edi
call dword [sym.imp.MSVCRT.dll_rand]
mov word [esi], ax
inc esi
inc esi
dec edi
jne 0x4030b7
mov eax, dword [ebp + 0xc]
pop edi
mov dword [ebp - 4], eax
xor ecx, ecx
lea eax, [ebp - 0x11]
pop esi
mov dl, byte [ebp + ecx - 4]
inc ecx
mov byte [eax], dl
inc eax
inc eax
cmp ecx, 4
jb 0x4030d2
mov al, byte [ebp + 0x10]
push ebx
mov byte [ebp - 0x10], al
push 0x10
lea eax, [ebp - 0x14]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0040310f
pop ecx
pop ecx
pop ebx
leave
ret

Function at 0x4031f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x40c564
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, dword [ebp + 0x10]
pop ecx
test edi, edi
pop ecx
mov esi, eax
je 0x403215
and byte [edi], 0
test esi, esi
jne 0x403220
push 5
jmp 0x4032ac
push esi
push 0x10
lea eax, [ebp - 0x14]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
push esi
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
cmp ebx, 0x10
je 0x403244
push 4
jmp 0x4032ac
cmp byte [ebp - 0x10], 2
jne 0x403240
xor ecx, ecx
lea eax, [ebp - 0x11]
mov dl, byte [eax]
mov byte [ebp + ecx + 8], dl
inc ecx
inc eax
inc eax
cmp ecx, 4
jb 0x40324f
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
imul esi, esi, 0x15180
test edi, edi
je 0x403294
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + esi]
push eax
call fcn.00402752
push edi
push dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00402d10
add esp, 0x20
mov edi, dword [sym.imp.MSVCRT.dll_time]
lea eax, [ebp - 4]
push eax
call edi
add eax, 0x3f480
pop ecx
cmp ebx, eax
jle 0x4032af
push 2
pop eax
jmp 0x4032c2
lea eax, [ebp - 4]
push eax
call edi
pop ecx
add ebx, esi
xor ecx, ecx
cmp ebx, eax
setl cl
inc ecx
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40407d
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
cmp dword [0x40f6b8], 2
push esi
push edi
jne 0x40416e
push str.advapi32.dll
xor edi, edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x4040b6
push str.GetUserNameW
push eax
call fcn.0073c8f8
nop
mov esi, eax
cmp esi, edi
mov dword [ebp - 4], 0x208
je 0x40416e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x21c]
push eax
call esi
test eax, eax
je 0x40416e
cmp word [ebp - 0x21c], di
lea eax, [ebp - 0x21c]
je 0x404163
push ebx
jmp 0x4040ef
mov eax, dword [ebp - 8]
movzx ebx, word [eax]
inc eax
inc eax
cmp ebx, 0x20
mov dword [ebp - 8], eax
jne 0x404102
push 0x5f
pop ebx
cmp ebx, 0x20
jl 0x404126
cmp ebx, 0x7e
jg 0x404126
push ebx
push str._:___
call dword [sym.imp.MSVCRT.dll_strchr]
pop ecx
test eax, eax
pop ecx
jne 0x404126
and byte [ebp - 0x13], al
push 1
mov byte [ebp - 0x14], bl
pop eax
jmp 0x404139
push ebx
lea eax, [ebp - 0x14]
push str.__x_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea esi, [eax + edi]
lea ecx, [esi + 1]
cmp ecx, dword [ebp + 0xc]
jae 0x404159
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
add edi, eax
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edi, esi
mov eax, dword [ebp - 8]
cmp word [eax], 0
jne 0x4040ec
pop ebx
mov eax, dword [ebp + 8]
and byte [edi + eax], 0
mov eax, edi
jmp 0x40418f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x404188
and byte [esi], al
push esi
call sub.MSVCRT.dll_strlen
pop ecx
pop edi
pop esi
leave
ret
Function at 0x406b72
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, 0x2000000
push edi
mov eax, dword [esi]
mov ebx, 0xff0000
mov edi, 0xff00
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
cmp eax, ebp
mov eax, dword [esi + 0x18]
jne 0x406bbf
mov ecx, dword [eax + 8]
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
jmp 0x406bc2
mov edx, dword [eax + 8]
test dl, 1
je 0x406c82
mov ecx, dword [esi]
cmp dword [ecx + 4], ebp
mov ecx, dword [eax]
jne 0x406bfb
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
mov dword [esp + 0x14], edx
jmp 0x406bff
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
cmp dword [ecx + 4], ebp
jne 0x406c2c
mov ecx, dword [eax + 4]
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
jmp 0x406c2f
mov edx, dword [eax + 4]
add eax, 0xc
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
call fcn.00408e10
add esp, 0x10
test eax, eax
jne 0x406c7b
mov eax, dword [esi]
cmp dword [eax + 4], ebp
mov eax, dword [esi + 0x18]
jne 0x406c73
mov eax, dword [eax]
mov ecx, eax
mov edx, eax
and ecx, ebx
shr edx, 0x10
or ecx, edx
mov edx, eax
shl edx, 0x10
and eax, edi
or edx, eax
shr ecx, 8
shl edx, 8
or ecx, edx
jmp 0x406c75
mov ecx, dword [eax]
cmp dword [esp + 0x14], ecx
je 0x406cc0
xor eax, eax
jmp 0x406d38
cmp dword [esp + 0x14], ebp
jne 0x406cad
mov ecx, dword [eax]
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
jmp 0x406caf
mov edx, dword [eax]
add eax, 0xc
push edx
push eax
push dword [esp + 0x20]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [esi]
mov esi, dword [esi + 0x18]
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x406cf1
mov eax, dword [esi + 8]
mov ecx, eax
mov edx, eax
and ecx, ebx
shr edx, 0x10
or ecx, edx
mov edx, eax
shl edx, 0x10
and eax, edi
or edx, eax
shr ecx, 8
shl edx, 8
or ecx, edx
jmp 0x406cf4
mov ecx, dword [esi + 8]
test cl, 2
je 0x406d34
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
jne 0x406d23
mov ecx, dword [esi]
mov eax, ecx
mov esi, ecx
and eax, ebx
shr esi, 0x10
or eax, esi
mov esi, ecx
shl esi, 0x10
and ecx, edi
or esi, ecx
shr eax, 8
shl esi, 8
or eax, esi
jmp 0x406d25
mov eax, dword [esi]
mov ecx, eax
dec eax
test ecx, ecx
je 0x406d34
inc eax
xor byte [edx], 0xea
inc edx
dec eax
jne 0x406d2d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406f2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_time]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
pop ecx
call dword [sym.imp.MSVCRT.dll_rand]
mov edi, eax
mov eax, dword [ebp + 8]
and edi, 0x7f
add edi, 0x20
and edi, 0xfffffffc
cmp dword [eax + 4], 0x2000000
jne 0x406f8f
mov eax, dword [eax + 8]
mov ebx, eax
mov ecx, eax
and ebx, 0xff0000
shr ecx, 0x10
or ebx, ecx
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shr ebx, 8
shl ecx, 8
or ebx, ecx
jmp 0x406f92
mov ebx, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
add ebx, edi
lea eax, [ebx + 0xc]
push eax
mov dword [ecx], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x40701d
push 0x10
mov dword [esi + 4], 2
pop eax
mov word [esi + 0xc], di
cmp edi, eax
mov dword [esi + 8], ebx
mov dword [ebp + 0xc], eax
jbe 0x406fd6
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
mov byte [ecx + esi], al
jb 0x406fc2
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 8], eax
jbe 0x406ff2
add edi, esi
mov edx, dword [eax + ecx]
xor edx, ebx
mov dword [edi + eax], edx
add eax, 4
cmp eax, dword [ecx + 8]
jb 0x406fe2
push 4
push 0x40d1bc
push esi
call sub.MSVCRT.dll_memcpy
push 0xc
lea eax, [esi + ebx]
push esi
push eax
call sub.MSVCRT.dll_memcpy
push 4
push 0x40d1b4
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0x24
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4070ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx]
test esi, esi
je 0x4071a5
push 4
push 0x40d1b4
push esi
call sub.MSVCRT.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4071a5
mov eax, dword [esi + 4]
mov edx, 0x2000000
cmp eax, edx
jne 0x40714b
mov ecx, dword [esi + 8]
mov eax, ecx
mov edi, ecx
and eax, 0xff0000
shr edi, 0x10
or eax, edi
mov edi, ecx
shl edi, 0x10
and ecx, 0xff00
or edi, ecx
shr eax, 8
shl edi, 8
or eax, edi
jmp 0x40714e
mov eax, dword [esi + 8]
cmp dword [esi + 4], edx
jne 0x407168
mov cx, word [esi + 0xc]
xor edx, edx
movzx edi, cx
mov dh, cl
movzx ecx, dx
shr edi, 8
or edi, ecx
jmp 0x40716c
movzx edi, word [esi + 0xc]
sub eax, edi
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebx], eax
xor ecx, ecx
cmp eax, ecx
jne 0x407185
xor eax, eax
jmp 0x4071a8
cmp dword [ebp + 8], ecx
mov dword [ebx + 0xc], 1
jbe 0x4071a5
lea edx, [edi + esi]
mov edi, dword [edx + ecx]
xor edi, dword [esi + 8]
mov dword [ecx + eax], edi
add ecx, 4
cmp ecx, dword [ebp + 8]
jb 0x407194
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40778d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x4077d3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x407804
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
cmp eax, dword [ebp + 0xc]
ja 0x407802
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 8]
add edx, dword [eax + 8]
cmp dword [ebp + 0xc], edx
jae 0x407802
mov eax, dword [ebp - 8]
jmp 0x407806
jmp 0x4077c1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x73f134
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x73f18f
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x73f154
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret
Function at 0x1bd00c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7bb000]
push edi
or ebp, 0xffffffff
jmp 0x1bd00e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1bd00e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1bd00d8
mov eax, 1
add ebx, ebx
jne 0x1bd00fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1bd010c
jne 0x1bd012b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1bd012b
dec eax
add ebx, ebx
jne 0x1bd0118
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1bd00f0
add ebx, ebx
jne 0x1bd0127
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1bd017d
xor ecx, ecx
sub eax, 3
jb 0x1bd0143
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1bd01b2
sar eax, 1
mov ebp, eax
jmp 0x1bd014e
add ebx, ebx
jne 0x1bd014e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1bd011c
inc ecx
add ebx, ebx
jne 0x1bd015c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1bd011c
add ebx, ebx
jne 0x1bd0169
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1bd015e
jne 0x1bd017a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1bd015e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1bd019c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1bd018e
jmp 0x1bd00de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1bd019c
add edi, ecx
jmp 0x1bd00de
pop esi
mov edi, esi
mov ecx, 0x4e268
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1bd01ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
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 0x1bd01bf
lea edi, [esi + 0xccc000]
mov eax, dword [edi]
or eax, eax
je 0x1bd0227
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd4d4ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd4d618]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1bd01e5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd4d61c]
or eax, eax
je 0x1bd0221
mov dword [ebx], eax
add ebx, 4
jmp 0x1bd0202
call dword [esi + 0xd4d62c]
mov ebp, dword [esi + 0xd4d620]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1bd025b
sub esp, 0xffffff80
jmp 0x158b578
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x427e1e
Capabilities:
Encode data using xor

Disassembly:
xor al, 0x34
xor al, 0x1c
and ebx, dword [edx + 0x37]
pop edx
aaa
xor al, 0x7c
mov ebp, 0x7c645878
mov edi, 0xfcbf7c0a
cld
sbb al, 0xff
xor al, 0x34
xor al, 0x7c
mov edi, 0x7fbf7c24
test byte [edi + edi*4 + 0x35], bh
jge 0x427db7
movsb byte es:[edi], byte [esi]
iretd
fidiv word [eax + edi*4]
hlt
in al, 0x35
jl 0x427da5
nop
pop eax
insb byte es:[edi], dx
jl 0x427daa
test al, 0x58
je 0x427e6b
mov bh, 0xf8
push esp
xchg ebx, eax
imul dword [edx]
je 0x427e5f
inc esp
test eax, 0x7fbf7cdd
test byte [edi + edi*4 + 0x35], bh
jge 0x427df1
movsb byte es:[edi], byte [esi]
daa
push cs
inc esp
rol bl, 5
xor edi, dword [edi + edi*4 + 0x74]
dec esp
xor ecx, dword [ecx + 0x3b]
mov dword [0xb77c34de], eax
pop ebx
xor al, 0x1f
sti
jl 0x427ddc
jne 0x427e93
je 0x427e9c
jl 0x427e8e
insd dword es:[edi], dx
jne 0x427e8f
inc ebx
mov ecx, 0x33333386
jl 0x427de2
lodsd eax, dword [esi]
xor al, 0xa8
cmp byte [esi - 0xc], ah
pop ds
in al, 0xed
xor al, 0x34
xor al, 0x1c
xchg edx, eax
sbb al, 0x92
pop edx
aaa
xor al, 0x7c
mov ebp, 0x7c645878
mov edi, 0xfcbf7c0a
sbb al, 0x6e
xor al, 0x34
xor al, 0xc4
mov edi, 0x346e1cfc
xor al, 0x34
les edi, [ebp + edi*4 + 0x77]
pop ds
jl 0x427e0e
ja 0x427eb7
pop ds
rcr dword [edi], 0xd
jl 0x427e12
sub ch, byte [eax + 0x3abf7c52]
jge 0x427e4f
movsb byte es:[edi], byte [esi]
xor al, 0x8d
jb 0x427e39
mov edx, 0x35eec624
xor al, 0x34
xor al, 0x7c
mov edi, 0x34bf7c02
xor ecx, dword [ecx - 0x2a]
jl 0x427e32
xor al, 0x33
dec ecx
salc
mov byte [0xb77c34de], al
pop ebx
xor al, 0x66
hlt
jl 0x427e47
mov bh, 0x20
push esp
jl 0x427e53
and byte [esp + edi*2 - 0x41], dl
mov edi, 0x3c75fb0d
inc esp
or eax, 0x443c75fb
xor al, 0x34
xor al, 0x7c
sar dword [ecx], 0x2d
in eax, dx
salc
xor al, 0x7c
jl 0x427e5f
cmp dword [0x7c34d6ed], ebp
mov ebp, 0xf5b77c35
inc esp
sbb al, 0x51
xor al, 0x34
xor al, 0xc4
jl 0x427e71
idiv dword [edi + esi*4 - 8]
push esp
invalid