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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x20]
push ecx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
xor eax, eax
call fcn.0040cdd4
cmp ax, 0xb
jb 0x41c444
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0x20]
jle 0x41c136
mov edx, dword [ebp + 0x18]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x24]
cmp edx, dword [ebp - 0x1c]
jle 0x41c136
cmp dword [ebp - 0x18], 0
jle 0x41c136
cmp dword [ebp - 0x14], 0
jle 0x41c136
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x30], 0
jge 0x41c02b
xor edx, edx
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x2c], 0
jge 0x41c036
xor edx, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x28]
jge 0x41c044
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x24]
jge 0x41c058
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [0x423890]
cmp byte [eax], 0
je 0x41c0ea
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x16], 0
je 0x41c07e
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
cmp byte [eax + 0x16], 0
je 0x41c0c4
mov eax, dword [0x423890]
cmp byte [eax], 0
je 0x41c0c4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
test eax, eax
je 0x41c0c4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
call fcn.00414680
mov edx, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
mov byte [eax + 0x16], 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
call fcn.00414e18
push eax
mov eax, dword [ebp + 0xc]
call fcn.00414e18
lea edx, [ebp - 0x30]
pop ecx
call fcn.00410a14
jmp 0x41c136
push 0xcc0020
mov esi, dword [ebp - 0x2c]
push esi
mov ebx, dword [ebp - 0x30]
push ebx
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x4c]
call fcn.00414e18
call fcn.00410d3c
push eax
mov eax, dword [ebp - 0x24]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
push eax
push esi
push ebx
mov eax, dword [ebp + 0xc]
call fcn.00414e18
call fcn.00410d3c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x41c361
inc eax
mov dword [ebp - 0xc], eax
xor edi, edi
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
call fcn.00419ecc
test al, al
jne 0x41c269
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [eax + 0x44], 0
jne 0x41c357
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [eax + 0x3c], 0
jne 0x41c1f5
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x30]
call fcn.00419e34
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_UnionRect
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x41c1f5
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
call fcn.00419f28
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
cmp byte [eax + 0x24], 0
jne 0x41c357
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x30]
call fcn.00419eb8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_UnionRect
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x41c357
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dl, 1
call fcn.00419f14
jmp 0x41c357
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 8]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [eax + 0x40]
mov eax, dword [eax + 0x24]
pop edx
call fcn.0040a388
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x41c357
inc esi
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ebx, eax
cmp byte [ebx + 0x44], 0
jne 0x41c34d
cmp byte [ebx + 0x3c], 0
jne 0x41c312
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.00419e34
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_UnionRect
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x41c312
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov eax, ebx
call fcn.00419f28
cmp byte [ebx + 0x24], 0
jne 0x41c34d
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.00419eb8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_UnionRect
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.user32.dll_EqualRect
test eax, eax
je 0x41c34d
mov dl, 1
mov eax, ebx
call fcn.00419f14
inc dword [ebp - 8]
dec esi
jne 0x41c2bd
inc edi
dec dword [ebp - 0xc]
jne 0x41c153
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x20]
cmp eax, dword [ebp - 0x20]
jle 0x41c444
mov edx, dword [ebp + 0x18]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x24]
cmp edx, dword [ebp - 0x1c]
jle 0x41c444
cmp dword [ebp - 0x18], 0
jle 0x41c444
cmp dword [ebp - 0x14], 0
jle 0x41c444
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x30], 0
jge 0x41c3b1
xor edx, edx
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x2c], 0
jge 0x41c3bc
xor edx, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp + 0x18]
cmp eax, dword [ebp - 0x28]
jge 0x41c3ca
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x24]
jge 0x41c3de
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [0x423890]
cmp byte [eax], 0
je 0x41c403
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00414e18
mov ecx, eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp + 8]
call fcn.00410a14
jmp 0x41c444
push 0xcc0020
mov esi, dword [ebp - 0x2c]
push esi
mov ebx, dword [ebp - 0x30]
push ebx
mov eax, dword [ebp + 0xc]
call fcn.00414e18
call fcn.00410d3c
push eax
mov eax, dword [ebp - 0x24]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
call fcn.00410d3c
push eax
call sub.gdi32.dll_BitBlt
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10