joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd147b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
xor ebp, ebp
push esi
mov ebx, ecx
push edi
mov edi, eax
mov dword [esp + 0x10], ebp
cmp ebx, ebp
je 0xd148a1
cmp edi, 0xa
jb 0xd148a1
lea eax, [edi*4]
mov dword [esp + 0x14], eax
inc eax
push eax
call fcn.00d2bf50
add esp, 4
mov esi, eax
push esi
push ebx
lea edx, [esp + 0x1c]
mov ecx, edi
call fcn.00d14630
add esp, 8
test eax, eax
je 0xd1489a
mov eax, dword [esp + 0x1c]
push 0xd48304
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00d2c16e
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0xd14825
lea ebp, [eax - 2]
jmp 0xd14850
mov edi, dword [esp + 0x14]
push eax
push edi
push 1
push esi
call fcn.00d2c323
add esp, 0x10
cmp eax, edi
je 0xd14867
mov ebp, 0xfffffffe
mov eax, dword [esp + 0x10]
test eax, eax
je 0xd14850
push eax
call fcn.00d2c41c
add esp, 4
test esi, esi
je 0xd1485d
push esi
call fcn.00d2c01a
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [0xd4323c]
call edi
xor edx, edx
mov ecx, 0x1f4
div ecx
mov ebx, edx
call edi
xor edx, edx
mov ecx, 0x3e8
div ecx
mov eax, dword [esp + 0x10]
push eax
push ebx
push 1
add edx, esi
push edx
call fcn.00d2c323
add esp, 0x10
jmp 0xd1483f
mov ebp, 0xfffffffd
jmp 0xd1483f
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 8
ret
Function at 0xd16620
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jne 0xd16627
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0xd16704
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd4a170]
inc ecx
sub edx, 8
sub esi, 1
jne 0xd16640
pop edi
test edx, edx
je 0xd1672b
jmp 0xd16710
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xd4a170]
inc ecx
sub edx, 1
jne 0xd16710
not eax
pop esi
ret

Function at 0xd16730
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xd4a170]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0xd4a170]
mov dword [edx + 8], ecx
ret

Function at 0xd16780
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0xd4a170]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0xd4a170]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0xd17b80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0xd17b9e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0xd17b92
cmp dword [edi + 0x7c], ebx
je 0xd17bad
call fcn.00d17f60
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00d178f0
add esp, 0xc
test eax, eax
je 0xd17bd4
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.00d2bf50
mov esi, eax
add esp, 4
cmp esi, ebx
je 0xd17c12
push 0x4000
call fcn.00d2bf50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0xd17c1f
push esi
call fcn.00d2c01a
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0xd17c67
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00d16a40
test eax, eax
jne 0xd17c67
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0xd17c8e
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0xd17c94
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0xd17cd1
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0xd17cd1
call fcn.00d16730
add ebp, 1
jne 0xd17cc0
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x4011c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41e4b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push 0x20
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401247
lea ecx, [ebp - 0x10]
push ecx
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
push esi
push esi
push 0x10
neg edx
lea eax, [ebp - 0x14]
push eax
sbb edx, edx
push esi
and edx, 2
push ecx
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x18]
neg eax
push edx
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 1]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004063a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004063a6
mov esp, ebp
pop ebp
ret

Function at 0x401260
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x41e4b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4012cf
lea eax, [ebp - 0x12c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4012c8
lea ecx, [ebp - 0x108]
push ecx
push edi
call fcn.004147df
add esp, 8
test eax, eax
je 0x4012e1
lea edx, [ebp - 0x12c]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4012a3
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004063a6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x124]
pop edi
xor ecx, ebp
pop esi
call fcn.004063a6
mov esp, ebp
pop ebp
ret
Function at 0x403820
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41e4b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x108]
push esi
mov esi, dword [ebp + 0xc]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x403842
push esi
call fcn.00401260
mov esi, eax
add esp, 4
test esi, esi
jne 0x40386a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004063a6
mov esp, ebp
pop ebp
ret
push edi
push esi
push str.Process_ID:
push 0x41f870
call fcn.00402750
add esp, 8
mov ecx, eax
call fcn.00402b50
push eax
call fcn.004037c0
push 1
call fcn.004011c0
add esp, 8
push esi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x403936
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4038b6
push 0x40
sub eax, edx
push 0x1000
add eax, 0xa
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x403936
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4038e2
lea ecx, [ebp - 0x10c]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x108]
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x403936
push str.LoadLibraryA
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x403936
push 0
push 0
push esi
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x403948
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004063a6
mov esp, ebp
pop ebp
ret
push 0
call fcn.004011c0
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004063a6
mov esp, ebp
pop ebp
ret

Function at 0x4063a6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e4b4]
jne 0x4063b0
repz ret
jmp fcn.0040aa98
Function at 0x4141fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e4b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b0c2
and dword [ebp - 0x14], 0
cmp dword [0x4206fc], 0
mov dword [ebp - 0x18], eax
jne 0x4142af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x414357
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x414357
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4206fc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x420700], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x420704], eax
call edi
push eax
call esi
mov dword [0x42070c], eax
test eax, eax
je 0x4142af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x420708], eax
mov eax, dword [0x420708]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x414308
cmp dword [0x42070c], ecx
je 0x414308
push eax
call esi
push dword [0x42070c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x414308
test ebx, ebx
je 0x414308
call edi
test eax, eax
je 0x4142ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4142ff
test byte [ebp - 8], 1
jne 0x414308
or dword [ebp + 0x10], 0x200000
jmp 0x41433b
mov eax, dword [0x420700]
cmp eax, dword [ebp - 0x18]
je 0x41433b
push eax
call esi
test eax, eax
je 0x41433b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41433b
mov eax, dword [0x420704]
cmp eax, dword [ebp - 0x18]
je 0x41433b
push eax
call esi
test eax, eax
je 0x41433b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4206fc]
call esi
test eax, eax
je 0x414357
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x414359
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004063a6
leave
ret
Function at 0x4063fe
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x406422
xor eax, eax
test eax, eax
je 0x406434
cmp byte [ebp + eax - 0x121], 0x5c
je 0x406434
xor ecx, ecx
jmp 0x406437
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x40a014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x4232c4], 0
push esi
jne 0x40655a
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 0x406534
mov dword [ecx*4 + 0x4232c0], eax
inc ecx
cmp ecx, 0x100
jl 0x40652f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40658b
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 + 0x4232c0]
xor eax, esi
inc ecx
dec edx
jne 0x40656d
pop edi
not eax
pop esi
ret 0xc

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 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x1f9e1f89
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x35c11d47
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10009830
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10009830
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10009830
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10009830
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10009830
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10009830
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10009830
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10009830
push 0xd008
push edi
call fcn.10009830
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10009830
int3

Function at 0x10009830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1000983f
pop dword [ebp - 8]
mov eax, 0x56a5a30b
sub eax, 0x46a50acc
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3bb6f
push 0
mov eax, 0x74dc9d45
sub eax, 0x64db5ce1
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x29d93644
sub ecx, 0x29d8e36a
mov edi, eax
mov edx, 0x10018600
add edx, dword [ebp - 8]
mov esi, 0x21c34d2
xor dword [ebp - 4], 0x38244b07
mov ebx, dword [edx]
mov dword [ebp - 4], 0xe187d443
xor ebx, esi
add dword [ebp - 4], eax
mov dword [edi], ebx
sub dword [ebp - 4], 0x1aa5d5a5
add edi, 4
add edx, 0x5ac7982e
sub edx, 0x5ac7982a
loop 0x10009892
add eax, 0xed61f50f
sub eax, 0xed60b6d4
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4025f0
Capabilities:
Reference google public dns server

Disassembly:
add eax, 0x501784
nop
inc eax
dec esi
add bh, al
add eax, 0x501788
enter 0x4e41, 0

Function at 0x402770
Capabilities:
Reference google public dns server

Disassembly:
movaps xmm0, xmmword [0x4e6bc0]
movdqu xmmword [0x501830], xmm0
mov dword [0x501820], 0x4dcee4
mov dword [0x501824], 0x4e49f8
mov dword [0x501828], 0x4e03b4
mov dword [0x501840], 0x4e4a10
sbb byte [eax], dl
adc byte [edx + 0x4e], cl
add bh, al
add eax, 0x501844
sub byte [esi + ecx*2], al
add bh, al
add eax, 0x501848
test al, 4
dec esi
add bh, al
add eax, 0x50184c
jo 0x40280d
dec esi
add bh, al
add eax, 0x501850
enter 0x4e4a, 0

Function at 0x4027a0
Capabilities:
Reference google public dns server

Disassembly:
sbb byte [eax], dl
adc byte [edx + 0x4e], cl
add bh, al
add eax, 0x501844
sub byte [esi + ecx*2], al
add bh, al
add eax, 0x501848
test al, 4
dec esi
add bh, al
add eax, 0x50184c
jo 0x40280d
dec esi
add bh, al
add eax, 0x501850
enter 0x4e4a, 0
mov dword [0x501854], str.http:__apifr.ldmnq.com_statisticsMnqEvent_svVersionopenidOpenIdmMachineIdevent_keyEventKeyevent_valueEventValueevent_typeEventType
mov dword [0x501858], 0x4e4c50
mov dword [0x50185c], 0x4dfe30
mov dword [0x501860], 0x4dfe30
mov dword [0x501864], 0x4dfe40
mov dword [0x501868], 0x4e0764
pop es
dec esi
add bh, al
add eax, 0x50186c
je 0x40281a
dec esi
add bh, al
add eax, 0x501870
test al, 0x4c
dec esi
add bh, al
add eax, 0x501874
and byte [ebp + 0x4e], cl
add bh, al
add eax, 0x501878
mov al, byte [0xc7004e4d]
add eax, 0x50187c
add byte [eax], cl
dec esi
dec esi
add bh, al
add eax, 0x501880
or byte [esi + 0x4e], 0
mov dword [0x501884], 0x4e4ed8
ret
insb byte es:[edi], dx
sbb byte [eax], dl

Function at 0x407080
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4070a1
mov eax, 0xff
call fcn.00402680
xor byte [esi], al
inc esi
dec ebx
jne 0x407091
pop esi
pop ebx
ret

Function at 0x40d260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d279
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d2b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x40d2b0
lea ebx, [ebx]
cmp esi, edx
jae 0x40d2b4
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x40d2a0
cmp esi, edx
jb 0x40d2bb
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40d620
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x4f84d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x40d760
test edx, edx
je 0x40d760
push edx
push ecx
lea ecx, [ebp - 0x94]
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x94], 0x67452301
mov dword [ebp - 0x90], 0xefcdab89
mov dword [ebp - 0x8c], 0x98badcfe
mov dword [ebp - 0x88], 0x10325476
call fcn.0040c870
lea ecx, [ebp - 0x94]
call fcn.0040c940
xorps xmm0, xmm0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x94]
movdqu xmmword [ebp - 0x27], xmm0
movdqu xmmword [ebp - 0x17], xmm0
call fcn.0040ca10
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x40d6c8
mov eax, dword [esi]
jmp 0x40d6ca
mov eax, esi
lea edx, [ebp - 0x28]
cmp edx, eax
jb 0x40d712
cmp ecx, 0x10
jb 0x40d6da
mov edx, dword [esi]
jmp 0x40d6dc
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [ebp - 0x28]
cmp eax, edx
jbe 0x40d712
cmp ecx, 0x10
jb 0x40d6f1
mov ecx, dword [esi]
jmp 0x40d6f3
mov ecx, esi
push 0x20
lea eax, [ebp - 0x28]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.00407340
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
cmp ecx, 0x20
jae 0x40d723
push dword [esi + 0x10]
mov ecx, esi
push 0x20
call 0x4074a0
cmp dword [esi + 0x14], 0x10
jb 0x40d72d
mov eax, dword [esi]
jmp 0x40d72f
mov eax, esi
push 0x20
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0048db40
add esp, 0xc
mov dword [esi + 0x10], 0x20
cmp dword [esi + 0x14], 0x10
jb 0x40d74d
mov esi, dword [esi]
mov byte [esi + 0x20], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00486203
mov esp, ebp
pop ebp
ret
push 0
push 0x4dbd68
mov ecx, esi
call fcn.00407730
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00486203
mov esp, ebp
pop ebp
ret