joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b10e0
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 0x4b119a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004056fc
mov eax, dword [0x58f620]
cmp byte [eax], 0
je 0x4b114f
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 0x4b1181
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.0040b2f8
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 0x4b11a1
lea eax, [ebp - 0x3f0]
call fcn.00404fb4
ret

Function at 0x4b11a8
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.0040b2f8
add esp, 0x3ec
pop ebx
ret

Function at 0x4b7764
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 [0x58feb4]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4b780a
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 0x4b77a9
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b77e5
jmp 0x4b77ad
pop edx
pop eax
jge 0x4b77e5
mov eax, dword [0x58feb4]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004b215c
mov eax, dword [ebx + 0x104]
test eax, eax
je 0x4b780a
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4b780a
cmp dword [ebx + 0x12c], 0
je 0x4b780a
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00448b64
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 0x4be744
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 0x4be7fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004056fc
mov eax, dword [0x58f620]
cmp byte [eax], 0
je 0x4be7b3
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 0x4be7e5
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.0040b2f8
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 0x4be805
lea eax, [ebp - 0x3f0]
call fcn.00404fb4
ret

Function at 0x4c1a94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4c1aee
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.004c1af8
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 0x4c1af5
ret

Function at 0x4cac08
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045a1b8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.004535e8
pop ebx
ret
Function at 0x4d5250
Capabilities:
Hide graphical window

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

Function at 0x4d5330
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 0x4d54a1
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 0x4d5486
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.0040b2f8
mov dl, 1
mov eax, dword [0x4a0a7c]
call fcn.004a0ad4
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x41ccdc]
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.004a0b50
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4d5483
mov dl, 1
mov eax, dword [0x4a1f84]
call fcn.004a1fec
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, 0x4d54b8
call fcn.004a12b8
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004052c0
xor eax, eax
push ebp
push 0x4d547c
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.004a22ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004d54c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5483
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 0x4d54a8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404fd8
ret
Function at 0x4d6fc0
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 [0x41b8dc]
call fcn.00405ac4
xor eax, eax
push ebp
push 0x4d7104
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5836dc], 0
jne 0x4d7013
mov ecx, dword [0x58f4e8]
mov dl, 1
mov eax, dword [0x408de0]
call fcn.0040e8d8
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, 0x4d7114
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 0x4d70ab
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 0x4d70a4
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.00409cc4
test eax, eax
jne 0x4d70a4
mov ebx, 0x15
jmp 0x4d70b0
mov ebx, 0x10
jmp 0x4d70b0
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 [0x5836dc]
call fcn.004d6ddc
mov eax, dword [ebp - 8]
call fcn.004d6ddc
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 0x4d710b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404fd8
lea eax, [ebp - 0x10]
mov edx, dword [0x41b8dc]
call fcn.00405b94
ret

Function at 0x4de888
Capabilities:
Get common file path

Disassembly:
push esp
push edx
dec edi
bound ebp, qword [edx - 0x75]
rcl byte [ebp - 0x75], 0xec
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 0x4de930
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
and eax, 0x7f
mov eax, dword [eax*4 + 0x5837d4]
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.0040b2f8
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, 0x4de944
call fcn.004053c0
je 0x4de917
mov eax, ebx
mov edx, 0x4de944
call fcn.0040527c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de937
lea eax, [ebp - 0x110]
call fcn.00404fb4
ret
Function at 0x4ded00
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 0x4ded7a
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 0x4ded3f
lea eax, [ebp - 4]
mov edx, 0x4ded90
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 0x4ded81
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x4df310
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 0x4df3aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4df3b8
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 1
je 0x4df349
push 0x4df3b8
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
je 0x4df36d
mov edx, 0x4df3c4
mov eax, ebx
call fcn.004ded00
mov edx, eax
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.004de9e4
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.00409c24
jmp 0x4df38f
mov edx, 0x4df3d0
mov eax, ebx
call fcn.004ded00
mov edx, eax
lea ecx, [ebp - 8]
mov eax, ebx
call fcn.004de9e4
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00409c24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df3b1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404fd8
ret
Function at 0x51e1e0
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 0x51e1e8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x51e3da
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x51e3f0
mov eax, esi
call fcn.0051c058
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00405008
lea ecx, [ebp - 0x10]
mov edx, 0x51e404
mov eax, esi
call fcn.0051c058
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00405008
lea ecx, [ebp - 0x14]
mov edx, 0x51e41c
mov eax, esi
call fcn.0051c058
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00405008
lea ecx, [ebp - 0x18]
mov edx, 0x51e438
mov eax, esi
call fcn.0051c058
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00405008
lea ecx, [ebp - 0x1c]
mov edx, 0x51e454
mov eax, esi
call fcn.0051c058
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00405008
lea ecx, [ebp - 0x24]
mov edx, 0x51e46c
mov eax, esi
call fcn.0051c058
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409d54
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040a43c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x51e484
mov eax, esi
call fcn.0051c058
mov eax, dword [ebp - 0x28]
call fcn.00515afc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x51e494
mov eax, esi
call fcn.0051c058
mov eax, dword [ebp - 0x2c]
call fcn.00515afc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x51e4ac
mov eax, esi
call fcn.0051c058
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040a43c
inc eax
je 0x51e37d
lea ecx, [ebp - 0x34]
mov edx, 0x51e4ac
mov eax, esi
call fcn.0051c058
mov eax, dword [ebp - 0x34]
call fcn.0040a400
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.0040c5ec
fstp qword [ebp - 0x3c]
wait
call fcn.0040c990
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x51e398
lea ecx, [ebp - 0x40]
mov edx, 0x51e4ac
mov eax, esi
call fcn.0051c058
mov eax, dword [ebp - 0x40]
call fcn.00515afc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x51e4bc
mov eax, esi
call fcn.0051c058
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 0x51e3e1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404fd8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404fd8
ret
Function at 0x5251dc
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 0x525236
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.005251cc
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00514768
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00514368
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 0x52523d
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x5255b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x5255cb
add esp, 0xfffffff0
call fcn.004044a0
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x525644
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.005259e4
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.00405008
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x525670
call fcn.004052c0
mov ecx, esi
mov dl, 1
mov eax, dword [0x5253ec]
call fcn.00525e4c
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52564b
lea eax, [ebp - 4]
call fcn.00404fb4
ret

Function at 0x530b48
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 0x530b6a
shr eax, 1
xor eax, 0xedb88320
jmp 0x530b6c
shr eax, 1
dec edx
jne 0x530b58
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x530b51
mov byte [0x592580], 1
pop esi
pop ebx
ret

Function at 0x530b88
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 0x530b9f
call fcn.00530b48
mov eax, edi
dec eax
test eax, eax
jl 0x530bc8
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 0x530ba9
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5331e8
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 0x533219
dec al
je 0x533255
dec al
je 0x533299
dec al
je 0x533304
jmp 0x53338e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x53338e
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 0x533229
jmp 0x53338e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53338e
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 0x533265
jmp 0x53338e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53338e
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 0x5332c7
xor ebp, ebp
jmp 0x5332d8
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 0x5332e1
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 0x5332a9
jmp 0x53338e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x53338e
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 0x53335c
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.00530bd0
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 0x533318
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53a140
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 0x53a1c9
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 0x53a1b3
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040dfd4
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, 0x53a1e0
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 [0x539944]
call fcn.0040e914
call fcn.00404908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a1d0
lea eax, [ebp - 0x1c]
call fcn.00404fb4
ret

Function at 0x53a870
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0053a794
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, 0x53a8d4
call fcn.0053a088
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x53a8c6
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 0x53a8f8
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, edx
mov eax, ebx
call fcn.00405474
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp + 4], eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 4
call fcn.0040379c
cmp dword [esp + 4], 0
je 0x53a94a
mov eax, dword [esp + 4]
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 8], cl
mov cl, byte [edx + 1]
mov byte [esp + 9], cl
mov cl, byte [edx + 2]
mov byte [esp + 0xa], cl
mov al, byte [edx + 3]
mov byte [esp + 0xb], al
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp]
add esp, 0xc
pop ebx
ret
Function at 0x53aa30
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 0x53aa61
mov ecx, dword [0x58fb90]
mov dl, 1
mov eax, dword [0x539944]
call fcn.0040e8d8
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 0x53aa8e
mov ecx, dword [0x58fa94]
mov dl, 1
mov eax, dword [0x539944]
call fcn.0040e8d8
call fcn.00404908
xor eax, eax
push ebp
push 0x53ab0a
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 0x53aae6
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.0053a998
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.0053a870
jmp 0x53ab00
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.0053a374
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ab27
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc