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

Disassembly:
push 0xffffffffffffffff
push 0x420a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], edi
cmp word [edi + 0x12], 0x18
jb 0x41c753
mov ebx, dword [esp + 0x128]
cmp ebx, 2
jl 0x41c753
cmp ebx, dword [edi + 8]
jae 0x41c753
cmp ebx, dword [edi + 0xc]
jae 0x41c753
mov eax, dword [edi + 0x80]
mov ebp, dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41c486
mov eax, dword [edi + 0x94]
test eax, eax
je 0x41c47d
lea esi, [edi + 0x84]
push esi
call ebp
test eax, eax
jne 0x41c47d
mov eax, dword [edi + 0x94]
test eax, eax
je 0x41c456
push esi
call ebp
test eax, eax
jne 0x41c456
lea eax, [esp + 0x58]
push esi
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea edx, [esp + 0x58]
push 1
push edx
mov ecx, edi
call fcn.0041b270
jmp 0x41c486
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push 0
lea ecx, [esp + 0x64]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetRect]
lea edx, [esp + 0x58]
push 1
push edx
mov ecx, edi
call fcn.0041b270
jmp 0x41c486
push 1
mov ecx, edi
call fcn.0041b300
mov eax, dword [edi + 0x94]
test eax, eax
je 0x41c4a1
lea esi, [edi + 0x84]
push esi
call ebp
test eax, eax
je 0x41c6f4
mov eax, dword [esp + 0x12c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [edi + 8]
xor edx, edx
mov eax, ecx
div ebx
mov esi, eax
xor eax, eax
test edx, edx
setne al
add eax, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0xc]
xor edx, edx
div ebx
mov esi, eax
xor eax, eax
test edx, edx
setne al
add eax, esi
mov dword [esp + 0x44], edx
mov ebp, eax
xor eax, eax
mov ax, word [edi + 0x12]
mov dword [esp + 0x48], ebp
mov esi, eax
imul eax, ecx
add eax, 0x1f
xor ecx, ecx
shr eax, 5
shl eax, 2
shr esi, 3
mov dword [esp + 0x54], eax
mov eax, esi
imul eax, ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jne 0x41c51b
mov dword [esp + 0x2c], ebx
cmp edx, ecx
jne 0x41c523
mov dword [esp + 0x44], ebx
cmp ebp, ecx
mov dword [esp + 0x30], ecx
jle 0x41c6e2
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ecx
jmp 0x41c53b
xor ecx, ecx
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x38]
mov edx, dword [eax + edx]
lea eax, [ebp - 1]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x30]
cmp edx, eax
jne 0x41c55e
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
jmp 0x41c564
mov dword [esp + 0x18], ebx
mov eax, ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
cmp edx, ecx
jle 0x41c69f
jmp 0x41c57c
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x3c]
xor ebp, ebp
xor edi, edi
dec ecx
cmp edx, ecx
jne 0x41c59b
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
jmp 0x41c5a1
mov dword [esp + 0x20], ebx
mov edx, ebx
mov ebx, edx
mov ecx, dword [esp + 0x54]
imul ebx, esi
add ebx, ecx
mov ecx, edx
imul ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x40], ebx
jle 0x41c5ff
mov dword [esp + 0x10], eax
test edx, edx
jle 0x41c5f2
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov bl, byte [ecx]
add edi, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
add ebp, ebx
xor ebx, ebx
mov bl, byte [ecx + 2]
add ecx, esi
add eax, ebx
dec edx
jne 0x41c5cd
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
sub ecx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x41c5c5
mov ecx, dword [esp + 0x1c]
mov eax, edi
cdq
idiv ecx
mov edi, 0xff
mov dword [esp + 0x10], edi
cmp eax, edi
jg 0x41c619
mov dword [esp + 0x10], eax
mov eax, ebp
mov dword [esp + 0x1c], edi
cdq
idiv ecx
cmp eax, edi
jg 0x41c62a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
cdq
idiv ecx
mov edx, edi
cmp eax, edi
jg 0x41c639
mov edx, eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test ecx, ecx
jle 0x41c66d
mov edi, ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
jle 0x41c668
mov bl, byte [esp + 0x10]
mov byte [eax + 2], dl
mov byte [eax], bl
mov bl, byte [esp + 0x1c]
mov byte [eax + 1], bl
add eax, esi
dec ecx
jne 0x41c64f
mov ebx, dword [esp + 0x40]
sub eax, ebx
dec edi
jne 0x41c647
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x128]
inc eax
add edi, edx
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
jl 0x41c576
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
cdq
idiv ebp
push eax
mov eax, dword [esp + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
lea eax, [ebx*4]
inc ecx
add edx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x24]
add edx, 0x64
cmp ecx, ebp
mov dword [esp + 0x24], edx
jl 0x41c539
mov ecx, dword [esp + 0x12c]
push 0x64
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x41c753
push 0
lea ecx, [esp + 0x6c]
call fcn.0041af00
lea edx, [esp + 0x68]
push esi
push edx
mov ecx, edi
mov dword [esp + 0x128], 0
call fcn.0041e370
mov eax, dword [esp + 0x12c]
lea ecx, [esp + 0x68]
push eax
push ebx
call fcn.0041c3b0
mov ecx, dword [edi + 0x88]
mov edx, dword [esi]
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
mov ecx, edi
call fcn.0041b9f0
lea ecx, [esp + 0x68]
mov dword [esp + 0x120], 0xffffffff
call fcn.0041b120
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x114
ret 8