joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4049a0
Capabilities:
Create thread

Disassembly:
sub esp, 0x44
mov eax, dword [0x44d6b0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x54]
push 3
push 0x4417f0
push esi
mov ebp, ecx
call fcn.0043eb04
add esp, 0xc
xor ebx, ebx
test eax, eax
jne 0x404a20
lea eax, [esi + 3]
push eax
call fcn.0042bbc4
add esp, 4
cmp eax, 0xa
jl 0x404a20
mov dl, byte [0x4417ec]
mov ecx, dword [str.._]
mov eax, esi
mov byte [esp + 0x40], dl
mov dword [esp + 0x3c], ecx
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4049f6
push edi
lea edi, [esp + 0x40]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x404a05
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x40]
pop edi
push ebx
push 0x40000000
push 3
push ebx
push ebx
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp], eax
cmp eax, 0xffffffff
jne 0x404a57
pop esi
mov dword [ebp], ebx
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00429eb3
add esp, 0x44
ret 8
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x58]
and eax, 0xfffff7fd
or eax, 1
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x28], 0x1c
mov dword [esp + 0x2c], esi
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3a], 8
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov edx, dword [ebp]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov eax, 0x4b00
cdq
idiv esi
mov ecx, dword [ebp]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push 1
push ebx
call esi
push ebx
push ebx
push 1
push ebx
mov dword [ebp + 0x14], eax
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
call esi
lea edx, [ebp + 0x2c]
push edx
push ebx
push ebp
push 0x404880
push ebx
push ebx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov dword [ebp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x4c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00429eb3
add esp, 0x44
ret 8
Function at 0x4054c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
lea ecx, [esp + 0x14]
push ecx
push 4
lea ebp, [esi + 0x3e0]
push ebp
push eax
mov dword [esi + 0x3cc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [esp + 0x14], 0
je 0x4055c2
mov eax, dword [ebp]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.00429f70
mov ecx, dword [ebp]
add ecx, ecx
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x3f0], eax
call fcn.00429ed0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0x10
cmp dword [ebp], edi
jle 0x4055a2
jmp 0x405550
mov ecx, dword [esi + 0x3cc]
push 0
lea edx, [esp + 0x18]
push edx
push 4
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push edx
call ebx
mov eax, dword [esi + 0x3f0]
mov ecx, dword [esp + 0x18]
mov dword [eax + edi*4], ecx
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x3cc]
push 1
push 0
lea eax, [edx + edx]
push eax
push ecx
call ebx
inc edi
cmp edi, dword [ebp]
jl 0x405550
mov edx, dword [esi + 0x3cc]
push 0
push 0
push 4
push edx
call ebx
pop ebx
pop edi
mov dword [esi + 0x424], 0
pop esi
pop ebp
ret 8
mov dword [esi + 0x424], edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x405600
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
cmp ebx, dword [esi + 0x3e0]
jge 0x405682
mov eax, dword [esi + 0x3cc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 4
push eax
mov byte [esi + 0x428], 0
mov dword [esi + 0x424], ebx
call edi
dec ebx
test ebx, ebx
jle 0x405681
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0x3cc]
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push eax
call ebp
mov ecx, dword [esi + 0x3cc]
push 1
push 0
push 0xfffffffffffffffc
push ecx
call edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x3cc]
push 1
push 0
lea eax, [edx + edx]
push eax
push ecx
call edi
sub ebx, 1
jne 0x405640
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x407460
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0x3d0]
mov ecx, dword [ecx + 0x3d4]
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
add ecx, ecx
push edi
mov dword [esp + 0x14], ecx
mov edi, eax
mov dword [esp + 0x10], 0x500
mov ecx, edi
mov esi, 0x180
mov edi, edi
mov eax, dword [ecx]
mov ebx, eax
shr ebx, 5
mov ebp, eax
and ebx, 0xffc0f83f
and ebp, 0x7e0f81f
imul ebx, edx
imul ebp, edx
shr eax, 5
and eax, 0x7c0f83f
imul eax, edx
shr ebp, 5
xor ebx, ebp
and ebx, 0x7e0f81f
xor ebx, eax
mov dword [ecx], ebx
add ecx, 4
sub esi, 1
jne 0x407490
add edi, dword [esp + 0x14]
sub dword [esp + 0x10], 1
jne 0x407487
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x4077e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push 0x44146c
push eax
mov esi, ecx
xor ebx, ebx
call fcn.0042aa8f
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4078e9
push edi
push ebp
push 1
lea edi, [esi + 0x3e0]
push 4
push edi
call fcn.0042a9ae
mov eax, dword [edi]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429f70
add esp, 0x14
xor edi, edi
cmp dword [esi + 0x3e0], ebx
mov dword [esi + 0x3e4], eax
jle 0x4078c0
push ebp
push 1
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.0042a9ae
push 1
push 0xfffffffffffffffc
push ebp
call fcn.0042bc59
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429f70
mov ecx, dword [esi + 0x3e4]
mov dword [ecx + edi*4], eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esi + 0x3e4]
push ebp
lea eax, [edx + edx]
mov edx, dword [ecx + edi*4]
push 1
push eax
push edx
call fcn.0042a9ae
add esp, 0x30
push edi
mov ecx, esi
call fcn.004055d0
movsx ecx, bx
cmp ecx, eax
jge 0x4078b7
push edi
mov ecx, esi
call fcn.004055d0
movzx ebx, ax
inc edi
cmp edi, dword [esi + 0x3e0]
jl 0x407844
xor ecx, ecx
movsx eax, bx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00429f70
push ebp
mov dword [esi + 0x3e8], eax
call fcn.0042a692
add esp, 8
pop edi
push 0x500
push 0x300
push 0
push 0
add esi, 0x3f8
push esi
call dword [sym.imp.USER32.dll_SetRect]
pop esi
pop ebp
pop ebx
ret 4
Function at 0x425440
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [0x4506b4], 1
push esi
movzx esi, word [esp + 8]
push esi
jne 0x42545b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x425469
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [esi*4 + 0x44fc48]
je 0x425494
test eax, eax
jne 0x425488
mov dword [esi*4 + 0x44fc48], 1
mov eax, 1
pop esi
ret
cmp eax, 1
jne 0x42549e
mov eax, 2
pop esi
ret
cmp eax, 1
je 0x4254a2
cmp eax, 2
je 0x4254a2
xor eax, eax
pop esi
ret
mov dword [esi*4 + 0x44fc48], 0
mov eax, 3
pop esi
ret
Function at 0x429eb3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d6b0]
jne 0x429ebd
repz ret
jmp fcn.0042c6b8

Function at 0x43666d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00432697
and dword [ebp - 4], 0
cmp dword [0x452c78], 0
mov ebx, eax
jne 0x43671e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4367cf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x448838
push edi
call esi
test eax, eax
je 0x4367cf
push eax
call fcn.00432625
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x452c78], eax
call esi
push eax
call fcn.00432625
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x452c7c], eax
call esi
push eax
call fcn.00432625
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x452c80], eax
call esi
push eax
call fcn.00432625
pop ecx
mov dword [0x452c88], eax
test eax, eax
je 0x43671e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00432625
pop ecx
mov dword [0x452c84], eax
mov eax, dword [0x452c84]
cmp eax, ebx
je 0x436776
cmp dword [0x452c88], ebx
je 0x436776
push eax
call fcn.004326a0
push dword [0x452c88]
mov esi, eax
call fcn.004326a0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x436776
test edi, edi
je 0x436776
call esi
test eax, eax
je 0x43676d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43676d
test byte [ebp - 0xc], 1
jne 0x436776
or dword [ebp + 0x10], 0x200000
jmp 0x4367af
mov eax, dword [0x452c7c]
cmp eax, ebx
je 0x4367af
push eax
call fcn.004326a0
pop ecx
test eax, eax
je 0x4367af
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4367af
mov eax, dword [0x452c80]
cmp eax, ebx
je 0x4367af
push eax
call fcn.004326a0
pop ecx
test eax, eax
je 0x4367af
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452c78]
call fcn.004326a0
pop ecx
test eax, eax
je 0x4367cf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4367d1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c008]
jne 0x40100a
repz ret
jmp fcn.00401839

Function at 0x405c5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403839
and dword [ebp - 4], 0
cmp dword [0x41e1b8], 0
mov ebx, eax
jne 0x405d0b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405dbc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405dbc
push eax
call fcn.004037c7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41e1b8], eax
call esi
push eax
call fcn.004037c7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41e1bc], eax
call esi
push eax
call fcn.004037c7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41e1c0], eax
call esi
push eax
call fcn.004037c7
pop ecx
mov dword [0x41e1c8], eax
test eax, eax
je 0x405d0b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004037c7
pop ecx
mov dword [0x41e1c4], eax
mov eax, dword [0x41e1c4]
cmp eax, ebx
je 0x405d63
cmp dword [0x41e1c8], ebx
je 0x405d63
push eax
call fcn.00403842
push dword [0x41e1c8]
mov esi, eax
call fcn.00403842
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405d63
test edi, edi
je 0x405d63
call esi
test eax, eax
je 0x405d5a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405d5a
test byte [ebp - 0xc], 1
jne 0x405d63
or dword [ebp + 0x10], 0x200000
jmp 0x405d9c
mov eax, dword [0x41e1bc]
cmp eax, ebx
je 0x405d9c
push eax
call fcn.00403842
pop ecx
test eax, eax
je 0x405d9c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405d9c
mov eax, dword [0x41e1c0]
cmp eax, ebx
je 0x405d9c
push eax
call fcn.00403842
pop ecx
test eax, eax
je 0x405d9c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e1b8]
call fcn.00403842
pop ecx
test eax, eax
je 0x405dbc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405dbe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp ebx, 0x182
jne 0x418b4c
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x418b5c
cmp ebx, 0x19f
jne 0x418b5c
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x418b8e
push esi
jmp 0x418b70
lea esi, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00418b20
mov cl, byte [ebp - 4]
mov eax, dword [ebp + 8]
xor byte [edi + eax], cl
inc edi
cmp edi, ebx
jl 0x418b70
pop esi
pop edi
cmp ebx, 0x2d
jne 0x418ba8
mov dword [0x513ea0], 0xa62e7790
mov dword [0x513ea4], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x418bb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x41c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x513d6c]
push ebx
push esi
mov esi, dword [0x513bb4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x418bea
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x41cf60]
call fcn.00418af0
cmp dword [0x513d6c], 0x2f
jne 0x418c05
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.00418b30
add esp, 4
cmp dword [0x513d6c], 0x568
pop esi
pop ebx
jne 0x418c33
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [ebp - 0x808]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x712005c3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x19f17926
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x119f118e
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x11d43c4d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x51de644a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x669c249d
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x16f937a9
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x25fc77b3
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x262a57d1
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x6dda1370
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x100021d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x24
xor eax, eax
push ebx
push ebp
mov dword [esp + 0xe], eax
push esi
lea ecx, [esp + 0xc]
push edi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1a], eax
lea edx, [esp + 0x14]
push ecx
mov dword [esp + 0x22], eax
push edx
push edi
mov word [esp + 0x20], 0
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x1000221f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
mov eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push eax
call ebx
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x16]
mov ebp, dword [sym.imp.WS2_32.dll_ntohs]
push ecx
mov dword [esi + 4], eax
call ebp
xor edx, edx
mov word [esi + 0xa], ax
mov dword [esp + 0x26], edx
lea eax, [esp + 0x10]
mov dword [esp + 0x2a], edx
lea ecx, [esp + 0x24]
push eax
mov dword [esp + 0x32], edx
push ecx
push edi
mov word [esp + 0x30], 0
mov word [esp + 0x3e], dx
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
jne 0x10002288
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 8
mov edx, dword [esp + 0x28]
push edx
call ebx
mov dword [esi], eax
mov eax, dword [esp + 0x26]
push eax
call ebp
mov word [esi + 8], ax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x24
ret 8
Function at 0x10003320
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x101890b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 0x18]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.10084010
mov eax, dword [0x101ecd68]
mov esi, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x28], 0
je 0x1000338d
mov word [esi + 0x2e], 0xffff
mov eax, dword [0x10201328]
test eax, eax
je 0x1000338d
mov ecx, dword [esi]
push ecx
push str.CConnTrack::AddTableItem__SOCKET__d__IsEnablePassEncrypt_
push str.IPG_7587
push 4
push 0x10200a94
call fcn.1008b760
add esp, 0x14
mov edi, dword [esi]
mov esi, dword [ebx + 4]
mov eax, edi
xor edx, edx
shr eax, 4
div esi
mov ecx, dword [ebx]
mov dword [esp + 0x10], edi
test ecx, ecx
mov ebp, edx
je 0x100033c7
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x100033c3
cmp dword [eax + 8], edi
je 0x100033bb
mov eax, dword [eax]
test eax, eax
jne 0x100033ae
jmp 0x100033c3
test eax, eax
jne 0x10003463
test ecx, ecx
jne 0x100033f2
lea edi, [esi*4]
push edi
call fcn.1017c342
mov edx, eax
mov ecx, edi
mov dword [ebx], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 4], esi
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10003429
mov eax, dword [ebx + 0x14]
push 0x6c
lea ecx, [ebx + 0x10]
push eax
push ecx
call fcn.10083160
mov ecx, dword [ebx + 0x14]
lea edx, [ecx + ecx*2]
dec ecx
test ecx, ecx
lea edx, [edx + edx*8]
lea eax, [eax + edx*4 - 0x64]
jl 0x10003429
inc ecx
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov dword [ebx + 0xc], eax
sub eax, 0x6c
dec ecx
jne 0x1000341b
mov edx, dword [ebx + 0xc]
mov ecx, 0x18
mov eax, dword [edx]
lea edi, [edx + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [edx + 8], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [edx + 4], ebp
mov dword [edx + 8], ecx
mov ecx, dword [ebx]
mov eax, edx
mov ecx, dword [ecx + ebp*4]
mov dword [edx], ecx
mov ecx, dword [ebx]
mov dword [ecx + ebp*4], edx
mov esi, dword [esp + 0x30]
lea edi, [eax + 0xc]
mov ecx, 0x18
mov dword [esp + 0x28], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
call fcn.10084070
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x10003750
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x78
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
xor ebx, ebx
mov ecx, 0x17
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x1a], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1e], eax
lea edx, [esp + 0x18]
push ecx
mov dword [esp + 0x26], eax
push edx
push edi
mov word [esp + 0x24], bx
mov word [esp + 0x32], ax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10003900
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.WS2_32.dll_ntohl]
push eax
call ebp
mov ecx, dword [esp + 0x1a]
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
push ecx
mov dword [esp + 0x34], eax
call esi
mov word [esp + 0x36], ax
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push edi
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x10003900
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
mov edx, dword [esp + 0x1a]
mov dword [esp + 0x2c], eax
push edx
call esi
mov edx, dword [esp + 0x1a]
mov ecx, dword [esp + 0x94]
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x90]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call esi
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
mov ecx, 0x101ecd28
call fcn.100129f0
mov cx, word [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa0]
mov ebp, 1
cmp eax, ebx
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x54], bp
mov dword [esp + 0x58], 0xff
mov word [esp + 0x56], cx
mov dword [esp + 0x5c], edx
je 0x100038ac
mov ecx, eax
lea esi, [esp + 0xa0]
mov edx, ecx
lea edi, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa8]
or edx, 0xffffffff
cmp ecx, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
je 0x100038f2
mov eax, dword [esp + 0xac]
and eax, 0xffff
cmp eax, edx
je 0x100038f2
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.10003320
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78
ret 0x24