joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140020f60
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x6040], 0
lea rbx, [rcx + 0x6048]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140021007
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140020fba
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140023850
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140009a30
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6040]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6050]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400d3374]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002100f
mov rcx, rbx
call fcn.140009a30
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140021340
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [0x1400d3380]
xor ebp, ebp
cmp byte [rbx + 0x5f98], bpl
jne 0x14002141f
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140021418
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140009240
mov rsi, rax
test rax, rax
je 0x140021418
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400213a4
mov rcx, rax
call fcn.140021570
mov r8, qword [0x1400d3380]
test r8, r8
je 0x14002140f
movsx rdx, word [r8 + 0x6120]
lea rcx, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140021404
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rcx, [r8 + 0x6124]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x611c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f98], 1
movss xmm0, dword [rbx + 0x5f9c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x1400214ae
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f9c], xmm0
jb 0x1400214ae
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1400214a1
mov rax, qword [0x1400d3380]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f9c], ebp
call fcn.1400217d0
lea rdx, [0x140057444]
mov rcx, rdi
mov rsi, rax
call fcn.140009090
mov rdi, rax
test rax, rax
je 0x1400214a8
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400214a8
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f9c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400214d0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400d3380]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140021533
mov qword [rsp], rbx
lea rbx, [0x140051cd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140021513
cmp byte [r8], r9b
jne 0x140021513
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140021500
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5fb0]
not eax
mov r8, qword [r10 + 0x5fb8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002155f
cmp dword [r8 + 8], eax
je 0x140021566
add r8, 0x48
cmp r8, rcx
jne 0x140021550
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140036b00
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400d3380]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140036d1e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140036d1e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x1400d3380]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140036bd4
movsx rdx, word [r8 + 0x6120]
lea rax, [r8 + 0x6124]
mov r9d, dword [r8 + 0x3f88]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140036bc9
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6120], cx
movsx rax, cx
lea rax, [rax*8 + 0x6124]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6118]
test rdi, rdi
je 0x140036bf1
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x140036bf4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140057c18]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140036c37
mov rsi, qword [r8 + 0x90]
jmp 0x140036c3a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140036c65
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400d3380]
mov rcx, qword [rax + 0x4b60]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140036cde
inc rbx
cmp rbx, 5
jl 0x140036cc0
jmp 0x140036d0a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140036d20
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004ea80
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140046d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdi, rdx
mov r14, rcx
call fcn.1400173a0
movss xmm0, dword [rdi + 4]
lea r9, [rsp + 0x30]
movss xmm1, dword [rdi]
lea rdx, [rsp + 0x20]
movss dword [rsp + 0x24], xmm0
lea rcx, str.ColorButton
movss xmm0, dword [rdi + 8]
xor r8d, r8d
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x20], xmm1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x2c], 0x3f800000
call fcn.140049600
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140018040
test al, al
je 0x140046e22
xor ecx, ecx
call fcn.14000d5d0
test al, al
je 0x140046e22
mov qword [rsp + 0x80], rbp
lea rcx, str.ColorPickerPopup
mov rbp, qword [0x1400d3380]
xor edx, edx
mov byte [0x1400d33f8], 1
mov rbx, qword [rbp + 0x4040]
movsxd rax, dword [rbx + 0x108]
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140008fe0
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x4094], eax
jne 0x140046df2
lea r8, str.ColorPickerPopup
mov edx, 0xb
mov ecx, eax
call fcn.1400226f0
test byte [rbp + 0x607c], 4
mov rbp, qword [rsp + 0x80]
je 0x140046e19
mov r8d, esi
lea rdx, str.ColorPickerPopup
lea rcx, str._popup__OpenPopup___s_____0x_08X__n
call fcn.1400222e0
xor edx, edx
mov ecx, esi
call fcn.14001b700
mov rbx, qword [0x1400d3380]
mov eax, dword [rbx + 0x4b38]
cmp dword [rbx + 0x4b28], eax
jg 0x140046e46
mov dword [rbx + 0x4a50], 0
jmp 0x140046f56
mov rbx, qword [rbx + 0x4040]
lea rcx, str.ColorPickerPopup
xor edx, edx
movsxd rax, dword [rbx + 0x108]
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140008fe0
mov rcx, qword [rbx]
mov esi, eax
cmp dword [rcx + 0x4094], eax
jne 0x140046e8e
lea r8, str.ColorPickerPopup
mov edx, 0xb
mov ecx, eax
call fcn.1400226f0
mov ecx, esi
call fcn.14001bc80
test al, al
je 0x140046f56
movss xmm0, dword [rdi]
lea rdx, [rsp + 0x30]
movss xmm1, dword [rdi + 4]
xor r9d, r9d
movss dword [rsp + 0x30], xmm0
mov r8d, 2
movss xmm0, dword [rdi + 8]
mov rcx, r14
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x34], xmm1
mov dword [rsp + 0x3c], 0x3f800000
call fcn.140047200
test al, al
je 0x140046eff
movss xmm0, dword [rsp + 0x30]
movss xmm1, dword [rsp + 0x34]
movss dword [rdi], xmm0
movss xmm0, dword [rsp + 0x38]
movss dword [rdi + 8], xmm0
movss dword [rdi + 4], xmm1
mov rbx, qword [0x1400d3380]
mov rcx, qword [rbx + 0x4040]
cmp qword [rbx + 0x4b68], rcx
jne 0x140046f3a
cmp byte [rbx + 0x4c09], 0
je 0x140046f3a
cmp dword [rbx + 0x4bb8], 0
jne 0x140046f3a
mov eax, dword [rbx + 0x4c0c]
and eax, 0xfffffff2
or eax, 2
mov dword [rbx + 0x4c0c], eax
test dword [rcx + 0x14], 0x1000000
je 0x140046f4a
mov byte [rbx + 0x3f96], 1
call fcn.140016350
mov byte [rbx + 0x3f96], 0
mov rax, qword [0x1400d3380]
mov rcx, qword [rax + 0x4040]
movzx eax, byte [0x1400d33f8]
dec dword [rcx + 0x108]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14004ea80
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x14004e130
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
mov rax, qword [0x140060040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x1400d2be0], 0
mov rbx, qword [0x1400d33d0]
je 0x14004e33d
mov qword [r11 + 8], rsi
xor esi, esi
mov qword [r11 + 0x10], rdi
nop word [rax + rax]
xor edx, edx
lea rcx, [0x140058290]
call qword [sym.imp.USER32.dll_FindWindowA]
mov rdi, rax
test rax, rax
je 0x14004e326
mov rcx, qword [rbx + 0x50]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], esi
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
cmp byte [0x1400d2c5d], sil
je 0x14004e1b4
cmp dword [rsp + 0x40], esi
jne 0x14004e1c7
mov edx, 0x11
jmp 0x14004e1bd
cmp dword [rsp + 0x40], 0x11
jne 0x14004e1c7
xor edx, edx
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
cmp byte [0x1400d2be1], sil
je 0x14004e1ee
cmp eax, 0x80088
je 0x14004e20a
mov r8d, 0x80088
jmp 0x14004e1fb
cmp eax, 0x800a8
je 0x14004e20a
mov r8d, 0x800a8
mov rcx, qword [rbx + 0x50]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [0x1400d2c60]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
je 0x14004e23d
cmp byte [0x1400d3410], sil
jne 0x14004e23d
cmp byte [0x1400d2be1], sil
mov byte [0x1400d3410], 1
sete byte [0x1400d2be1]
jmp 0x14004e260
mov ecx, dword [0x1400d2c60]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
test al, 1
jne 0x14004e260
cmp byte [0x1400d3410], sil
je 0x14004e260
mov byte [0x1400d3410], sil
xorps xmm0, xmm0
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x50]
mov rcx, rdi
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x1400d2bf0]
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14004e2d6
mov eax, dword [0x1400d2bfc]
cmp dword [rsp + 0x5c], eax
jne 0x14004e2d6
mov eax, dword [0x1400d2bf4]
cmp dword [rsp + 0x54], eax
jne 0x14004e2d6
cmp ecx, dword [0x1400d2bf8]
jne 0x14004e2d6
cmp r8d, dword [0x1400d2c00]
jne 0x14004e2d6
cmp r9d, dword [0x1400d2c04]
je 0x14004e30c
movups xmm0, xmmword [rsp + 0x50]
mov rax, rcx
mov dword [rsp + 0x30], 8
shr rax, 0x20
xor edx, edx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
movaps xmmword [0x1400d2bf0], xmm0
mov qword [0x1400d2c00], r8
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400d2be0], sil
jne 0x14004e170
jmp 0x14004e32d
mov byte [0x1400d2be0], sil
mov rsi, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14004ea80
add rsp, 0x70
pop rbx
ret
Function at 0x14004f6d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004f71a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004f71a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004f71a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004f71a
cmp dword [rcx + 0x84], 0xe
jbe 0x14004f71a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004f71c
xor al, al
add rsp, 0x28
ret

Function at 0x180aa3058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x180aa31df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x180aa3089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180aa306f
add dl, dl
jne 0x180aa3096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180aa30f6
xor eax, eax
add dl, dl
jne 0x180aa30a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x180aa31ad
add dl, dl
jne 0x180aa30b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180aa30c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180aa30d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180aa30dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x180aa30ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x180aa307e
mov eax, 1
add dl, dl
jne 0x180aa3106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x180aa3113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180aa30fb
sub eax, ebx
mov ebx, 1
jne 0x180aa314c
mov ecx, 1
add dl, dl
jne 0x180aa312e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180aa313b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180aa3123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180aa307e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x180aa3168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x180aa3175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x180aa315d
cmp eax, 0x7d00
jae 0x180aa319b
cmp eax, 0x500
jb 0x180aa3196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180aa307e
cmp eax, 0x7f
ja 0x180aa319e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x180aa307e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x180aa31d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x180aa307e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x4041e0
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404370
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
cmp byte [rax + 0x65], 0
nop dword [rax]
je 0x40435e
mov rcx, qword [rax + 0x20]
shl rcx, 0xd
cmp rcx, 0x400000
jne 0x40434d
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x1f], 1
movzx ecx, byte [rsp + 0x1f]
mov byte [rax + 0x62], cl
mov rcx, qword [rax + 0x18]
mov rbx, qword [rax + 0x20]
shl rbx, 0xd
mov rdx, rbx
neg rbx
lea rsi, [0x0092bc80]
lock xadd qword [rsi], rbx
nop
mov rbx, rdx
mov rax, rcx
call fcn.004175c0
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx + 0x20]
shl rbx, 0xd
neg rbx
lea rax, [0x0092bc58]
call fcn.0042fa80
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
lea rsi, [0x0092bc78]
lock xadd qword [rsi], rdx
lea rax, [0x0092f540]
call fcn.0042fb40
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
neg rdx
lock xadd qword [rax], rdx
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
neg rdx
lock xadd qword [rax + 0x10], rdx
mov edx, 1
lock xadd qword [rax + 0x270], rdx
mov rdx, qword [rcx + 0x20]
shl rdx, 0xd
lock xadd qword [rax + 0x268], rdx
lea rax, [0x0092f540]
call fcn.0042fc20
mov rcx, qword [rsp + 0x40]
mov rbx, qword [rcx + 0x20]
shl rbx, 0xd
neg rbx
lea rax, [0x0092bb60]
xor ecx, ecx
call fcn.00420da0
movups xmmword [rsp + 0x20], xmm15
lea rcx, [0x004043a0]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00463600
xorps xmm15, xmm15
mov r14, qword [0x0092ae40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x006d9566]
mov ebx, 0x2c
call fcn.00436bc0
lea rax, [0x006d8040]
mov ebx, 0x28
call fcn.00436bc0
nop
mov qword [rsp + 8], rax
call fcn.00463740
mov rax, qword [rsp + 8]
nop
jmp fcn.004041e0
Function at 0x4050e0
Capabilities:
Reference http user-agent string

Disassembly:
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov rdx, qword [rax + 8]
cmp rcx, rdx
jae 0x405141
sub rdx, rcx
cmp rdi, rdx
cmova rdi, rdx
movzx edx, byte [rax + 0x17]
test dl, 0x40
je 0x405128
mov rdx, qword [0x008d4c60]
test rdx, rdx
je 0x40511f
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
jmp 0x405123
xor edx, edx
xor esi, esi
xor r8d, r8d
jmp 0x405151
mov rdx, qword [rax + 0x20]
mov rax, rbx
mov rbx, rdx
call fcn.00405360
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
inc r8
mov rbx, r12
cmp rdx, r8
jle 0x4051e5
mov r9, qword [rsi + r8*8]
mov r10, qword [r9 + 0xd0]
mov r11, qword [r9 + 0xd8]
mov r12, rbx
cmp rbx, r10
jb 0x405179
cmp rbx, r11
jb 0x405193
mov r10, qword [r9 + 0xe0]
mov r11, qword [r9 + 0xe8]
cmp rbx, r10
jb 0x40514b
cmp rbx, r11
jae 0x40514b
jmp 0x4051bc
mov rdx, rbx
sub rbx, r10
sub r10, rdx
mov rdx, qword [r9 + 0x208]
add rcx, rbx
lea rax, [r10 + r12]
mov rbx, rdx
call fcn.00405360
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rdx, rbx
sub rbx, r10
sub r10, rdx
mov rdx, qword [r9 + 0x218]
add rcx, rbx
lea rax, [r10 + r12]
mov rbx, rdx
call fcn.00405360
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rdx, rbx
nop
movabs rsi, 0x800000000000
add rsi, rbx
mov r8, rsi
shr rsi, 0x2a
nop dword [rax]
cmp rsi, 0x40
jae 0x40530a
lea r9, [0x008fd050]
mov rsi, qword [r9 + rsi*8]
shr r8, 0x16
and r8d, 0xfffff
mov r8, qword [rsi + r8*8]
shr rbx, 0xd
and ebx, 0x1ff
mov r9, qword [r8 + rbx*8 + 0x10400]
test byte [rsi], al
test byte [r8], al
nop
mov sil, byte [r9 + 0x63]
cmp sil, 2
je 0x405253
mov rax, rdx
mov rbx, rdi
call fcn.004146a0
jmp 0x4052c3
movups xmmword [rsp + 0x40], xmm15
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x58], xmm15
lea rbx, [0x00405320]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x40]
mov qword [rsp], rax
call fcn.00463600
xorps xmm15, xmm15
mov r14, qword [0x0092ae40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
mov rcx, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x38]
call fcn.004147c0
test rsi, rsi
je 0x4052ef
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
call fcn.00404ce0
test al, al
je 0x4052af
jmp 0x4052f9
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
lea rax, [0x006d6429]
mov ebx, 0x24
call fcn.00436bc0
mov rax, rsi
mov ecx, 0x40
call fcn.00465dc0
nop
int3
Function at 0x405360
Capabilities:
Reference http user-agent string

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
mov rdx, rcx
shr rcx, 6
mov rsi, rcx
shl rcx, 6
nop
nop
sub rdx, rcx
add rdi, rdx
mov qword [rsp + 0x28], rdi
add rbx, rsi
add rcx, rax
mov qword [rsp + 0x30], rcx
xor eax, eax
xor esi, esi
jmp 0x4053a0
add rax, 8
nop
cmp rax, rdi
jae 0x40540a
test rax, 0x3f
jne 0x4053b5
movzx esi, byte [rbx]
inc rbx
jmp 0x4053b7
shr esi, 1
test rdx, rdx
jbe 0x4053c2
add rdx, 0xfffffffffffffff8
jmp 0x40539a
bt esi, 0
jae 0x40539a
mov qword [rsp + 0x18], rax
mov dword [rsp + 0x14], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x20], rdx
mov rdx, qword [rcx + rax]
mov rax, rdx
call fcn.00404ce0
test al, al
jne 0x405414
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
mov esi, dword [rsp + 0x14]
mov rdi, qword [rsp + 0x28]
jmp 0x40539a
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rax, [0x006d6429]
mov ebx, 0x24
call fcn.00436bc0
nop
int3

Function at 0x405660
Capabilities:
Reference http user-agent string

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x405817
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rdx, qword [rax + 0x30]
mov rsi, qword [rdx]
nop
cmp rsi, 0x10000
jae 0x405805
cmp byte [rdx + 0x15], 8
ja 0x4057f1
mov qword [rsp + 0x20], rdx
mov rax, rbx
mul rsi
jo 0x4057de
movabs rdx, 0xffffffffffa0
cmp rax, rdx
ja 0x4057de
nop dword [rax + rax]
test rbx, rbx
jl 0x4057de
mov qword [rsp + 0x48], rbx
test rax, rax
je 0x405775
mov rdx, qword [rsp + 0x20]
cmp qword [rdx + 8], 0
jne 0x405719
add rax, 0x60
xor ebx, ebx
mov ecx, 1
call fcn.0040cfa0
test byte [rax], al
lea rdx, [rax + 0x60]
cmp dword [0x0092b0b0], 0
jne 0x40570b
mov qword [rax + 0x10], rdx
jmp 0x4057a5
lea rdi, [rax + 0x10]
call fcn.00465a20
jmp 0x4057a5
mov qword [rsp + 0x18], rax
lea rax, [0x006bb2e0]
call fcn.0040d960
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x20]
mov ecx, 1
mov rax, qword [rsp + 0x18]
nop
call fcn.0040cfa0
cmp dword [0x0092b0b0], 0
jne 0x405759
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x10], rax
jmp 0x405770
mov rdi, qword [rsp + 0x28]
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov rdi, rcx
call fcn.00465900
mov rcx, rdx
mov rax, rcx
jmp 0x4057a5
mov eax, 0x60
xor ebx, ebx
mov ecx, 1
call fcn.0040cfa0
test byte [rax], al
lea rdi, [rax + 0x10]
cmp dword [0x0092b0b0], 0
jne 0x40579b
mov qword [rax + 0x10], rdi
jmp 0x4057a5
mov rcx, rdi
nop
call fcn.00465a00
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx]
mov word [rax + 0x18], dx
cmp dword [0x0092b0b0], 0
jne 0x4057c2
mov qword [rax + 0x20], rcx
nop
jmp 0x4057cb
lea rdi, [rax + 0x20]
call fcn.00465a00
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
lea rax, [0x00688020]
lea rbx, [0x00742560]
call fcn.00436420
lea rax, [0x006d0357]
mov ebx, 0x17
nop dword [rax]
call fcn.00436bc0
lea rax, [0x006d75ba]
mov ebx, 0x26
call fcn.00436bc0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00463740
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00405660