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

Disassembly:
push 0xffffffffffffffff
push 0x432950
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43ce70]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
cmp ebx, eax
jne 0x41aa3c
xor eax, eax
jmp 0x41ac5d
mov edi, dword [esi + 0xd0]
sub eax, ebx
cdq
mov ebp, eax
xor ebp, edx
sub ebp, edx
mov ecx, edi
imul ecx, ebp
mov eax, ecx
cdq
idiv edi
mov dword [esi + 0x118], ecx
cmp eax, 4
jle 0x41aa6e
cmp eax, 8
jge 0x41aa75
cmp eax, 4
jle 0x41aa6e
mov edi, eax
jmp 0x41aa7a
mov edi, 4
jmp 0x41aa7a
mov edi, 8
mov eax, ecx
sub eax, edi
cdq
idiv edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x11c], eax
xor eax, eax
cmp ebx, dword [esp + 0x60]
setl al
mov dword [esi + 0x78], eax
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x24], eax
push eax
mov dword [esp + 0x58], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call ebx
xor ebx, ebx
cmp dword [esi + 0x28], ebx
je 0x41aafa
mov ecx, dword [esi + 0xd8]
jmp 0x41aafc
xor ecx, ecx
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 0xd0]
sub eax, ecx
push edx
push eax
mov dword [esp + 0x48], ecx
call fcn.00420f0c
add esp, 8
cmp edx, ebx
lea ecx, [eax + 1]
jg 0x41ab1f
mov ecx, eax
cmp ecx, 1
jle 0x41ab2d
cmp edx, ebx
jle 0x41ab32
add eax, 1
jmp 0x41ab32
mov eax, 1
add eax, ebp
imul eax, dword [esi + 0xd0]
cmp dword [esi + 0x144], ebx
mov dword [esp + 0x38], eax
je 0x41ab62
mov eax, dword [esi + 0x144]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, ebx
mov eax, dword [esp + 0x38]
je 0x41ab62
mov dword [esi + 0x144], ebx
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esi + 0x144], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x24], esp
mov dword [eax], edi
call fcn.0040d1d0
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetScrollPos]
mov edx, dword [esi + 0xfc]
mov ecx, dword [esp + 0x5c]
neg eax
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x3c], eax
sub edx, 1
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], eax
jge 0x41abcf
mov ebx, ecx
cmp ebx, dword [esi + 0x340]
jge 0x41ac1b
jmp 0x41abe0
mov ecx, dword [esi + 0xd0]
add ecx, eax
cmp eax, dword [esp + 0x38]
mov dword [esp + 0x48], ecx
jg 0x41ac1b
lea edx, [esp + 0x3c]
push edx
push ebx
push ecx
mov eax, esp
mov ecx, esi
mov dword [esp + 0x6c], esp
mov dword [eax], edi
call fcn.00417e90
mov eax, dword [esp + 0x48]
add ebx, 1
cmp ebx, dword [esi + 0x340]
mov dword [esp + 0x40], eax
jl 0x41abe0
mov eax, dword [esp + 0x14]
push eax
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, esi
call fcn.0040d720
mov ecx, dword [esi + 4]
push 0
push 0x14
push 0x3ec
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
test edi, edi
je 0x41ac4c
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x18]
push ebp
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8