joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb260a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, dword [0xb2a300]
mov esi, dword [0xb2a304]
mov eax, dword [edx]
mov ebx, dword [edx + 4]
mov edi, dword [edx + 8]
mov edx, dword [edx + 0xc]
add ebx, dword [esi]
add edx, dword [esi + 4]
add esi, 8
lea ecx, [ebx*2 + 1]
imul ecx, ebx
rol ecx, 5
push ecx
xor eax, ecx
lea ecx, [edx*2 + 1]
imul ecx, edx
rol ecx, 5
xor edi, ecx
rol eax, cl
pop ecx
add eax, dword [esi]
rol edi, cl
mov ecx, eax
add edi, dword [esi + 4]
mov eax, ebx
mov ebx, edi
mov edi, edx
dec ebp
mov edx, ecx
lea esi, [esi + 8]
jne 0xb260cb
add eax, dword [esi]
add edi, dword [esi + 4]
pop ecx
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edx
pop ebp
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0xb26120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
dec ecx
mov esi, ecx
test esi, esi
jl 0xb26140
inc esi
xor ecx, ecx
mov bl, byte [edx + ecx]
mov edi, dword [ebp + 8]
xor bl, byte [edi + ecx]
mov byte [eax + ecx], bl
inc ecx
dec esi
jne 0xb26130
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0xb26974
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
mov eax, 0xb26a2c
call fcn.00b1394c
call fcn.00b26950
mov dword [ebx], eax
mov eax, esi
call fcn.00b26950
mov dword [ebx + 4], eax
lea eax, [esi + 4]
call fcn.00b26950
mov dword [ebx + 8], eax
lea eax, [esi + 8]
call fcn.00b26950
mov dword [ebx + 0xc], eax
lea eax, [esi + 0xc]
call fcn.00b26950
mov dword [ebx + 0x10], eax
mov eax, 0xb26a2c
add eax, 3
call fcn.00b26950
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x18]
mov edx, 0x10
call fcn.00b14fa8
mov eax, 0xb26a2c
add eax, 7
call fcn.00b26950
mov dword [ebx + 0x28], eax
lea eax, [esi + 0x10]
call fcn.00b26950
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x14]
call fcn.00b26950
mov dword [ebx + 0x30], eax
lea eax, [esi + 0x18]
call fcn.00b26950
mov dword [ebx + 0x34], eax
lea eax, [esi + 0x1c]
call fcn.00b26950
mov dword [ebx + 0x38], eax
mov eax, 0xb26a2c
add eax, 0xb
call fcn.00b26950
mov dword [ebx + 0x3c], eax
pop esi
pop ebx
ret
Function at 0xb26d50
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffb0
mov edi, ecx
mov esi, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], 0x3f
test eax, eax
jl 0xb26d9e
inc eax
mov dword [esp + 8], eax
lea edx, [esp + 0xc]
mov eax, dword [esp]
call fcn.00b26a88
mov ecx, dword [esp + 4]
test ecx, ecx
jl 0xb26d98
inc ecx
xor edx, edx
lea eax, [esp + 0xc]
mov bl, byte [esi + edx]
xor bl, byte [eax]
mov byte [edi + edx], bl
inc edx
inc eax
dec ecx
jne 0xb26d8b
dec dword [esp + 8]
jne 0xb26d70
add esp, 0x50
pop edi
pop esi
pop ebx
ret
Function at 0x402dd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e3c61
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004b220d
push 6
push 0xa8
push 0x206
push 0
push 0
push 0
mov ecx, ebx
call fcn.004ad977
movaps xmm0, xmmword [0x7a6b30]
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push ebx
push eax
push 0x5000000d
push 0
lea ecx, [ebx + 0xd8]
movups xmmword [ebp - 0x20], xmm0
call fcn.004a5783
mov ecx, str.MMRaaaaaox_147_JOXXfor_246_JQ_fozz__3_G
call fcn.0045f920
push eax
lea ecx, [ebp - 0x98]
call fcn.00404e10
mov ecx, str.LPWffffffpy_19_DFOVYbekkmppstw.0EKVW_
mov dword [ebp - 4], 0
call fcn.0045f920
push eax
lea ecx, [ebp - 0x94]
call fcn.00404e10
mov ecx, str.KKKQQQQQXaju__7EKQS_apq_.6_FJMS_aou__6_HHPWaenu__0_GQXbbikwy_5_LMU_eiuuu__.09DS_jx_._HVdqvvwz__4_
mov byte [ebp - 4], 1
call fcn.0045f920
push eax
lea ecx, [ebp - 0x90]
call fcn.00404e10
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebx + 0xd8]
call fcn.0040a930
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0x90]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402ed7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x402ef8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x402f1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5c
lea eax, [ebp - 0x8c]
push 0
push eax
call fcn.005ed880
add esp, 0xc
mov dword [ebp - 0x8c], 0xfffffff2
mov ecx, str.GHHPPPPP_doy_.9__FRT_llx1_CHRV_ksu_____
call fcn.0045f920
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
movaps xmm0, xmmword [0x7a6b90]
lea eax, [ebp - 0x30]
mov esi, dword [ebx + 0x180]
lea edi, [ebx + 0x180]
push 0x277e
push ebx
push eax
push 0x50000201
mov ecx, str.BLS_____jqwy0:DLPUYgv_3_DLTYYbqw_9_B
movups xmmword [ebp - 0x30], xmm0
call fcn.0045f920
push eax
mov ecx, edi
call dword [esi + 0x164]
mov eax, dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [edi + 0x8c], 0x333333
test eax, eax
je 0x402fa3
push 1
push 0
push eax
call esi
mov eax, dword [edi + 0x20]
mov dword [edi + 0x80], 0
test eax, eax
je 0x402fbb
push 1
push 0
push eax
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x8c]
push 1
push ecx
mov ecx, edi
call dword [eax + 0x178]
push 0
push 0
push ebx
push 0x403010
push 0
push 0
call fcn.005f3cec
mov dword [ebx + 0xd0], eax
add esp, 0x18
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret
Function at 0x4044d0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
push dword [ebx]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x210], ecx
call esi
test eax, eax
jne 0x404515
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005f42e8
mov eax, dword [edi]
add esp, 0xc
mov eax, dword [eax - 0xc]
add eax, eax
cmp eax, 0x208
jae 0x4045c5
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
jne 0x404570
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x404500
mov ecx, str.O_iiiiilny____7:_NZ_iknox._AALLXY__
call fcn.0045f920
mov esi, dword [ebp - 0x210]
push eax
lea ecx, [esi + 0xd4]
call fcn.00404dc0
push 1
push 0
push esi
push 0x4045d0
push dword [edi]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e9199
mov esp, ebp
pop ebp
ret 8
call fcn.005e92f0
int3

Function at 0x404b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004b19d2

Function at 0x404b80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404b95
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404bd6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x404bd2
nop word [eax + eax]
cmp esi, edx
jae 0x404bd6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x404bc0
cmp esi, edx
jb 0x404bdb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x406680
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e42a9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x4066c0
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x4066e6
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x40670a
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 2
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x40672e
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 3
mov ecx, str.LTUUUUUUZgpqz_379GJY_apr_.15_CKTchs_
mov dword [esi + 4], 5
call fcn.0045fa30
push eax
lea ecx, [esi + 8]
call fcn.00407360
mov ecx, str.LZ______hkpv_5:HR_blny:_OZZabmpwy__.0
mov dword [esi + 0x14], 1
call fcn.0045fa30
push eax
mov ecx, esi
call fcn.00407360
lea ecx, [esi + 0x18]
call fcn.00404ed0
mov dword [esi + 0xc], 3
mov eax, esi
mov dword [esi + 0x14], 2
mov byte [esi + 0x2c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [esi + 0x48], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4095b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e4699
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0xa
lea ecx, [esi + 0x10]
mov dword [ebp - 4], 0
call fcn.004b3a1e
mov dword [esi + 0x2c], vtable.CList_unsigned_long_int__unsigned_long_int__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xa
mov dword [esi + 0x48], vtable.CList_unsigned_long_int__unsigned_long_int__.0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 0xa
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004598d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40a000
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x7cf070]
xor eax, esp
mov dword [esp + 0x48], eax
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
jne 0x40a073
mov ecx, str.FUY_bpy_1EOOZhnw____4:_GV_fn8:__CR_fq_._DMSXemrrz_3_LNSXmt__3_OTW_jkv.2259HMR_eios_.7_CNWeq
call fcn.0045fa30
push eax
push ecx
mov ecx, str.PZ_jmz_055AET_fjltw__56CCRRRgps__6CHOVWdkx__1_CLRTbcq_AMU
call fcn.0045f920
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a073
push esi
call eax
test eax, eax
je 0x40a073
mov eax, dword [esi]
mov ecx, dword [esi + 4]
shld ecx, eax, 0xa
shl eax, 0xa
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.005e9199
mov esp, ebp
pop ebp
ret 8
push 0x40
lea eax, [esp + 0xc]
push 0
push eax
call fcn.005ed880
add esp, 0xc
mov dword [esp + 8], 0x40
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x4c]
mov dword [esi], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
pop esi
xor ecx, esp
call fcn.005e9199
mov esp, ebp
pop ebp
ret 8
Function at 0x40a560
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40a5d1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x40a59f
cmp eax, 2
jne 0x40a5bb
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x40a5cb
test ecx, ecx
je 0x40a5c6
test cl, 1
jne 0x40a5bb
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x40a5cb
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40b620
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x210]
push esi
push edi
mov edi, dword [ebp + 0x10]
push ecx
push 1
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x40b699
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005e9199
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40b6b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx + 0xa4], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 5
push 0
je 0x40b812
push 0
push edi
mov ecx, str.GLNPPPPPVam15AJXds_.45:ACDSZiqr_7:_D
call fcn.0045f920
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
cmp esi, 0x20
ja 0x40b828
lea eax, [ebp - 0x414]
mov ecx, str.KNQSSSSS_kmnr__::IRZeenz_7AHRR_eo79
push eax
call fcn.0045f920
push eax
push ecx
call fcn.0040b620
test eax, eax
jne 0x40b80e
mov ecx, str.BIJKKKKKRUX_fux2AAOTbnxy_2AJWcnp___34_GTbcdo___AKWXfikt__7__EQ_adgq__5DKXblos_2ACPYcpux5BPU_aao7C
call fcn.0045f920
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
lea eax, [ebp - 0x414]
push eax
push eax
push ecx
call fcn.0040b620
test eax, eax
jne 0x40b80e
mov ecx, str.HNNPPPPPT_oq_2__HJVclx__8_HKZddkx___.5
call fcn.0045f920
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.005ed2a5
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b7a1
mov ecx, str.KZ_nnnnnoq__16__BPQWXZefjry_8__ALPRRSVb
call fcn.0045f920
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.005ed2a5
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b7a1
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebp + eax*2 - 0x416]
jmp 0x40b7a6
xor eax, eax
mov word [esi], ax
mov ecx, str.BKNRRRRRXflw___3_MQTUX_ejp_6_AFHILV_dk
call fcn.0045f920
push eax
push esi
call ebx
push edi
push esi
call ebx
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b7c1
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x40b7e8
xor eax, eax
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40b828
add esi, esi
mov eax, esi
call fcn.005ea280
mov eax, esp
lea ecx, [ebp - 0x414]
push 3
push esi
push ecx
push eax
call fcn.004072c0
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x40b828
mov eax, esi
jmp 0x40b828
push edi
mov ecx, str.HNOPPPPPUY_cfhp__1_KX_cjmqs__8:_BO_coz__.5_BNR___lr_1_AMW_dfu_1_CR
call fcn.0045f920
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea esp, [ebp - 0x420]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret 8
Function at 0x40c7d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e4a57
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x7cf070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x230], 0
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x40c834
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x224], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push 3
push dword [ebx + 0x808]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], eax
call fcn.0040cea0
push 3
push dword [ebp - 0x228]
lea eax, [ebp - 0x198]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x19c], eax
call fcn.0040cea0
push 3
push dword [ebp - 0x22c]
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], eax
call fcn.0040cea0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x90]
push 3
push dword [ebx + 0x80c]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], eax
call fcn.0040cea0
mov byte [ebp - 4], 4
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov ebx, dword [ebp - 0x220]
jge 0x40c905
push 0x400
lea ecx, [ebp - 0x224]
call fcn.0040cf80
mov esi, dword [ebp - 0x224]
cmp dword [esi - 8], 0x400
jge 0x40c918
push 0x80070057
call fcn.00402890
push ebx
push 0x400
mov dword [esi - 0xc], 0x400
push esi
mov byte [esi + 0x400], 0
push dword [ebp - 0x19c]
push dword [ebp - 0x118]
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x40c95e
push eax
call fcn.005f6c3f
add esp, 4
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
cmp eax, ecx
je 0x40c977
push eax
call fcn.005f6c3f
add esp, 4
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x198]
cmp eax, ecx
je 0x40c990
push eax
call fcn.005f6c3f
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x21c]
mov eax, dword [ebp - 0x220]
cmp eax, ecx
je 0x40c9ad
push eax
call fcn.005f6c3f
add esp, 4
push dword [esi - 8]
push esi
call fcn.005f567f
add esp, 8
test eax, eax
js 0x40c90e
cmp eax, dword [esi - 8]
jg 0x40c90e
mov dword [esi - 0xc], eax
lea edx, [ebp - 0x224]
mov ecx, edi
mov byte [eax + esi], 0
call fcn.00452260
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40c9fd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e9199
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40cbb0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e4ad9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x7cf070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.004b08d6
mov ecx, eax
test ecx, ecx
jne 0x40cc01
push 0x80004005
call fcn.00402890
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x400
mov dword [ebp - 0x10], 1
or ecx, eax
jge 0x40cc39
push 0x400
mov ecx, esi
call fcn.004027a0
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x400
jge 0x40cc4e
push 0x80070057
call fcn.00402890
push edi
push 0x400
push ecx
push dword [ebp + 0x10]
mov dword [ecx - 0xc], 0x400
xor edx, edx
mov eax, dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov word [eax + 0x800], dx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
test eax, eax
jne 0x40cc80
xor ecx, ecx
jmp 0x40cc92
push dword [eax - 8]
push eax
call fcn.005f57a6
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x40cc44
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x40cc44
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e5d0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x10], 0
je 0x40e5f7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 0x10
jb 0x40e5f2
mov eax, dword [ebx]
jmp 0x40e5f4
mov eax, ebx
mov byte [eax], 0
call fcn.00463e20
push edi
mov esi, eax
push 0x2712
push esi
call fcn.00466ea0
push 1
push 0x34
push esi
call fcn.00466ea0
add esp, 0x18
cmp byte [edi], 0x68
jne 0x40e655
cmp byte [edi + 1], 0x74
jne 0x40e655
cmp byte [edi + 2], 0x74
jne 0x40e655
cmp byte [edi + 3], 0x70
jne 0x40e655
cmp byte [edi + 4], 0x73
jne 0x40e655
push 0
push 0x51
push esi
call fcn.00466ea0
push 0
push 0x40
push esi
call fcn.00466ea0
push 1
push 0x20
push esi
call fcn.00466ea0
add esp, 0x24
push 0x40e5a0
push 0x4e2b
push esi
call fcn.00466ea0
push ebx
push 0x2711
push esi
call fcn.00466ea0
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:25.0__Gecko_20100101_Firefox_25.0
push 0x2722
push esi
call fcn.00466ea0
push esi
call fcn.00463e60
add esp, 0x28
test eax, eax
je 0x40e697
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x100001
push esi
call fcn.00463e00
mov edx, dword [ebp - 4]
add esp, 0xc
cmp byte [edx], 0
jne 0x40e6bc
xor ecx, ecx
jmp 0x40e6ca
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40e6c1
sub ecx, edi
push ecx
push edx
lea ecx, [ebx + 0x18]
call fcn.00410070
push esi
call fcn.00463de0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410c40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x410c71
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x410c60
pop edi
mov eax, edx
pop esi
pop ebp
ret 8