Function at 0x442480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x38]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x44], ebx
je 0x44273b
mov eax, dword [0x50d0a8]
cmp eax, ebp
jne 0x4424a7
xor eax, eax
jmp 0x4424aa
mov eax, dword [eax + 0x20]
lea ecx, [esp + 0x58]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4424c8
mov dword [esp + 0x10], ecx
mov edx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x34]
cmp edx, edi
mov esi, edx
jl 0x4424d6
mov esi, edi
cmp eax, ecx
mov dword [esp + 0x14], eax
jg 0x4424e2
mov dword [esp + 0x14], ecx
cmp edx, edi
mov dword [esp + 0x18], edx
jg 0x4424ee
mov dword [esp + 0x18], edi
cmp dword [esp + 0x10], ebp
jl 0x44273b
cmp esi, ebp
jl 0x44273b
mov ecx, ebx
call fcn.0043f160
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x58]
sub edx, edi
sub edx, eax
mov eax, dword [esp + 0x14]
cmp eax, edx
jg 0x44273b
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x18]
sub eax, edx
cmp ecx, eax
jg 0x44273b
mov ecx, 0x50d088
call fcn.00477260
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x44273b
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x68]
lea edx, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x7c], ecx
mov ecx, ebx
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x80], esi
call fcn.0043c6f0
mov esi, dword [esp + 0x74]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x4c]
push eax
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x3c]
push edx
push eax
lea edi, [ebx + 0x601c]
push esi
push ecx
mov ecx, edi
call fcn.00491b50
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x68]
mov dword [esp + 0x78], edx
push ecx
mov ecx, ebx
mov dword [esp + 0x80], eax
call fcn.0043c6f0
mov eax, dword [esp + 0x74]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x44273b
lea edx, [esp + 0x40]
lea ecx, [esp + 0x3c]
push edx
push ecx
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x40]
push edx
mov edx, dword [esp + 0x7c]
push ecx
push eax
push edx
mov ecx, edi
call fcn.00491b50
mov eax, dword [esp + 0x10]
xor ebx, ebx
xor edx, edx
cmp esi, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
jg 0x4426ab
mov eax, dword [esp + 0x24]
lea ecx, [eax + esi*8 - 0x114]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
cmp dword [edx], ebp
je 0x44265c
cmp ebx, ebp
jne 0x442693
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x38]
push edx
mov ebx, 1
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
push eax
jmp 0x44268a
cmp dword [esp + 0x14], ebp
jne 0x442693
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
push ecx
push esi
push ebp
mov ecx, edi
call fcn.00491b50
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc esi
add ecx, 8
cmp esi, eax
mov dword [esp + 0x18], ecx
jle 0x442629
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
cmp ebx, ebp
mov dword [esp + 0x10], eax
je 0x4426bd
mov dword [esp + 0x18], edx
jmp 0x4426c5
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub esi, eax
add esi, ecx
mov ecx, dword [esp + 0x40]
cmp ebx, ebp
mov edi, ecx
je 0x4426f0
cmp dword [esp + 0x14], ebp
je 0x4426f0
mov eax, dword [esp + 0x1c]
sub eax, edx
cdq
mov edi, eax
xor edi, edx
sub edi, edx
add edi, ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
movsx eax, byte [edx + 0x1b8]
add eax, 0x31
cmp ecx, eax
je 0x442722
mov ebx, dword [esp + 0x44]
push 1
mov ecx, ebx
call fcn.0043f120
push 1
mov ecx, ebx
mov ebp, eax
call fcn.0043f0a0
sub ebp, eax
add esi, ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push 0x6600cdf5
push edi
push esi
push ecx
push edx
call sub.CLRenderNewEngine.dll_public:_static_void___cdecl_CxImage::FillRect_int__int__int__int__unsigned_long_int_
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret