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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x64]
mov ebp, dword [edi]
call fcn.00435000
push eax
push ebp
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [edi + 4]
cmp eax, 3
je 0x43aaae
cmp eax, 4
je 0x43aaae
mov ebx, dword [esp + 0x78]
test ebx, 0x80000000
je 0x43aa3a
neg ebx
push ebp
mov dword [esp + 0x7c], ebx
call fcn.004c75b6
mov edi, dword [edi + 0x14]
mov esi, eax
push edi
call fcn.004c80f6
mov edi, eax
mov eax, dword [esi]
push 0xffffff
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 0x30]
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], eax
call fcn.004c7514
lea ecx, [esp + 0x38]
call fcn.004c7514
test esi, esi
jne 0x43a81f
xor eax, eax
jmp 0x43a822
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.004c75cb
test esi, esi
jne 0x43a83d
xor eax, eax
jmp 0x43a840
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [esp + 0x3c]
call fcn.004c75cb
test edi, edi
jne 0x43a855
xor eax, eax
jmp 0x43a858
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004c770c
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], vtable.CBitmap.0
mov edx, dword [edi + 4]
push ecx
push 0x18
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
push 0
push 1
push 1
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x24]
call fcn.004c810b
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004c770c
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004c780c
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
mov edx, dword [esp + 0x3c]
push 0xcc0020
sbb eax, eax
push 0
and eax, ebp
push 0
push eax
push ebx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebp, dword [esp + 0x70]
cmp ebp, 0xffffffff
jne 0x43a90c
mov eax, dword [esp + 0x64]
mov ebp, dword [eax + 8]
cmp dword [esp + 0x74], 0xffffffff
jne 0x43a91e
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x28]
neg eax
push 0x660046
mov ecx, dword [esp + 0x70]
sbb eax, eax
push ebx
push edi
and eax, edx
mov edx, dword [esp + 0x74]
push 0
push 0
push eax
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [esp + 0x38]
push 0x8800c6
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
neg eax
sbb eax, eax
push ebx
push edi
and eax, ecx
mov ecx, dword [esp + 0x80]
push 0
push 0
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esi + 4]
push ebp
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
lea eax, [esp + 0x28]
push 0x660046
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x6c]
neg eax
sbb eax, eax
push ebx
push edi
and eax, edx
mov edx, dword [esp + 0x80]
push 0
push 0
push eax
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [esi + 4]
push ebp
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43a9d4
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004c770c
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43a9ea
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.004c770c
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [esp + 0x18]
push eax
call dword [edx + 0x2c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [esp + 0x1c]
push eax
call dword [edx + 0x30]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], vtable.CGdiObject.0
call fcn.004c8162
lea ecx, [esp + 0x38]
call fcn.004c7649
lea ecx, [esp + 0x28]
call fcn.004c7649
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 0x14]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], eax
cmp ecx, 0xffffffff
jne 0x43aa5e
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x43aa6a
mov eax, dword [edi + 8]
mov edx, dword [edi + 0xc]
push ebx
push edx
mov edx, dword [edi + 8]
push edx
push 0
push 0
push esi
push ecx
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x64]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov ecx, dword [esp + 0x74]
cmp ecx, 0xffffffff
jne 0x43aaba
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
jne 0x43aac6
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x68]
push 3
push 0
push 0
push ecx
mov ecx, dword [esp + 0x7c]
push eax
mov eax, dword [edi + 0x10]
push eax
push ecx
push edx
push ebp
call dword [sym.imp.USER32.dll_DrawIconEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18