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

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x4e04ce
mov esi, dword [ecx + 4]
lea eax, [esi + 0x64]
cmp edi, eax
jb 0x4e04b0
lea edx, [esi + 0xc064]
cmp edi, edx
jae 0x4e04b0
mov eax, edi
pop edi
sub eax, esi
sub eax, 0x64
cdq
and edx, 0x1ff
add eax, edx
sar eax, 9
mov byte [eax + esi + 4], 0
mov eax, dword [ecx + 4]
pop esi
dec dword [eax]
ret 4
mov eax, dword [0x9789f4]
test eax, eax
jne 0x4e04c4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x9789f4], eax
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret 4
Function at 0x4e0ff0
Capabilities:
Access peb ldr_data
Reference http user-agent string

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x520491
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x4e102d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.005176d3
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.00516a1b
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.004d9f20
lea ecx, [esp + 8]
call fcn.00517942
lea ecx, [esp + 0x30]
call fcn.00516b7f
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.00516a1b
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.004da3c0
lea ecx, [esp + 0x74]
call fcn.00516b7f
lea ecx, [esp + 8]
call fcn.00517943
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.004d7bc0
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.004d9ec0
mov ecx, esi
call fcn.004daaa0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.004d9ec0
mov ecx, esi
call fcn.004daaa0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.004d9ec0
mov ecx, esi
call fcn.004daaa0
mov ecx, dword [edi + 0x5c]
call fcn.004d73a0
push eax
mov ecx, esi
call fcn.004d73b0
mov ecx, dword [edi + 0x5c]
call fcn.004d7960
push eax
mov ecx, esi
call fcn.004d7900
mov ecx, dword [edi + 0x5c]
call fcn.004d7a80
push eax
mov ecx, esi
call fcn.004d7a30
mov ecx, dword [edi + 0x5c]
push 0
call fcn.004d6c80
push eax
mov ecx, esi
call fcn.004d6c90
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.00516af7
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.00516af7
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.0051775c
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret

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

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
call dword [sym.imp.USER32.dll_WindowFromDC]
push eax
call fcn.005112cb
test eax, eax
je 0x4e176d
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
jmp 0x4e1780
push 0
push 0
push 0
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004e1910
pop edi
pop esi
add esp, 0x10
ret 8
Function at 0x4e17f0
Capabilities:
Reference http user-agent string

Disassembly:
push ecx
mov eax, dword [ecx + 0x14]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x10], eax
je 0x4e1886
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x4e1886
mov al, byte [ecx + 0x28]
test al, al
je 0x4e1886
mov eax, dword [esp + 0x18]
mov edi, dword [ecx + 0x18]
mov byte [ecx + 0xb0], 1
mov esi, dword [eax]
cmp esi, edi
jne 0x4e1851
mov edx, dword [eax + 4]
mov ebp, dword [ecx + 0x1c]
cmp edx, ebp
jne 0x4e1851
mov edx, dword [eax + 8]
mov ebp, dword [ecx + 0x20]
cmp edx, ebp
jne 0x4e1851
mov edx, dword [eax + 0xc]
mov ebp, dword [ecx + 0x24]
cmp edx, ebp
jne 0x4e1851
call fcn.004e17a0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov ebp, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push ebp
mov ebp, dword [ecx + 0x24]
sub ebp, dword [ecx + 0x1c]
push ebp
mov ebp, dword [ecx + 0x20]
sub ebp, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push ebp
push ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edi
sub ecx, edx
push ebx
sub eax, esi
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push edx
push esi
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

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

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.004e1890
mov al, byte [esp + 0x10]
mov edi, dword [esp + 0xc]
test al, al
mov dword [esi + 0x14], edi
mov byte [esi + 0x28], al
je 0x4e19ce
mov eax, dword [esp + 0x14]
lea edi, [esi + 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x2c], eax
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
sub edx, ecx
mov ecx, dword [esi + 0x14]
push edx
mov edx, dword [edi]
sub eax, edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esi + 0x2c]
push eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 0xc]
push 0xcc0020
push 0
mov edx, dword [edi + 8]
push 0
push eax
mov eax, dword [edi + 4]
sub ecx, eax
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [edi]
sub edx, ecx
push edx
mov edx, dword [esi + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x1c]
mov ecx, dword [edi]
mov edx, dword [esi + 0x2c]
push 0
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esi + 0x2c]
mov ecx, esi
push eax
call fcn.00515b90
mov ecx, esi
call fcn.004e1a70
pop edi
pop esi
ret 0xc
push 0
push 0
push 0
lea ecx, [esi + 0x18]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push edi
mov ecx, esi
call fcn.00515b90
mov ecx, esi
call fcn.004e1a70
pop edi
pop esi
ret 0xc
Function at 0x4e1e10
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, 0x94820c
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp + 0x83], 1
lea edx, [ebp + 0x88]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xor ebx, ebx
mov eax, ecx
mov esi, edi
mov edi, edx
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 [ebp + 0xb4]
lea edi, [ebp + 0x6c]
cmp eax, ebx
mov dword [ebp + 0x70], ebx
mov dword [edi], 0xfffffff4
mov dword [ebp + 0x7c], ebx
mov byte [ebp + 0x80], bl
mov byte [ebp + 0x81], bl
mov byte [ebp + 0x82], bl
mov dword [ebp + 0x74], ebx
mov dword [ebp + 0x78], ebx
mov byte [ebp + 0x86], bl
mov byte [ebp + 0x85], bl
mov byte [ebp + 0x84], bl
mov byte [ebp + 0x87], bl
lea esi, [ebp + 0x48]
jne 0x4e1ec1
mov ecx, esi
call fcn.00516727
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.005166d0
cmp dword [ebp + 4], ebx
je 0x4e1ef1
push esi
mov ecx, ebp
call fcn.00515d24
pop edi
mov dword [ebp + 0xb4], eax
pop esi
pop ebp
pop ebx
ret
cmp dword [ebp + 4], ebx
je 0x4e1ece
push eax
mov ecx, ebp
call fcn.00515d24
mov ecx, esi
call fcn.00516727
push edi
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
mov ecx, esi
call fcn.005166d0
cmp dword [ebp + 4], ebx
je 0x4e1ef1
push esi
mov ecx, ebp
call fcn.00515d24
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4e1fe0
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x5205d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [ecx + 4]
push esi
xor esi, esi
mov dword [esp + 0xc], ecx
cmp eax, esi
je 0x4e21d4
mov ecx, dword [esp + 0x60]
xor edx, edx
push ebx
mov eax, ecx
mov dl, ch
push ebp
shr ecx, 0x10
push edi
mov edi, edx
mov ebp, ecx
mov ecx, dword [esp + 0x70]
xor edx, edx
mov ebx, ecx
mov dl, ch
and ecx, 0xff
and ebp, 0xff
mov dword [esp + 0x20], ecx
mov ecx, ebp
and edi, 0xff
neg ecx
mov dword [esp + 0x30], ecx
mov ecx, edi
neg ecx
and eax, 0xff
mov dword [esp + 0x2c], ecx
shr ebx, 0x10
mov ecx, eax
and ebx, 0xff
shl ebp, 6
and edx, 0xff
mov dword [esp + 0x70], ebp
neg ecx
shl edi, 6
shl eax, 6
mov ebp, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edi, eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
lea ecx, [edi + eax]
lea eax, [edx + ebp]
mov edx, dword [esp + 0x70]
sar ecx, 6
mov byte [esp + 0x1c], cl
mov ecx, dword [esp + 0x14]
add ecx, edx
xor edx, edx
sar ecx, 6
sar eax, 6
mov dh, cl
lea ecx, [esp + 0x34]
mov dl, al
mov eax, dword [esp + 0x1c]
shl edx, 8
and eax, 0xff
or edx, eax
push edx
call fcn.0051678d
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
cmp dword [esp + 0x74], 0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
jne 0x4e211e
sub eax, ecx
mov edx, dword [esp + 0x60]
mov ecx, eax
imul ecx, esi
sar ecx, 6
add ecx, edx
inc esi
imul eax, esi
sar eax, 6
add eax, edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
sub eax, ecx
test eax, eax
jle 0x4e2167
jmp 0x4e2145
mov eax, dword [esp + 0x64]
sub eax, edx
mov ecx, eax
imul ecx, esi
sar ecx, 6
add ecx, edx
inc esi
imul eax, esi
sar eax, 6
add eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
sub eax, ecx
test eax, eax
jle 0x4e2167
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
lea ecx, [esp + 0x3c]
and eax, edx
mov edx, dword [esp + 0x18]
push eax
push ecx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x34], method.CGdiObject.virtual_0
lea ecx, [esp + 0x34]
mov dword [esp + 0x54], 0
call fcn.00516727
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x24]
add edi, ecx
mov ecx, dword [esp + 0x14]
add eax, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add ecx, ebx
add ebp, eax
mov eax, dword [esp + 0x30]
add edx, eax
cmp esi, 0x40
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x70], edx
mov dword [esp + 0x14], ecx
jl 0x4e208b
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret 0x1c
Function at 0x4e2870
Capabilities:
Access peb ldr_data
Get kernel32 base address
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x5206b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0050db51
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0050db51
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004e3390
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5206f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov eax, dword [esi + 0x58]
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalFree]
test eax, eax
mov dword [esp + 0x18], 2
jle 0x4e2a21
xor edi, edi
test eax, eax
jle 0x4e2a1b
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4e2a13
push eax
call fcn.0050f620
add esp, 4
mov eax, dword [esi + 0x58]
inc edi
cmp edi, eax
jl 0x4e2a00
mov ecx, dword [esi + 0x5c]
push ecx
call ebx
mov eax, dword [esi + 0x60]
test eax, eax
jle 0x4e2a2e
mov edx, dword [esi + 0x64]
push edx
call ebx
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4e2a3e
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4e2a48
push eax
call edi
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 1
call fcn.0050db7a
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0
call fcn.0050db7a
mov dword [esi], method.CMenu.virtual_0
mov ecx, esi
mov dword [esp + 0x18], 3
call fcn.00514e4b
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4e3390
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x3c
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4e33a4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4e33ae
mov eax, dword [esi + 0x10]
lea ecx, [esp + 4]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edx, [esp + 4]
mov dword [esp + 0x14], 0x2bc
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
xor ecx, ecx
mov dword [esi + 8], eax
test eax, eax
setne cl
mov al, cl
pop esi
add esp, 0x3c
ret

Function at 0x4e33e0
Capabilities:
Extract resource via kernel32 functions
Reference http user-agent string

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x520790
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.005196c6
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4e3413
xor al, al
jmp 0x4e353f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4e3435
xor al, al
jmp 0x4e353f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4e3448
xor al, al
jmp 0x4e353f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4e345c
xor al, al
jmp 0x4e353f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0050dc01
test eax, eax
jne 0x4e3490
xor al, al
jmp 0x4e353f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x928af4
mov dword [esp + 0x20], ebp
call fcn.005196c6
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.005166d0
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.00516727
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4e3524
mov ax, word [ebx]
test ax, ax
je 0x4e3516
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004e3560
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4e34fa
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.00516727
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4e3560
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x4e3576
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jmp 0x4e358a
mov ecx, dword [esi + 0x64]
lea eax, [eax*8 + 8]
push 0x42
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
and edx, 0xffff
mov dword [ecx + eax*8 + 4], edx
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov ecx, dword [esp + 8]
mov dword [eax + edx*8], ecx
mov eax, dword [esi + 0x60]
inc eax
mov dword [esi + 0x60], eax
pop esi
ret 8
Function at 0x4e35c0
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x5207b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov edx, dword [0x978a04]
push ebx
push esi
push edi
mov edi, dword [esp + 0x24]
inc edx
mov dword [0x978a04], edx
mov ebx, ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ebx
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea esi, [eax - 1]
test esi, esi
jl 0x4e37e9
push ebp
jmp 0x4e360e
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi + 4]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetMenuItemID]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4e36ea
mov edx, dword [edi + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00514dc1
test eax, eax
je 0x4e3641
push eax
mov ecx, ebx
call fcn.004e35c0
mov eax, dword [0x978a04]
test eax, eax
jle 0x4e37c2
mov eax, dword [0x94f978]
mov dword [esp + 0x28], eax
push 0x400
push 0x100
push 0x100
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
call fcn.0050fc9a
mov ecx, dword [edi + 4]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_GetMenuStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call fcn.0050fce9
mov edx, dword [esp + 0x28]
push 0x978a08
push edx
call fcn.004fe3e4
add esp, 8
test eax, eax
je 0x4e36d4
mov eax, dword [0x978a04]
mov ecx, dword [esp + 0x28]
dec eax
neg eax
sbb eax, eax
and eax, 2
add eax, 0xfffffffc
push eax
push ecx
mov ecx, ebx
call fcn.004e3810
mov edx, dword [edi + 4]
push eax
push 0xffffffffffffffff
push 0x500
push esi
push edx
call dword [sym.imp.USER32.dll_ModifyMenuA]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0050f8b6
jmp 0x4e37c2
test ebp, ebp
push 0x400
push esi
je 0x4e378a
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
mov ebx, eax
test bh, 1
jne 0x4e37c2
test bl, 4
jne 0x4e37c2
mov ecx, dword [0x94f978]
mov dword [esp + 0x10], ecx
push 0x400
push 0x100
push 0x100
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 1
call fcn.0050fc9a
mov edx, dword [edi + 4]
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_GetMenuStringA]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0050fce9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push ebp
push eax
call fcn.004e3810
mov ecx, dword [edi + 4]
push eax
or bh, 5
push ebp
push ebx
push esi
push ecx
call dword [sym.imp.USER32.dll_ModifyMenuA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.0050f8b6
jmp 0x4e37c2
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.USER32.dll_GetMenuState]
mov ebx, eax
test bh, 1
jne 0x4e37c2
test bl, 4
jne 0x4e37c2
mov ecx, dword [esp + 0x14]
push 0xfffffffffffffffd
push 0x948214
call fcn.004e3810
push eax
mov eax, dword [edi + 4]
or bh, 5
push 0
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_ModifyMenuA]
dec esi
jns 0x4e360a
mov eax, dword [0x978a04]
pop ebp
dec eax
pop edi
pop esi
mov dword [0x978a04], eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov eax, dword [0x978a04]
mov ecx, dword [esp + 0x14]
dec eax
pop edi
pop esi
mov dword [0x978a04], eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4e3810
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x58]
test eax, eax
jne 0x4e382a
push 0x88
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
jmp 0x4e3842
inc eax
mov edx, dword [esi + 0x5c]
mov ecx, eax
push 0x42
shl ecx, 4
add ecx, eax
shl ecx, 3
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
push 0x88
mov dword [esi + 0x5c], eax
call fcn.0050f5f7
mov ecx, dword [esi + 0x5c]
mov edx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x58]
add esp, 4
mov dword [ecx + eax*4], edi
lea eax, [edi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [edi + 4], eax
jl 0x4e387f
push eax
mov ecx, esi
call fcn.004e3890
mov dword [edi], eax
mov eax, dword [esi + 0x58]
inc eax
mov dword [esi + 0x58], eax
mov eax, edi
pop edi
pop esi
ret 8

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

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov dword [esp + 8], ecx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00514577
lea ecx, [esi - 1]
mov dword [esp + 0x2c], esi
dec esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
js 0x4e396f
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetMenuItemID]
push edi
mov edi, dword [esp + 0x44]
mov edx, dword [ebx + 4]
push esi
push edx
call ebp
cmp eax, 0xffffffff
jne 0x4e393e
mov eax, dword [ebx + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.00514dc1
test eax, eax
je 0x4e3963
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.004e38d0
jmp 0x4e3963
test eax, eax
je 0x4e3963
mov edx, dword [edi]
lea ecx, [esp + 0x14]
push 0
push ecx
push 0xffffffffffffffff
push eax
mov ecx, edi
mov dword [esp + 0x28], eax
call dword [edx + 0xc]
push 1
push edi
lea ecx, [esp + 0x1c]
call fcn.0051473c
lea edx, [esi - 1]
dec esi
mov dword [esp + 0x1c], edx
jns 0x4e3910
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2c
ret 8

Function at 0x4e3a60
Capabilities:
Get graphical window text
Reference http user-agent string

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.00517d80
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4e3aa6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.004fe298
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x948218
push ecx
call fcn.00500232
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc