joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d5c0
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x49d620
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x49d620
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x49d620
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x49d620
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x49d660
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x49dc00
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.0049d630
mov eax, dword [ebx + 0xa8]
xor edi, edi
cmp eax, edi
je 0x49dc20
push eax
call fcn.0050f620
add esp, 4
mov eax, dword [ebx + 0xb0]
cmp eax, edi
je 0x49dc33
push eax
call fcn.0050f620
add esp, 4
mov eax, dword [ebx + 0xc0]
cmp eax, edi
je 0x49dc4a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc0], edi
mov esi, dword [esp + 0x18]
mov dword [ebx + 0xb0], edi
cmp esi, 0xd
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0x94], edi
mov dword [ebx + 0x80], edi
mov dword [ebx + 0x74], edi
jle 0x49dd1f
mov ebp, dword [esp + 0x14]
cmp byte [ebp], 0x47
jne 0x49dd1f
cmp byte [ebp + 1], 0x49
jne 0x49dd1f
cmp byte [ebp + 2], 0x46
jne 0x49dd1f
cmp byte [ebp + 3], 0x38
jne 0x49dd1f
mov al, byte [ebp + 4]
cmp al, 0x37
je 0x49dca9
cmp al, 0x39
jne 0x49dd1f
cmp byte [ebp + 5], 0x61
jne 0x49dd1f
xor eax, eax
xor ecx, ecx
mov ax, word [ebp + 6]
xor edx, edx
mov dword [ebx + 0xd4], eax
mov cx, word [ebp + 8]
mov dword [ebx + 0xd8], ecx
mov dl, byte [ebp + 0xb]
mov dword [ebx + 0x70], edx
mov cl, byte [ebp + 0xa]
test cl, 0x80
je 0x49dd4e
and ecx, 7
mov eax, 1
inc ecx
shl eax, cl
mov dword [ebx + 0x80], eax
lea eax, [eax + eax*2]
push eax
call fcn.0050f5f7
mov ecx, dword [ebx + 0x80]
add esp, 4
mov dword [ebx + 0xa8], eax
lea ecx, [ecx + ecx*2]
lea edx, [ecx + 0xd]
cmp esi, edx
jg 0x49dd28
push eax
call fcn.0050f620
add esp, 4
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0x80], edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
mov edi, eax
mov eax, ecx
lea esi, [ebp + 0xd]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x80]
mov esi, dword [esp + 0x18]
lea ecx, [eax + ebp]
lea ebp, [ecx + eax*2 + 0xd]
jmp 0x49dd51
add ebp, 0xd
mov eax, dword [ebx + 0x80]
lea edx, [eax + eax*2]
sub esi, edx
lea eax, [esi - 0xd]
push eax
mov dword [ebx + 0x74], eax
call fcn.0050f5f7
mov ecx, dword [ebx + 0x74]
mov dword [ebx + 0xb0], eax
mov dword [ebx + 0xb4], eax
mov edi, eax
mov eax, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0xe8]
xor esi, esi
cmp eax, esi
mov dword [ebx + 0xcc], esi
jne 0x49de16
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, ebx
mov dword [ebx + 0xa4], eax
call fcn.0049de30
mov edx, dword [ebx + 0xa4]
mov dword [ebx + 0xc0], eax
mov eax, dword [ebx + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebx + 0x74]
mov edx, dword [ebx + 0x94]
dec ecx
xor eax, eax
cmp edx, ecx
mov dword [ebx + 0xa4], esi
setge al
cmp eax, esi
mov dword [ebx + 0xcc], eax
jne 0x49de16
mov eax, dword [ebx + 0xc0]
cmp eax, esi
je 0x49de04
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc0], esi
mov edx, dword [ebx + 0xb0]
mov dword [ebx + 0x94], esi
mov dword [ebx + 0xb4], edx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 8
Function at 0x49eed0
Capabilities:
Reference http user-agent string

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x49eeeb
cmp edi, 1
je 0x49eeeb
cmp edi, 3
je 0x49eef0
cmp edi, 2
jne 0x49ef45
cmp edi, 3
jne 0x49ef1f
mov eax, dword [esi + 0xbc]
cmp eax, 5
jne 0x49ef15
mov ecx, esi
call fcn.0049d630
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
mov ecx, esi
call fcn.0049d5c0
jmp 0x49ef1f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xb8]
cmp dword [esi + 0xd0], edi
je 0x49ef45
mov eax, dword [esi + 0x1c]
push 0
push 0
push eax
mov dword [esi + 0xd0], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
ret 4

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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x49efe5
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xd4]
sub edx, ecx
cmp edx, eax
jne 0x49ef9b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
sub ecx, edx
mov edx, dword [esi + 0xd8]
cmp ecx, edx
je 0x49efe5
mov edx, dword [esi + 0xd8]
push edx
push eax
push 0
lea eax, [esp + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi]
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
call dword [edx + 0x60]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
push 0x16
push ecx
mov ecx, dword [esp + 0xc]
sub edx, ecx
mov ecx, esi
push edx
push 0
push 0
push 0
call fcn.00513d5b
pop esi
add esp, 0x10
ret
Function at 0x49f760
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esi + 0x20]
imul eax, edi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
jne 0x49f787
pop edi
pop esi
ret
mov ecx, edi
mov edx, eax
shl ecx, 5
add eax, ecx
test edi, edi
jle 0x49f7a3
mov ecx, edx
mov dword [ecx + 4], esi
mov dword [ecx], eax
add eax, esi
add ecx, 0x20
dec edi
jne 0x49f796
pop edi
mov eax, edx
pop esi
ret

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

Disassembly:
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
test eax, eax
jne 0x49f7de
or eax, 0xffffffff
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
push 0x30000
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push 0xffffffffffffffff
push eax
call dword [sym.imp.WINMM.dll_waveOutOpen]
neg eax
sbb eax, eax
and al, 0xfe
inc eax
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e738
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp eax, ebx
jne 0x49f868
call fcn.0049f920
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov al, byte [esp + 0x24]
push esi
push edi
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push 0x960878
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov eax, dword [0x960894]
cmp eax, ebx
je 0x49f8c1
mov ecx, dword [0x960898]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x49f8c1
mov edx, dword [eax + esi*4]
mov eax, dword [esp + 0x14]
add edx, 0x20
lea ecx, [esp + 0xc]
push edx
push 1
push eax
call fcn.0048c360
inc esi
jmp 0x49f88f
push 0x960878
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0049f920
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x49f8f9
mov ecx, dword [esp + 0x14]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x49f8f9
mov edx, dword [eax + esi*4]
push 0xffffffffffffffff
push edx
call edi
inc esi
jmp 0x49f8d9
push eax
call fcn.0050f620
mov ecx, dword [esp + 0x20]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

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

Disassembly:
push esi
push edi
push 0x960878
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
xor esi, esi
mov eax, dword [0x960894]
test eax, eax
je 0x49f959
mov ecx, dword [0x960898]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jae 0x49f959
mov edx, dword [eax + esi*4]
mov eax, dword [edx + 0x2c]
push eax
call edi
inc esi
jmp 0x49f935
push 0x960878
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
ret
Function at 0x4a0ad0
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x24
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 8
lea edi, [esi + 0x44]
push edi
push eax
call fcn.004f1240
mov eax, dword [edi]
mov ecx, 0x38
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
jb 0x4a0b00
mov ecx, 0x78
sub ecx, eax
push ecx
push 0x9441b4
mov ecx, esi
call fcn.004f1380
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.004f1380
lea edx, [esi + 0x4c]
push 0x10
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.004f1240
mov ebx, dword [esp + 0x38]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x38], 0
mov byte [ebx], 0
mov ecx, dword [esp + 0x38]
mov al, byte [esp + ecx + 0x24]
test al, al
jne 0x4a0b57
mov edi, 0x9441fc
jmp 0x4a0b81
cmp al, 0xf
ja 0x4a0b68
and eax, 0xff
push eax
push 0x9441f8
jmp 0x4a0b73
and eax, 0xff
push eax
push 0x9441f4
lea eax, [esp + 0x20]
push eax
call ebp
add esp, 0xc
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
mov ecx, edx
and ecx, 3
inc eax
cmp eax, 0x10
mov dword [esp + 0x38], eax
rep movsb byte es:[edi], byte [esi]
jl 0x4a0b44
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
Function at 0x4a8720
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
push 0x5a
push esi
mov dword [esp + 0x18], eax
call edi
fild dword [esp + 0x10]
push 0x6e
push esi
mov dword [esp + 0x24], eax
fstp qword [esp + 0x28]
call edi
mov dword [esp + 0x10], eax
push 0x6f
fild dword [esp + 0x14]
push esi
fdiv qword [esp + 0x28]
fstp qword [esp + 0x40]
fild dword [esp + 0x24]
fstp qword [esp + 0x18]
call edi
mov dword [esp + 0x1c], eax
push 0x70
fild dword [esp + 0x20]
push esi
fdiv qword [esp + 0x18]
fstp qword [esp + 0x30]
call edi
mov dword [esp + 0x1c], eax
push 0x71
fild dword [esp + 0x20]
push esi
fdiv qword [esp + 0x28]
fstp qword [esp + 0x48]
call edi
mov dword [esp + 0x1c], eax
push 8
fild dword [esp + 0x20]
push esi
fdiv qword [esp + 0x18]
fstp qword [esp + 0x38]
call edi
mov dword [esp + 0x1c], eax
push 0xa
fild dword [esp + 0x20]
push esi
fdiv qword [esp + 0x28]
fstp qword [esp + 0x50]
call edi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push 5
push 3
push eax
fdiv qword [esp + 0x1c]
push ecx
fsubr qword [esp + 0x38]
fsub qword [esp + 0x40]
fstp qword [esp + 0x30]
call fcn.004a8560
fstp qword [esp + 8]
add esp, 8
call fcn.004a8500
mov esi, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
push 5
push 3
mov dword [esi], eax
mov eax, dword [esp + 0x38]
push edx
push eax
call fcn.004a8560
fstp qword [esp + 0x10]
add esp, 0x10
call fcn.004a8500
mov ecx, dword [esp + 0x4c]
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x48]
push 5
push 3
push ecx
push edx
mov dword [edi], eax
call fcn.004a8560
fstp qword [esp + 0x10]
add esp, 0x10
call fcn.004a8530
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x38]
push 5
push 3
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
push eax
push ecx
call fcn.004a8560
fstp qword [esp + 0x10]
add esp, 0x10
call fcn.004a8530
fld qword [esp + 0x40]
fsub qword [esp + 0x50]
mov edx, dword [ebp + 0x20]
add esp, 8
fsub qword [esp + 0x40]
push 5
push 3
sub esp, 8
mov dword [edx], eax
fstp qword [esp]
call fcn.004a8560
fstp qword [esp + 8]
add esp, 8
call fcn.004a8530
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x2c]
push 5
push 3
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
push edx
push eax
call fcn.004a8560
fstp qword [esp + 0x10]
add esp, 0x10
call fcn.004a8530
mov ecx, dword [ebp + 0x28]
add esp, 8
mov dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [ebx]
sub edx, eax
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x14]
sub edx, ebx
mov dword [eax], edx
mov eax, dword [ebp + 0x20]
mov edx, dword [edi]
pop edi
mov esi, dword [eax]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x18]
sub edx, esi
sub edx, eax
pop esi
mov dword [ecx], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a88f0
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
push 2
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x34]
mov edx, dword [esi]
push 8
mov ecx, esi
call dword [edx + 0x34]
mov ecx, dword [esi + 8]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esi]
mov dword [esp + 8], eax
neg eax
push eax
lea eax, [esp + 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x48]
mov edx, dword [esi]
push 0
lea eax, [esp + 8]
push 0
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0
lea ecx, [esp + 8]
push 0
push ecx
mov ecx, esi
call fcn.00516051
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push eax
push 0x3e8
push ecx
lea eax, [esp + 0x10]
push 0x3e8
push eax
mov ecx, esi
call dword [edx + 0x4c]
pop esi
add esp, 8
ret

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

Disassembly:
sub esp, 0x34
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x2d0]
mov ecx, edi
call fcn.004a9930
push eax
mov ecx, edi
call fcn.004a9920
inc eax
push eax
lea eax, [esp + 0x10]
push str._d____d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 8]
push ecx
lea ecx, [esi + 0x3c]
call fcn.00513cd8
pop edi
pop esi
add esp, 0x34
ret

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

Disassembly:
sub esp, 8
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x3c]
call fcn.00490320
mov edi, eax
test edi, edi
mov dword [esp + 0xc], edi
je 0x4a8f85
push ebx
push ebp
mov ecx, edi
call fcn.0048e620
test eax, eax
lea ebp, [esi + 0x68]
je 0x4a8eb7
push eax
mov ecx, ebp
call fcn.0048f2d0
jmp 0x4a8ebe
mov ecx, ebp
call fcn.0048f210
mov ecx, edi
call fcn.0048e630
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4a8efb
lea ebx, [esi + 0x50]
lea edi, [esi + 0x54]
mov dword [esi + 0x48], 0x834
mov dword [esi + 0x4c], 0xb9a
mov dword [ebx], 0x834
mov dword [edi], 0xb9a
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], eax
jmp 0x4a8f2f
lea ecx, [esi + 0x64]
lea edx, [esi + 0x60]
push ecx
push edx
lea ecx, [esi + 0x5c]
lea edx, [esi + 0x58]
lea edi, [esi + 0x54]
push ecx
lea ebx, [esi + 0x50]
push edx
push edi
lea ecx, [esi + 0x4c]
push ebx
lea edx, [esi + 0x48]
push ecx
push edx
push eax
call fcn.004a8720
mov eax, dword [esp + 0x34]
add esp, 0x24
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx]
mov ecx, dword [esi + 0x70]
mov ebx, dword [ebp]
mov edx, dword [esi + 0x74]
sub eax, ecx
mov ecx, dword [edi]
sub eax, ebx
mov ebx, dword [esi + 0x6c]
sub ecx, edx
lea edx, [esi + 0xd8]
sub ecx, ebx
push edx
push ebp
mov dword [esi + 0xcc], ecx
push ecx
mov ecx, dword [esp + 0x20]
push eax
mov dword [esi + 0xc8], eax
call fcn.0048ea50
mov ecx, esi
call fcn.004a8f90
mov ecx, dword [esi + 0x40]
call fcn.004a8de0
mov eax, dword [esi + 0x1c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret
Function at 0x4a8f90
Capabilities:
Access peb ldr_data
Get number of processors
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x51e8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00516428
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004a88f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00516356
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00512b89
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00512b89
push 1
push 0
push 0
mov ecx, esi
call fcn.00512b31
push 1
push 0
push 1
mov ecx, esi
call fcn.00512b31
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0051649a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

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

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0xd0]
add eax, ecx
cmp eax, 0xc8
jl 0x4a90eb
cmp eax, 0xbb8
jle 0x4a90e4
mov eax, 0xbb8
jmp 0x4a90f0
cmp eax, 0xc8
jge 0x4a90f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a8f90
mov edx, dword [esi + 0x1c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret 4
Function at 0x4a9110
Capabilities:
Get number of processors
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x51e918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00516428
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004a88f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00516356
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4a91d4
cmp dword [esp + 0x40], 1
jne 0x4a91d2
cmp ecx, eax
jge 0x4a91d4
mov eax, ecx
cmp eax, 0xc8
jge 0x4a91e0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a8f90
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0051649a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4a99d0
Capabilities:
Access peb ldr_data
Get number of processors
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x51e9c3
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.00510ea0
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.005166d0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00518246
test eax, eax
je 0x4a9aec
mov ecx, dword [esp + 0x3c]
call fcn.005166fd
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 0x4a9ab0
push edi
mov ecx, esi
call fcn.00513cd8
mov ecx, esi
call fcn.004a9c90
cmp dword [esp + 0x38], 1
jne 0x4a9ae5
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.00513e13
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 0x4a9b70
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x51ea00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CEdit.virtual_0
mov eax, dword [esi + 0x58]
mov dword [esp + 0x14], 0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esi + 0x64]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 1
call fcn.00516727
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00518267
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret