joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10046b60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10075ce3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100698e5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1006ef4d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.10070469
test eax, eax
je 0x10046c7c
mov ecx, dword [esp + 0x3c]
call fcn.1006ef7a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10046c40
push edi
mov ecx, esi
call fcn.1006c5c8
mov ecx, esi
call fcn.10046e20
cmp dword [esp + 0x38], 1
jne 0x10046c75
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.1006c703
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10048e60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10048e93
push esi
call fcn.1004bfb0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10048e8c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10048f19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10048f02
mov eax, dword [esi + 8]
test eax, eax
je 0x10048eb7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10048efe
cmp eax, 2
je 0x10048f02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10048eaa
cmp eax, 3
je 0x10048edd
cmp eax, 1
jne 0x10048eaa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10048eaa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10048eaa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10048f40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10048f28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10048f40
add esp, 4
pop esi
ret

Function at 0x1006a6c1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1006a6f9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10068768
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10068740
jmp 0x1006a705
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1006bdb6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1006bdf8
call fcn.10071753
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1006bdf8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1006bdef
xor eax, eax
jmp 0x1006be00
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1006be06
pop edi
pop esi
pop ebx
ret 4
Function at 0x413eb4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403a94
xor eax, eax
push ebp
push 0x413f8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x416b14
mov edx, 0x413fa4
call fcn.00403780
cmp dword [0x416b58], 0
jne 0x413ef5
call fcn.00413e20
push 2
push 0
push 0
mov eax, dword [0x416b58]
push eax
call sub.kernel32.dll_SetFilePointer_1
cmp eax, 0xffffffff
jne 0x413f10
call fcn.00413e20
lea edx, [ebp - 0xc]
mov al, byte [0x416b52]
call fcn.00405560
push dword [ebp - 0xc]
push 0x414034
push dword [ebp - 4]
push 0x414040
lea eax, [ebp - 4]
mov edx, 4
call fcn.00403964
mov byte [0x416b52], 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004038a4
push eax
lea eax, [ebp - 4]
call fcn.00403afc
push eax
mov eax, dword [0x416b58]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x413f6f
mov dword [ebp - 8], 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413f94
lea eax, [ebp - 0xc]
call fcn.0040372c
lea eax, [ebp - 4]
call fcn.0040372c
inc ebx

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x40176d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
cmp eax, 3
ja case.default.0x401737
push esi
push edi
jmp dword [eax*4 + 0x401848]
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x40183e
nop dword [eax + eax]
mov eax, dword [ebp + 8]
mov ecx, ebx
add eax, esi
push eax
call fcn.00401a10
add esi, 0x10
cmp esi, edi
jl 0x401750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x40183e
mov edi, dword [ebp + 8]
lea eax, [ecx - 1]
shr eax, 4
add edi, 8
inc eax
mov dword [ebp + 0xc], eax
nop dword [eax + eax]
movups xmm0, xmmword [edi - 8]
lea esi, [edi - 8]
mov ecx, ebx
push esi
movups xmmword [ebp - 0x10], xmm0
call fcn.00401a10
mov ecx, dword [ebp + 0x10]
lea edi, [edi + 0x10]
movups xmm0, xmmword [ebp - 0x10]
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [edi - 0x14], eax
mov eax, dword [ecx + 8]
xor dword [edi - 0x10], eax
mov eax, dword [ecx + 0xc]
xor dword [edi - 0xc], eax
sub dword [ebp + 0xc], 1
movups xmmword [ecx], xmm0
jne 0x401790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x40183e
mov esi, dword [ebp + 8]
lea eax, [ecx - 1]
mov edi, dword [ebp + 0x10]
add esi, 8
shr eax, 4
inc eax
mov dword [ebp + 0xc], eax
nop
movups xmm0, xmmword [esi - 8]
push edi
mov ecx, ebx
movups xmmword [ebp - 0x10], xmm0
call fcn.00401480
mov eax, dword [edi]
lea esi, [esi + 0x10]
xor dword [esi - 0x18], eax
mov eax, dword [edi + 4]
xor dword [esi - 0x14], eax
mov eax, dword [edi + 8]
xor dword [esi - 0x10], eax
mov eax, dword [edi + 0xc]
xor dword [esi - 0xc], eax
sub dword [ebp + 0xc], 1
movups xmm0, xmmword [ebp - 0x10]
movups xmmword [edi], xmm0
jne 0x4017f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4017d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xc]
cmp eax, 3
ja case.default.0x401737
push esi
push edi
jmp dword [eax*4 + 0x401848]
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
jle 0x40183e
nop dword [eax + eax]
mov eax, dword [ebp + 8]
mov ecx, ebx
add eax, esi
push eax
call fcn.00401a10
add esi, 0x10
cmp esi, edi
jl 0x401750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x40183e
mov edi, dword [ebp + 8]
lea eax, [ecx - 1]
shr eax, 4
add edi, 8
inc eax
mov dword [ebp + 0xc], eax
nop dword [eax + eax]
movups xmm0, xmmword [edi - 8]
lea esi, [edi - 8]
mov ecx, ebx
push esi
movups xmmword [ebp - 0x10], xmm0
call fcn.00401a10
mov ecx, dword [ebp + 0x10]
lea edi, [edi + 0x10]
movups xmm0, xmmword [ebp - 0x10]
mov eax, dword [ecx]
xor dword [esi], eax
mov eax, dword [ecx + 4]
xor dword [edi - 0x14], eax
mov eax, dword [ecx + 8]
xor dword [edi - 0x10], eax
mov eax, dword [ecx + 0xc]
xor dword [edi - 0xc], eax
sub dword [ebp + 0xc], 1
movups xmmword [ecx], xmm0
jne 0x401790
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x40183e
mov esi, dword [ebp + 8]
lea eax, [ecx - 1]
mov edi, dword [ebp + 0x10]
add esi, 8
shr eax, 4
inc eax
mov dword [ebp + 0xc], eax
nop
movups xmm0, xmmword [esi - 8]
push edi
mov ecx, ebx
movups xmmword [ebp - 0x10], xmm0
call fcn.00401480
mov eax, dword [edi]
lea esi, [esi + 0x10]
xor dword [esi - 0x18], eax
mov eax, dword [edi + 4]
xor dword [esi - 0x14], eax
mov eax, dword [edi + 8]
xor dword [esi - 0x10], eax
mov eax, dword [edi + 0xc]
xor dword [esi - 0xc], eax
sub dword [ebp + 0xc], 1
movups xmm0, xmmword [ebp - 0x10]
movups xmmword [edi], xmm0
jne 0x4017f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx + 0xc]
cmp ecx, 3
ja case.default.0x4018a7
push esi
jmp dword [ecx*4 + 0x401a00]
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x4019ec
nop dword [eax]
lea eax, [edi + esi]
mov ecx, ebx
push eax
call fcn.00401480
add esi, 0x10
cmp esi, dword [ebp + 0xc]
jl 0x4018c0
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jle 0x4019ec
dec eax
add edi, 8
shr eax, 4
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
lea esi, [edi - 8]
xor dword [esi], eax
mov ecx, ebx
mov eax, dword [ebp - 0x10]
xor dword [edi - 4], eax
mov eax, dword [ebp - 0xc]
xor dword [edi], eax
mov eax, dword [ebp - 8]
xor dword [edi + 4], eax
push esi
call fcn.00401480
sub dword [ebp - 0x18], 1
lea edi, [edi + 0x10]
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x14], xmm0
jne 0x401903
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jle 0x4019ec
lea esi, [edi + 8]
lea edi, [eax - 1]
shr edi, 4
inc edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00401480
mov eax, dword [ebp - 0x14]
lea esi, [esi + 0x10]
xor dword [esi - 0x18], eax
mov eax, dword [ebp - 0x10]
xor dword [esi - 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [esi - 0xc], eax
movups xmm0, xmmword [esi - 0x18]
movups xmmword [ebp - 0x14], xmm0
sub edi, 1
jne 0x401963
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret 0xc
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0xc]
movups xmmword [ebp - 0x14], xmm0
test eax, eax
jle 0x4019ec
lea esi, [edi + 8]
lea edi, [eax - 1]
shr edi, 4
inc edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00401480
mov eax, dword [ebp - 0x14]
lea esi, [esi + 0x10]
xor dword [esi - 0x18], eax
mov eax, dword [ebp - 0x10]
xor dword [esi - 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [esi - 0xc], eax
sub edi, 1
jne 0x4019c1
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401fa0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push dword [esi]
push dword [ebp + 8]
push dword [esi + 0x18]
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [esi + 4]
add esp, 0xc
cmp edi, dword [esi + 0x14]
jge 0x4020b2
push ebx
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [esi + 0x18]
lea ebx, [edi*4]
mov eax, dword [ecx + ebx - 4]
mov dword [ecx + ebx], eax
mov eax, edi
cdq
idiv dword [esi + 4]
test edx, edx
jne 0x402047
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + ebx]
ror eax, 8
mov dword [ecx + ebx], eax
mov ecx, dword [esi + 0x18]
add ecx, ebx
movzx eax, byte [ecx]
movzx eax, byte [eax + str.cw]
mov byte [ecx], al
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 1], al
movzx eax, byte [ecx + 2]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 2], al
movzx eax, byte [ecx + 3]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 3], al
mov eax, edi
cdq
idiv dword [esi + 4]
mov ecx, dword [esi + 0x18]
mov eax, dword [eax*4 + 0x418c5c]
xor dword [ecx + ebx], eax
jmp 0x402099
cmp dword [esi], 0x20
jne 0x402099
mov eax, edi
and eax, 0x80000003
jns 0x40205c
dec eax
or eax, 0xfffffffc
add eax, 1
jne 0x402099
mov ecx, dword [esi + 0x18]
add ecx, ebx
movzx eax, byte [ecx]
movzx eax, byte [eax + str.cw]
mov byte [ecx], al
movzx eax, byte [ecx + 1]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 1], al
movzx eax, byte [ecx + 2]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 2], al
movzx eax, byte [ecx + 3]
movzx eax, byte [eax + str.cw]
mov byte [ecx + 3], al
mov ecx, dword [esi + 0x18]
mov eax, edi
sub eax, dword [esi + 4]
inc edi
mov eax, dword [ecx + eax*4]
xor dword [ecx + ebx], eax
cmp edi, dword [esi + 0x14]
jl 0x401fd0
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x4020c0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx eax, byte [edx + 0xf]
mov dword [ebp - 4], eax
movzx ebx, byte [edx]
movzx edi, byte [edx + 0xa]
mov cl, byte [eax + str.cw]
movzx esi, byte [edx + 5]
mov al, byte [ebx + 0x418660]
mov ah, byte [edi + str.cw]
mov dl, byte [ebx + str.cw]
xor al, byte [esi + 0x418760]
xor al, ah
xor al, cl
mov byte [ebp - 0x14], al
mov al, byte [esi + 0x418660]
xor al, byte [edi + 0x418760]
xor al, cl
mov cl, byte [esi + str.cw]
xor al, dl
mov esi, dword [ebp - 4]
mov byte [ebp - 0x13], al
mov al, byte [edi + 0x418660]
xor al, byte [esi + 0x418760]
xor al, cl
xor al, dl
mov edx, dword [ebp + 8]
mov byte [ebp - 0x12], al
mov al, byte [ebx + 0x418760]
xor al, byte [esi + 0x418660]
movzx edi, byte [edx + 4]
xor al, ah
movzx esi, byte [edx + 9]
xor al, cl
movzx ebx, byte [edx + 0xe]
mov byte [ebp - 0x11], al
movzx eax, byte [edx + 3]
mov dword [ebp - 4], eax
mov ch, byte [ebx + str.cw]
mov dl, byte [edi + str.cw]
mov cl, byte [eax + str.cw]
mov al, byte [edi + 0x418660]
xor al, byte [esi + 0x418760]
xor al, cl
xor al, ch
mov byte [ebp - 0x10], al
mov al, byte [esi + 0x418660]
xor al, byte [ebx + 0x418760]
xor al, dl
xor al, cl
mov cl, byte [esi + str.cw]
mov esi, dword [ebp - 4]
mov byte [ebp - 0xf], al
mov al, byte [esi + 0x418760]
xor al, byte [ebx + 0x418660]
xor al, cl
xor al, dl
mov edx, dword [ebp + 8]
mov byte [ebp - 0xe], al
mov al, byte [edi + 0x418760]
xor al, byte [esi + 0x418660]
movzx ebx, byte [edx + 8]
xor al, cl
movzx edi, byte [edx + 0xd]
xor al, ch
movzx esi, byte [edx + 2]
mov byte [ebp - 0xd], al
movzx eax, byte [edx + 7]
mov dl, byte [ebx + str.cw]
mov dword [ebp - 4], eax
mov cl, byte [eax + str.cw]
mov al, byte [ebx + 0x418660]
xor al, byte [edi + 0x418760]
mov ah, byte [esi + str.cw]
xor al, ah
xor al, cl
mov byte [ebp - 0xc], al
mov al, byte [esi + 0x418760]
xor al, byte [edi + 0x418660]
xor al, dl
xor al, cl
mov cl, byte [edi + str.cw]
mov byte [ebp - 0xb], al
mov al, byte [esi + 0x418660]
mov esi, dword [ebp - 4]
xor al, byte [esi + 0x418760]
xor al, cl
xor al, dl
mov byte [ebp - 0xa], al
mov al, byte [ebx + 0x418760]
xor al, byte [esi + 0x418660]
xor al, ah
xor al, cl
mov ecx, dword [ebp + 8]
mov byte [ebp - 9], al
movzx eax, byte [ecx + 0xb]
movzx edi, byte [ecx + 0xc]
movzx esi, byte [ecx + 6]
movzx ecx, byte [ecx + 1]
mov bl, byte [eax + str.cw]
mov dl, byte [edi + str.cw]
mov dword [ebp - 4], eax
mov ah, byte [esi + str.cw]
mov al, byte [ecx + 0x418760]
xor al, byte [edi + 0x418660]
xor al, ah
xor al, bl
mov byte [ebp - 8], al
mov al, byte [ecx + 0x418660]
xor al, byte [esi + 0x418760]
mov cl, byte [ecx + str.cw]
xor al, dl
xor al, bl
mov byte [ebp - 7], al
mov al, byte [esi + 0x418660]
mov esi, dword [ebp - 4]
xor al, byte [esi + 0x418760]
xor al, cl
xor al, dl
mov edx, dword [ebp + 8]
mov byte [ebp - 6], al
mov al, byte [edi + 0x418760]
xor al, byte [esi + 0x418660]
xor al, cl
xor al, ah
mov byte [ebp - 5], al
movups xmm0, xmmword [ebp - 0x14]
pop edi
pop esi
movups xmmword [edx], xmm0
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4053e0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41696c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x20]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.00407e20
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x90], 0x2710
mov dword [ebp - 0x8c], 0
call fcn.00408520
push 0xa
push str.User_Agent
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
call fcn.00404670
push 0x72
push str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_67.0.3396.99_Safari_537.36
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 2
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0xf
mov byte [ebp - 0xac], 0
call fcn.00404670
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc4]
push eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.00404f80
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00408510
mov eax, dword [ebp - 0x90]
mov ecx, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x94], ecx
mov edi, dword [eax + 4]
mov esi, edi
cmp byte [edi + 0xd], 0
jne 0x405537
nop dword [eax]
nop word [eax + eax]
push dword [esi + 8]
lea ecx, [ebp - 0x90]
call fcn.004056c0
mov esi, dword [esi]
lea ecx, [edi + 0x10]
call fcn.00405090
push 0x40
push edi
call fcn.0040fd80
add esp, 8
mov edi, esi
cmp byte [esi + 0xd], 0
je 0x405500
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x90]
push 0x40
mov dword [eax], ecx
mov eax, dword [ebp - 0x90]
mov dword [eax + 8], ecx
push dword [ebp - 0x90]
mov dword [ebp - 0x8c], 0
call fcn.0040fd80
add esp, 8
mov byte [ebp - 4], 1
lea eax, [ebp - 0xc4]
push fcn.00405090
push 1
push 0x30
push eax
call fcn.0040fdb1
push 0
lea ecx, [ebp - 0x85]
call fcn.00409160
lea eax, [ebp - 0x85]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408580
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.00408550
push 0x70
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x14]
push eax
call fcn.004081f0
mov eax, dword [ebp - 0x84]
add eax, 0xffffff38
cmp eax, 0x63
ja 0x4055ed
cmp dword [ebp - 0x70], 0
jbe 0x4055ed
lea eax, [ebp - 0x80]
mov ecx, ebx
push eax
call fcn.004052b0
mov bl, 1
jmp 0x4055ef
xor bl, bl
lea ecx, [ebp - 0x84]
call fcn.00405120
lea ecx, [ebp - 0x14]
call fcn.004081d0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x405638
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40562e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40562e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fd80
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret