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

Disassembly:
mov al, byte [0x5f2018]
sub esp, 0x7d0
test al, al
jne 0x41f741
mov eax, dword [0x5f92ec]
push 0x5c0170
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, 7
call fcn.0054d610
add esp, 0x7d0
ret
push 0x5f2018
push 0x5c0170
lea ecx, [esp + 8]
push 0x5a56c4
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, 0xf
lea ecx, [esp]
call fcn.00537560
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41f773
sub eax, edx
mov edx, dword [0x5f92ec]
push esi
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, esi
jne 0x41f7e8
mov ecx, dword [0x5f92ec]
push 0x3b5
lea eax, [esp + 0x3f0]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea esi, [esp + 0x3ec]
lea eax, [esp + 4]
push ebx
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41f7de
test cl, cl
je 0x41f7da
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41f7de
add eax, 2
add esi, 2
test cl, cl
jne 0x41f7b6
xor eax, eax
jmp 0x41f7e3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
pop ebx
je 0x41f804
mov ecx, dword [0x5f92ec]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, 7
call fcn.0054d610
pop esi
add esp, 0x7d0
ret
Function at 0x41ffd0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
mov dword [0x5c5e38], 0
mov dword [0x5c5e34], 0
mov dword [0x5c5e30], 0
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov ecx, 1
je 0x4201a4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x420035
test esi, esi
je 0x4201c0
mov dword [esi], 0x312e33
pop esi
add esp, 0x94
ret
cmp eax, ecx
jne 0x4200c9
cmp dword [esp + 8], 4
jne 0x4200a1
mov eax, dword [esp + 0xc]
cmp eax, 0x5a
jb 0x420075
test esi, esi
je 0x4201ba
mov dx, word [0x5a5724]
mov word [esi], dx
mov al, byte [0x5a5726]
mov byte [esi + 2], al
mov dword [0x5c5e30], ecx
pop esi
add esp, 0x94
ret
cmp eax, ecx
jb 0x4200a1
test esi, esi
je 0x4201ba
mov dx, word [0x5a5720]
mov word [esi], dx
mov al, byte [0x5a5722]
mov byte [esi + 2], al
mov dword [0x5c5e30], ecx
pop esi
add esp, 0x94
ret
test esi, esi
je 0x4201ba
mov dx, word [0x5a571c]
mov word [esi], dx
mov al, byte [0x5a571e]
mov byte [esi + 2], al
mov dword [0x5c5e30], ecx
pop esi
add esp, 0x94
ret
cmp eax, 2
jne 0x4201a4
mov eax, dword [esp + 8]
cmp eax, 6
jb 0x420104
test esi, esi
je 0x4200f2
mov ecx, dword [str.Vista]
mov dword [esi], ecx
mov dx, word [0x5a5718]
mov word [esi + 4], dx
mov dword [0x5c5e38], 4
pop esi
add esp, 0x94
ret
cmp eax, 5
jb 0x420180
mov eax, dword [esp + 0xc]
cmp eax, 2
jb 0x420134
test esi, esi
je 0x420126
mov eax, dword [str.2003]
mov dword [esi], eax
mov dl, byte [0x5a5710]
mov byte [esi + 4], dl
mov dword [0x5c5e38], ecx
pop esi
add esp, 0x94
ret
cmp eax, ecx
jb 0x42015c
test esi, esi
je 0x42014e
mov ax, word [0x5a5708]
mov word [esi], ax
mov dl, byte [0x5a570a]
mov byte [esi + 2], dl
mov dword [0x5c5e38], ecx
pop esi
add esp, 0x94
ret
test esi, esi
je 0x420172
mov ax, word [0x5a5704]
mov word [esi], ax
mov dl, byte [0x5a5706]
mov byte [esi + 2], dl
mov dword [0x5c5e38], ecx
pop esi
add esp, 0x94
ret
test esi, esi
je 0x420196
mov ax, word [0x5a5700]
mov word [esi], ax
mov dl, byte [0x5a5702]
mov byte [esi + 2], dl
mov dword [0x5c5e34], ecx
pop esi
add esp, 0x94
ret
test esi, esi
je 0x4201ba
mov ax, word [0x5a571c]
mov word [esi], ax
mov dl, byte [0x5a571e]
mov byte [esi + 2], dl
mov dword [0x5c5e30], ecx
pop esi
add esp, 0x94
ret

Function at 0x421150
Capabilities:
Log keystrokes via polling

Disassembly:
push 3
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ah, ah
jns 0x421178
mov eax, dword [0x5cbeb0]
test eax, eax
je 0x421185
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x5cbeb0]
cmp eax, 0xfa
jae 0x42117b
xor eax, eax
ret
mov dword [0x5cbeb0], 0
mov eax, 1
ret
Function at 0x421850
Capabilities:
Enumerate gui resources

Disassembly:
push ecx
push ebx
push ebp
push esi
push 2
mov ebp, ecx
push 0
push ebp
mov ebx, edx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x4218e9
push edi
push ebx
xor eax, eax
push 0x421830
mov ecx, 0x41
mov edi, 0x5c5a10
push esi
rep stosd dword es:[edi], eax
mov dword [0x5c5e3c], eax
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov al, byte [0x5c5a10]
test al, al
pop edi
je 0x4218e2
mov dl, byte [esp + 0x14]
test dl, 4
mov ecx, 0x20
mov eax, ecx
je 0x4218b2
xor eax, eax
xor ecx, ecx
jmp 0x4218cc
test dl, 2
je 0x4218c0
mov eax, 0x20
mov ecx, eax
jmp 0x4218cc
test dl, 1
je 0x4218cc
mov eax, 0x10
mov ecx, eax
push 0
push eax
push ecx
push 1
push 0x5c5a10
push esi
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [esp + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [esp + 0x14]
mov esi, dword [sym.imp.SHELL32.dll_ExtractIconExA]
test al, 2
mov eax, dword [esp + 0xc]
je 0x42190f
test eax, eax
jne 0x42190f
push 1
push eax
lea eax, [esp + 0x14]
push eax
push ebx
push ebp
call esi
mov eax, dword [esp + 0xc]
test byte [esp + 0x14], 1
je 0x42192a
test eax, eax
jne 0x421944
push 1
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
push ebp
call esi
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x421944
mov edx, dword [0x5f92e8]
push ebx
push ebp
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconA]
cmp eax, 1
jne 0x421944
xor eax, eax
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x421d30
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
mov edx, ecx
test edx, edx
push esi
push edi
je 0x421e98
cmp byte [edx], 0
je 0x421e98
xor eax, eax
push eax
mov ecx, 0x40
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push eax
push 0
push 0
push edx
call fcn.00591920
add esp, 0x14
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x130]
rep stosd dword es:[edi], eax
mov esi, 0x5bf2b0
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
je 0x421e7f
add esi, 0xa
cmp esi, 0x5bf396
jl 0x421d87
push 0
push 0
push 3
push 0
push 0
push 0
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x421ddf
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, 2
jne 0x421e7f
push 0xfa
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x421e7f
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.0059c8b7
add esp, 8
test eax, eax
jne 0x421e28
movzx eax, word [esp + 0x12]
cmp eax, 0x2000
je 0x421e7f
cmp eax, 0xf000
je 0x421e7f
push 0x40
lea ecx, [esp + 0x34]
push 0
push ecx
call fcn.005a0f11
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x421e8b
push esi
call fcn.005a0a8c
add esp, 4
test eax, eax
jne 0x421e72
lea edx, [esp + 0xc]
push edx
push esi
call fcn.005a31ce
add esp, 8
test eax, eax
jne 0x421e8b
movzx eax, word [esp + 0x12]
cmp eax, 0x2000
je 0x421e72
cmp eax, 0xf000
jne 0x421e8b
test esi, esi
jl 0x421e7f
push esi
call fcn.005992bf
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
jl 0x421e98
push esi
call fcn.005992bf
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x4ec
push esi
mov esi, ecx
test esi, esi
mov dword [esp + 4], edx
je 0x422019
cmp byte [esi], 0
je 0x422019
push 0x2f
push esi
call fcn.005912e0
add esp, 8
test eax, eax
je 0x421f62
lea ecx, [ecx]
push 0x2f
push esi
mov byte [eax], 0x5c
call fcn.005912e0
add esp, 8
test eax, eax
jne 0x421f50
push 0x5a57f8
push esi
call fcn.005938e0
add esp, 8
test eax, eax
jne 0x422019
lea edx, [esp + 8]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421f80
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x421f91
sub eax, edx
test eax, eax
jle 0x422019
mov cl, byte [esp + eax + 7]
cmp cl, 0x5c
jne 0x421fae
mov byte [esp + eax + 8], 0x2e
jmp 0x421fb8
cmp cl, 0x3a
jne 0x421fbd
mov byte [esp + eax + 8], 0x5c
mov byte [esp + eax + 9], 0
push 0
lea eax, [esp + 0x3f4]
push eax
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.00591920
add esp, 0x14
lea ecx, [esp + 0x3f0]
call fcn.00421d30
test eax, eax
jne 0x422019
lea edx, [esp + 8]
push edx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422019
test al, 0x10
mov al, byte [esp + 4]
je 0x422006
test al, 2
jmp 0x422008
test al, 1
je 0x42200f
mov esi, 1
mov eax, esi
pop esi
add esp, 0x4ec
ret
xor eax, eax
pop esi
add esp, 0x4ec
ret

Function at 0x4221d0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
mov ebx, edx
test bl, 4
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, ecx
je 0x422231
mov edx, 1
call fcn.00421f20
test eax, eax
je 0x422231
push esi
lea eax, [esp + 0x38]
push str._select___s_
push eax
call ebp
mov edx, dword [0x5f92ec]
add esp, 0xc
push 5
push 0x5ee048
lea ecx, [esp + 0x3c]
push ecx
push str.explorer.exe
push str.open
push edx
call edi
cmp eax, 0x20
ja 0x422290
test bl, 2
je 0x42224f
mov eax, dword [0x5f92ec]
push 5
push 0x5ee048
push 0
push esi
push 0
push eax
call edi
cmp eax, 0x20
ja 0x422290
test bl, 1
je 0x4222b7
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0059c8b7
add esp, 8
test eax, eax
je 0x4222a0
mov dword [esp + 0x24], 0
push esi
push str.notepad.exe___s_
lea eax, [esp + 0x3c]
push eax
call ebp
add esp, 0xc
push 0xa
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jbe 0x4222b7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40c
ret
cmp dword [esp + 0x24], 0xe678
jle 0x42226e
push esi
push str.write.exe___s_
lea edx, [esp + 0x3c]
push edx
jmp 0x422279
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40c
ret
Function at 0x4222d0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
mov eax, dword [0x5f92ec]
push ebx
push edi
mov edi, ecx
push eax
mov ebx, edx
mov dword [esp + 0x10], edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4222f3
pop edi
pop ebx
add esp, 0xc
ret
push ebp
push esi
push 1
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
je 0x4223aa
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
test ebp, ebp
je 0x4223a3
push 0xa
push ebp
call fcn.005912e0
mov esi, eax
add esp, 8
test esi, esi
je 0x422338
mov byte [esi], 0
xor eax, eax
mov ecx, 0xf9
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x3b5
stosw word es:[edi], ax
push ebp
push ebx
stosb byte es:[edi], al
call fcn.005911a0
push 0xd
push ebx
call fcn.005912e0
add esp, 0x14
test eax, eax
je 0x422364
mov byte [eax], 0
mov ecx, dword [esp + 0x10]
push 0
mov edx, ebx
call fcn.004d38f0
test eax, eax
je 0x422392
test esi, esi
mov dword [esp + 0x10], eax
je 0x42239b
mov byte [esi], 0xa
mov al, byte [esi + 1]
inc esi
cmp al, 0xd
jne 0x422389
inc esi
cmp byte [esi], 0
je 0x42239b
mov ebp, esi
jmp 0x422324
lea ecx, [esp + 0x10]
call fcn.004d3d60
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x422427
cmp byte [edi], 0
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jne 0x422408
mov esi, 1
push esi
push 0x5ee048
push str._splayq_d.txt
push edi
call ebp
add esp, 0x10
mov edx, esi
mov ecx, edi
call fcn.00421f20
test eax, eax
je 0x422408
inc esi
push esi
push 0x5ee048
push str._splayq_d.txt
push edi
call ebp
add esp, 0x10
mov edx, 1
mov ecx, edi
call fcn.00421f20
test eax, eax
jne 0x4223e6
push 0x40
push 0x5a5888
push edi
call fcn.00591d20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x422431
lea ecx, [esp + 0x10]
call fcn.004d3d60
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x422466
lea esp, [esp]
mov ecx, dword [eax]
push ecx
push 0x5a5880
push ebx
call ebp
push esi
push ebx
call fcn.00593920
mov ecx, dword [esp + 0x24]
add esp, 0x14
call fcn.004d3a10
test eax, eax
mov dword [esp + 0x10], eax
jne 0x422440
push esi
call fcn.00591c49
add esp, 4
pop esi
pop ebp
pop edi
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x423560
Capabilities:
Capture screenshot

Disassembly:
mov ecx, dword [0x5c7408]
xor eax, eax
test ecx, ecx
sete al
push esi
mov esi, dword [0x5f92e4]
test esi, esi
mov dword [0x5c7408], eax
je 0x423595
lea ecx, [ecx]
mov ecx, esi
call fcn.00423470
test eax, eax
jne 0x4235c9
mov esi, dword [esi + 0xe08]
test esi, esi
jne 0x423580
mov eax, dword [0x5c740c]
test eax, eax
je 0x4235b7
mov ecx, dword [0x5f92ec]
push 0x7c
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x5c740c], 0
mov dword [0x5c7408], 0
xor ecx, ecx
pop esi
jmp fcn.0053b590
xor ecx, ecx
pop esi
jmp fcn.0053b590
Function at 0x423cc0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x30
push esi
push edi
mov edi, edx
mov esi, ecx
mov edx, dword [esi + 4]
test edx, edx
mov dword [esp + 8], edi
jne 0x423cde
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 4
mov ecx, dword [esi + 8]
cmp edi, ecx
jge 0x423ceb
mov dword [esp + 8], ecx
mov edi, ecx
mov eax, dword [esi + 0xc]
push ebx
cmp dword [esp + 0x40], eax
push ebp
jge 0x423cfa
mov dword [esp + 0x44], eax
cmp esi, 0x5f8118
jne 0x423d0c
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], eax
mov edi, ecx
cmp edi, 1
jl 0x423d84
mov ebx, dword [esp + 0x44]
cmp ebx, 1
jl 0x423d84
lea eax, [esp + 0x28]
push eax
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [esp + 0x2c], edi
jne 0x423d38
cmp dword [esp + 0x30], ebx
je 0x423e85
mov ecx, dword [0x5f92ec]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
je 0x423d84
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
call ebp
mov ebx, eax
test ebx, ebx
push edi
jne 0x423d68
mov edx, dword [0x5f92ec]
push edx
jmp 0x423d7e
call ebp
mov ebp, eax
test ebp, ebp
jne 0x423db0
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [0x5f92ec]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi + 4]
test eax, eax
je 0x423d92
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
mov dword [esi + 4], 0
mov byte [esi + 0x10], 0
call fcn.0041f0a0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x423dd7
push ebp
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
call ebp
push ebx
call ebp
jmp 0x423d77
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call edi
mov ecx, dword [esi + 4]
push ecx
push ebp
mov dword [esp + 0x20], eax
call edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], 0
jmp 0x423e00
xor edi, edi
mov edx, dword [esi + 0xc]
push 0xcc0020
push 0
push 0
push ebp
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x10]
add edi, eax
cmp edi, ecx
jl 0x423e02
mov ecx, dword [esp + 0x14]
mov edi, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
add ecx, edi
cmp ecx, edx
mov dword [esp + 0x14], ecx
jl 0x423e00
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push ebx
call edi
mov edx, dword [esp + 0x1c]
push edx
push ebp
call edi
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call edi
push ebx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [0x5f92ec]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x30
ret 4
Function at 0x42cd20
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
push esi
push edi
mov esi, edx
call fcn.00561000
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x42cf60
push ebp
push 0x180
push 0x40
push 0x4301
push esi
call fcn.005a0f11
mov ebp, eax
add esp, 0x10
test ebp, ebp
jge 0x42cd64
xor ecx, ecx
call fcn.0041f0a0
pop ebp
pop edi
pop esi
add esp, 0xc
ret
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x180
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push 0x5eef00
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor edx, edx
mov ecx, 0x57c
call fcn.0041f1a0
push eax
push 0x5eef00
call fcn.00591d90
add esp, 8
test eax, eax
mov dword [esp + 0xc], eax
je 0x42cde1
add eax, 4
mov ecx, eax
mov dword [esp + 0xc], eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42cdc0
sub ecx, esi
push ecx
push eax
push ebp
call fcn.0059c74f
push 1
push 0x5a551c
push ebp
call fcn.0059c74f
add esp, 0x18
mov edx, dword [edi + 0x88c]
push ebx
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push ebx
push 0x189
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x42cf4a
jmp 0x42ce10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42cf4a
mov edx, 0x5eef00
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42ce23
cmp byte [0x5eef00], 0x20
mov eax, 0x5eef00
mov dword [esp + 0x10], eax
jne 0x42ce4a
nop
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x20
je 0x42ce40
cmp byte [eax], 0
je 0x42cf28
push 9
push eax
call fcn.005912e0
mov esi, eax
add esp, 8
test esi, esi
je 0x42cf28
mov byte [esi], 0
mov edx, dword [esp + 0x10]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ce74
sub eax, edi
push eax
push edx
push ebp
call fcn.0059c74f
mov al, byte [esi + 1]
add esp, 0xc
inc esi
test al, al
je 0x42cf14
push 9
push esi
mov dword [esp + 0x18], esi
call fcn.005912e0
mov esi, eax
add esp, 8
test esi, esi
je 0x42ceac
mov byte [esi], 0
push 1
push 0x5a5348
push ebp
call fcn.0059c74f
mov edx, dword [esp + 0x1c]
mov eax, edx
add esp, 0xc
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cec5
sub eax, edi
push eax
push edx
push ebp
call fcn.0059c74f
add esp, 0xc
test esi, esi
je 0x42cf14
mov al, byte [esi + 1]
inc esi
test al, al
je 0x42cf14
push 1
push 0x5a5348
push ebp
call fcn.0059c74f
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42cf00
sub eax, edx
push eax
push esi
push ebp
call fcn.0059c74f
add esp, 0xc
push 1
push 0x5a551c
push ebp
call fcn.0059c74f
mov edi, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [edi + 0x88c]
lea eax, [esp + 0x10]
push eax
inc ebx
push ebx
push 0x189
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42ce10
push ebp
call fcn.005992bf
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_SetCursor]
pop ebx
pop ebp
pop edi
pop esi
add esp, 0xc
ret
Function at 0x42d440
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x3f0
push esi
mov esi, ecx
call fcn.004f0af0
test eax, eax
je 0x42d657
mov eax, dword [esi + 0x191c]
push ebx
push ebp
xor ebx, ebx
push edi
lea edi, [esi + 0x191c]
xor ebp, ebp
cmp eax, ebx
mov dword [esi + 0x1920], 2
mov dword [esi + 0x1a3c], ebx
mov dword [esi + 0x1c60], ebx
mov dword [esi + 0x1c64], ebx
mov dword [esi + 0x1a30], ebx
mov dword [esi + 0x1a34], ebx
mov dword [esi + 0x1a38], ebx
jne 0x42d4b5
push edi
push esi
push ebx
push ebx
mov edx, 4
mov ecx, str.Channels_List
call fcn.005677e0
mov dword [edi], eax
mov ebp, 1
mov ecx, dword [edi]
call fcn.00561000
mov edi, eax
cmp edi, ebx
je 0x42d654
mov eax, dword [edi + 0x88c]
push ebx
push ebx
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [edi + 0x6cc]
call fcn.004d3d60
lea ecx, [edi + 0x6b8]
mov dword [esp + 0x10], ecx
call fcn.004d3d60
cmp ebp, ebx
je 0x42d504
mov ecx, dword [edi]
mov edx, 4
call fcn.0049a4f0
mov ecx, dword [edi]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42d51e
mov edx, dword [edi]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x42d52b
xor ecx, ecx
mov dword [edi + 0x724], ebx
call fcn.0053b590
xor edx, edx
mov ecx, 0xdd0
call fcn.0041f1a0
push eax
mov eax, dword [edi]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x5c9d44]
mov ecx, dword [esi]
call fcn.00513bc0
mov ecx, dword [0x5c9d4c]
push ecx
xor edx, edx
mov ecx, 0xdd1
call fcn.0041f1a0
mov ecx, dword [esi]
mov edx, eax
call fcn.00513d20
mov edx, dword [0x5c9d44]
mov ecx, dword [esi]
call fcn.00513bc0
cmp dword [esi + 0x1928], ebx
je 0x42d654
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esi + 0x192c]
push edx
push 0x5c8058
lea eax, [esp + 0x20]
push 0x5a49b4
push eax
call edi
add esp, 0x10
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x1924], eax
je 0x42d654
push ebx
call fcn.00591e16
add esp, 4
mov ecx, eax
call fcn.0053fc10
push eax
lea edx, [esi + 0x1128]
push edx
lea eax, [esp + 0x20]
push 0x5a56c4
push eax
call edi
mov edi, dword [esp + 0x20]
mov ecx, dword [edi]
add esp, 0x10
push ebx
lea edx, [esp + 0x1c]
call fcn.004d38f0
mov dword [edi], eax
lea edi, [esp + 0x18]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x42d610
mov cx, word [0x5a4be8]
mov dl, byte [0x5a4bea]
mov word [edi], cx
lea eax, [esp + 0x18]
mov byte [edi + 2], dl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d632
push ebx
sub eax, edx
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [esi + 0x1924]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x3f0
ret
Function at 0x42ebf0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x5c81a0]
sub esp, 0x3e8
test eax, eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
je 0x42ed6c
lea esp, [esp]
cmp esi, eax
je 0x42ec29
mov eax, dword [eax + 0x890]
test eax, eax
jne 0x42ec10
pop esi
pop ebx
add esp, 0x3e8
ret 8
mov ecx, dword [esi]
push ebp
push edi
call fcn.004f0c00
mov ebp, eax
test ebp, ebp
je 0x42ed6a
mov al, byte [esp + 0x400]
test al, 1
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x42ec94
mov eax, dword [esi + 0x540]
test eax, eax
push ebx
je 0x42ec6b
lea eax, [esi + 0x3f0]
push eax
push str.NOTICE__s_:DCC_Fserve___s__n
lea ecx, [esp + 0x1c]
push ecx
jmp 0x42ec7c
lea edx, [esi + 0x3f0]
push edx
push str.NOTICE__s_:DCC_Chat___s__n
lea eax, [esp + 0x1c]
push eax
call edi
add esp, 0x10
push ebp
xor edx, edx
lea ecx, [esp + 0x14]
call fcn.00569cc0
mov al, byte [esp + 0x400]
test al, 2
je 0x42ecc0
movzx ecx, word [esi + 0x51c]
mov edx, dword [esp + 0x3fc]
push ecx
push edx
lea eax, [esi + 0x3f0]
push eax
lea ecx, [esp + 0x1c]
push 0x5a5c6c
push ecx
call edi
add esp, 0x14
jmp 0x42ed39
test al, 4
je 0x42ecfb
mov edx, dword [esi + 0x52c]
movzx eax, word [esi + 0x51c]
push edx
push eax
lea ecx, [esi + 0x4b8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea edx, [esi + 0x3f0]
push edx
push 0x5a5c44
lea eax, [esp + 0x24]
push eax
jmp 0x42ed34
test al, 8
je 0x42ed6a
mov ecx, dword [esi + 0x530]
movzx edx, word [esi + 0x51c]
push ecx
push edx
lea eax, [esi + 0x4b8]
push eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
push eax
call dword [sym.imp.WSOCK32.dll_htonl]
push eax
lea ecx, [esi + 0x3f0]
push ecx
push 0x5a5c44
lea edx, [esp + 0x24]
push edx
call edi
add esp, 0x18
lea ecx, [esp + 0x10]
xor edx, edx
push ebp
call fcn.00569cc0
mov eax, dword [0x5c9d40]
push eax
xor edx, edx
mov ecx, 0x517
mov dword [0x5bfd5c], 0
call fcn.0041f1a0
mov ecx, dword [esi]
mov edx, eax
call fcn.00513d20
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x3e8
ret 8