joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b0c9c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b0d56
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004056fc
mov eax, dword [0x58f620]
cmp byte [eax], 0
je 0x4b0d0b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405a5c
mov eax, dword [ebx]
call fcn.00405888
push eax
mov eax, dword [ebx]
call fcn.00405878
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405888
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405a5c
jmp 0x4b0d3d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040b2e0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0d5d
lea eax, [ebp - 0x3f0]
call fcn.00404fb4
ret

Function at 0x4b0d64
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.0040b2e0
add esp, 0x3ec
pop ebx
ret

Function at 0x4b7320
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [0x58febc]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4b73c6
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4b7365
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b73a1
jmp 0x4b7369
pop edx
pop eax
jge 0x4b73a1
mov eax, dword [0x58febc]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004b1d18
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4b73c6
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4b73c6
cmp dword [ebx + 0x12c], 0
je 0x4b73c6
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043d590
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x13c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4be300
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4be3ba
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004056fc
mov eax, dword [0x58f620]
cmp byte [eax], 0
je 0x4be36f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405a5c
mov eax, dword [ebx]
call fcn.00405888
push eax
mov eax, dword [ebx]
call fcn.00405878
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00405888
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405a5c
jmp 0x4be3a1
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040b2e0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00405868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be3c1
lea eax, [ebp - 0x3f0]
call fcn.00404fb4
ret

Function at 0x4c1650
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4c16aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.004c16b4
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c16b1
ret

Function at 0x4ca7c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.00478a4c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00471ec4
pop ebx
ret
Function at 0x4d4e0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4d4e32
push 0
mov eax, dword [ebx + 0x94]
call fcn.00478a4c
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4d4eec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d505d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4d5042
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.0040b2e0
mov dl, 1
mov eax, dword [0x4a0648]
call fcn.004a06a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41cbd8]
call fcn.004040f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004a071c
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4d503f
mov dl, 1
mov eax, dword [0x4a1b60]
call fcn.004a1bc8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, 0x4d5074
call fcn.004a0e84
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004052c0
xor eax, eax
push ebp
push 0x4d5038
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004a1ec8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004d507c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d503f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.00404128
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00404128
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00404128
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5064
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404fd8
ret
Function at 0x4d6a94
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b7d8]
call fcn.00405ac4
xor eax, eax
push ebp
push 0x4d6bd8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5836d8], 0
jne 0x4d6ae7
mov ecx, dword [0x58f4e4]
mov dl, 1
mov eax, dword [0x408dc8]
call fcn.0040e8c0
call fcn.00404908
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040379c
mov eax, ebx
call fcn.00405878
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4d6be8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406f84
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405888
test eax, eax
jle 0x4d6b7f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4d6b78
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040523c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00405224
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409cac
test eax, eax
jne 0x4d6b78
mov ebx, 0x15
jmp 0x4d6b84
mov ebx, 0x10
jmp 0x4d6b84
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5836d8]
call fcn.004d6990
mov eax, dword [ebp - 8]
call fcn.004d6990
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406f9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6bdf
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404fd8
lea eax, [ebp - 0x10]
mov edx, dword [0x41b7d8]
call fcn.00405b94
ret

Function at 0x4de208
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4de2b0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x5837d0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x109]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [ebp - 0x109]
call fcn.0040b2e0
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebx]
call fcn.00405274
mov edx, eax
mov eax, dword [ebx]
mov ecx, 1
call fcn.004054d4
mov eax, dword [ebp - 0x110]
mov edx, 0x4de2c4
call fcn.004053c0
je 0x4de297
mov eax, ebx
mov edx, 0x4de2c4
call fcn.0040527c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de2b7
lea eax, [ebp - 0x110]
call fcn.00404fb4
ret
Function at 0x4de680
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405464
xor eax, eax
push ebp
push 0x4de6fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405274
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x3a
jne 0x4de6bf
lea eax, [ebp - 4]
mov edx, 0x4de710
call fcn.0040527c
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405474
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de701
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x4dec90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ded2a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4ded38
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 1
je 0x4decc9
push 0x4ded38
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
je 0x4deced
mov edx, 0x4ded44
mov eax, ebx
call fcn.004de680
mov edx, eax
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.004de364
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.00409c0c
jmp 0x4ded0f
mov edx, 0x4ded50
mov eax, ebx
call fcn.004de680
mov edx, eax
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.004de364
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00409c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ded31
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404fd8
ret
Function at 0x51d698
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x51d6a0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x51d892
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x51d8a8
mov eax, esi
call fcn.0051b524
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00405008
lea ecx, [ebp - 0x10]
mov edx, 0x51d8bc
mov eax, esi
call fcn.0051b524
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00405008
lea ecx, [ebp - 0x14]
mov edx, 0x51d8d4
mov eax, esi
call fcn.0051b524
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00405008
lea ecx, [ebp - 0x18]
mov edx, 0x51d8f0
mov eax, esi
call fcn.0051b524
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00405008
lea ecx, [ebp - 0x1c]
mov edx, 0x51d90c
mov eax, esi
call fcn.0051b524
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00405008
lea ecx, [ebp - 0x24]
mov edx, 0x51d924
mov eax, esi
call fcn.0051b524
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409d3c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040a424
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x51d93c
mov eax, esi
call fcn.0051b524
mov eax, dword [ebp - 0x28]
call fcn.00514ffc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x51d94c
mov eax, esi
call fcn.0051b524
mov eax, dword [ebp - 0x2c]
call fcn.00514ffc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x51d964
mov eax, esi
call fcn.0051b524
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040a424
inc eax
je 0x51d835
lea ecx, [ebp - 0x34]
mov edx, 0x51d964
mov eax, esi
call fcn.0051b524
mov eax, dword [ebp - 0x34]
call fcn.0040a3e8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c5d4
fstp qword [ebp - 0x3c]
wait
call fcn.0040c978
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x51d850
lea ecx, [ebp - 0x40]
mov edx, 0x51d964
mov eax, esi
call fcn.0051b524
mov eax, dword [ebp - 0x40]
call fcn.00514ffc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x51d974
mov eax, esi
call fcn.0051b524
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00405008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51d899
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404fd8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404fd8
ret
Function at 0x524624
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x52467e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00524614
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00513c68
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00513868
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524685
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x524a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x524a13
add esp, 0xfffffff0
call fcn.004044a0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x524a8c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004040f8
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.00524e2c
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.00405008
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x524ab8
call fcn.004052c0
mov ecx, esi
mov dl, 1
mov eax, dword [0x524834]
call fcn.0052528c
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524a93
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x52ff84
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x592180
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x52ffa6
shr eax, 1
xor eax, 0xedb88320
jmp 0x52ffa8
shr eax, 1
dec edx
jne 0x52ff94
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x52ff8d
mov byte [0x592580], 1
pop esi
pop ebx
ret

Function at 0x52ffc4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x592580], 0
jne 0x52ffdb
call fcn.0052ff84
mov eax, edi
dec eax
test eax, eax
jl 0x530004
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x592180]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x52ffe5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x532624
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x532655
dec al
je 0x532691
dec al
je 0x5326d5
dec al
je 0x532740
jmp 0x5327ca
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5327ca
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, 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 0x532665
jmp 0x5327ca
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5327ca
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5326a1
jmp 0x5327ca
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5327ca
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x532703
xor ebp, ebp
jmp 0x532714
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x53271d
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5326e5
jmp 0x5327ca
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5327ca
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x532798
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, 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 + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0053000c
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x532754
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53957c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x539605
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5925b0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x5395ef
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040dfbc
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x53961c
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x58fdc4]
mov dl, 1
mov eax, dword [0x538d80]
call fcn.0040e8fc
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53960c
lea eax, [ebp - 0x1c]
call fcn.00404fb4
ret

Function at 0x539cac
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.00539bd0
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404330
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x539d10
call fcn.005394c4
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x539d02
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00404330
pop esi
pop ebx
ret

Function at 0x539d34
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00405474
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.0040379c
test ebx, ebx
je 0x539d7f
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x539e5c
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x539e8d
mov ecx, dword [0x58fb90]
mov dl, 1
mov eax, dword [0x538d80]
call fcn.0040e8c0
call fcn.00404908
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x539eba
mov ecx, dword [0x58fa94]
mov dl, 1
mov eax, dword [0x538d80]
call fcn.0040e8c0
call fcn.00404908
xor eax, eax
push ebp
push 0x539f36
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00404330
cmp byte [ebp + 8], 0
je 0x539f12
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00539dc4
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.00539cac
jmp 0x539f2c
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.005397b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539f53
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc