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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x1009e9c8]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x48], edi
cmp edi, dword [ebx + 0x68]
jb 0x100735af
mov eax, 0x80070057
jmp 0x10073a42
push edi
lea ecx, [ebx + 0x64]
call fcn.10079f6e
mov dword [esp + 0x38], eax
mov cl, byte [eax]
and cl, 1
cmp cl, byte [ebp + 0xc]
jne 0x100735ce
xor eax, eax
inc eax
jmp 0x10073a42
push 0
mov ecx, ebx
call fcn.10079a7f
mov al, byte [ebx + 0x1a8]
lea esi, [ebx + 0x94]
xor byte [ebp + 0x10], 1
cmp byte [ebp + 0xc], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], al
mov byte [ebx + 0x1a8], 1
jne 0x10073623
cmp byte [esi], 0
je 0x10073651
cmp byte [esi + 1], 0
jne 0x10073651
mov eax, dword [ebx + 0x9c]
shr eax, 0x12
cmp edi, eax
jne 0x10073651
or dword [esi + 8], 0xffffffff
mov word [esi], 0x101
mov dword [esi + 4], edi
jmp 0x1007364c
push esi
mov ecx, ebx
call fcn.10077d3e
test al, al
jne 0x10073651
or dword [esi + 4], 0xffffffff
mov eax, edi
shl eax, 0x12
mov word [esi], 1
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebx + 0xa0], eax
mov byte [esp + 0x12], 1
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov esi, dword [esp + 0x38]
lea edi, [esp + 0x84]
push 8
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
sub edx, eax
mov eax, dword [esi + 0x10]
add ecx, edx
and dword [esp + 0x80], 0
add eax, ecx
or dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x34], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x18], edx
push eax
mov ecx, ebx
call fcn.10078d7c
mov ecx, dword [esi]
mov eax, dword [ebp + 0xc]
and ecx, 0xfffffffe
movzx eax, al
or ecx, eax
mov dword [esi], ecx
mov ecx, ebx
push 0
call fcn.10074951
xor eax, eax
lea edi, [esp + 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x6c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, eax
mov eax, dword [esi + 4]
mov edx, eax
sub edx, ecx
cmp dword [esp + 0x78], edx
jle 0x100739cb
cmp byte [ebp + 0xc], 0
mov edi, dword [esp + 0x30]
je 0x1007371d
test edi, edi
jg 0x1007374f
mov eax, dword [esi + 8]
sub eax, edi
add eax, dword [esp + 0x18]
add eax, dword [esi + 0x10]
push 1
add eax, ecx
push eax
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetScrollPos]
xor al, al
jmp 0x10073752
test edi, edi
jg 0x10073732
lea eax, [esp + 0x7c]
mov ecx, ebx
push eax
call fcn.10078f40
jmp 0x100739cb
mov ecx, dword [esi + 8]
lea eax, [ecx + edx]
test eax, eax
jns 0x1007374f
mov eax, dword [esi + 4]
push 1
add eax, ecx
push eax
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetScrollPos]
mov al, byte [ebp + 0x10]
test al, al
je 0x100739cb
call fcn.100712ff
test al, al
jne 0x100739cb
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
sub edx, eax
mov eax, dword [esi + 0x10]
add ecx, edx
add eax, ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp eax, edx
jg 0x10073791
mov ecx, edx
mov esi, dword [esp + 0x78]
sub eax, ecx
sub edx, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], edx
cmp edi, esi
jl 0x100737ab
mov edi, esi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], ecx
cmp ecx, esi
jl 0x100737bb
mov dword [esp + 0x2c], esi
mov ecx, eax
mov eax, edi
sub eax, dword [esp + 0x2c]
sub ecx, edx
jns 0x100737c9
neg ecx
test eax, eax
jns 0x100737cf
neg eax
add eax, ecx
mov dword [esp + 0x3c], eax
cmp eax, 0x19
jl 0x100739cb
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x1007380a
mov eax, ecx
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, edi
sub eax, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], eax
cmp eax, edx
jg 0x10073806
mov eax, edx
mov dword [esp + 0x14], edx
test eax, eax
jns 0x1007380f
and dword [esp + 0x14], 0
cmp edi, ecx
jge 0x10073815
mov ecx, edi
mov eax, dword [ebx + 4]
sub esi, ecx
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
mov byte [esp + 0x58], 0
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], esi
mov dword [esp + 0x60], esi
call fcn.10073510
and dword [esp + 0x28], 0
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
and dword [esp + 0x50], 0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
test eax, eax
jne 0x100739a6
xor esi, esi
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
cmp dword [esp + 0x14], esi
jle 0x100738e2
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x100738b7
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x24]
and dword [esp + 0x24], esi
push eax
push dword [esp + 0x2c]
mov dword [edi], 0x10002d84
push dword [esp + 0x1c]
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromGraphics]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 4], eax
jmp 0x100738b9
xor edi, edi
push edi
lea ecx, [esp + 0x24]
call fcn.1004745e
mov edi, dword [esp + 0x20]
test edi, edi
je 0x100738e2
mov eax, dword [edi + 8]
and dword [edi + 8], esi
test eax, eax
je 0x100738e2
lea ecx, [esp + 0x20]
call fcn.1004690f
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x34], esi
jle 0x10073951
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x10073925
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x24]
and dword [esp + 0x24], 0
push eax
push dword [esp + 0x2c]
mov dword [esi], 0x10002d84
push dword [esp + 0x3c]
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromGraphics]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 4], eax
jmp 0x10073927
xor esi, esi
push esi
lea ecx, [esp + 0x20]
call fcn.1004745e
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10073951
mov eax, dword [esi + 8]
and dword [esi + 8], 0
test eax, eax
je 0x10073951
lea ecx, [esp + 0x1c]
call fcn.1004690f
mov esi, dword [esp + 0x1c]
push dword [esp + 0x60]
mov ecx, ebx
push dword [esp + 0x48]
push dword [esp + 0x40]
push dword [ebp + 0xc]
push dword [esp + 0x58]
push esi
push edi
call fcn.10073084
push dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x30]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x5c]
push dword [esp + 0x28]
push esi
push edi
push eax
call fcn.10073220
lea ecx, [esp + 0x1c]
call fcn.1004690f
lea ecx, [esp + 0x20]
call fcn.1004690f
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
cmp byte [esp + 0x58], 0
je 0x100739c2
push dword [esp + 0x54]
push dword [esp + 0x60]
call dword [sym.imp.GDI32.dll_SetLayout]
lea ecx, [esp + 0x64]
call fcn.10040e9a
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x3c]
and dword [esp + 0x3c], 0
and dword [esp + 0x40], 0
call fcn.1006af6f
push dword [esp + 0x40]
mov ecx, ebx
push dword [esp + 0x40]
push 0
push 0
call fcn.10077275
push 0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [esp + 0x12], 0
je 0x10073a21
mov ecx, ebx
call fcn.10077c62
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [ebx + 4], eax
jne 0x10073a21
mov ecx, ebx
call fcn.10072418
push dword [ebp + 0xc]
push ecx
lea ecx, [ebx + 0x74]
call fcn.1007a932
mov al, byte [esp + 0x13]
mov ecx, ebx
push 0
mov byte [ebx + 0x1a8], al
call fcn.10074fa4
xor eax, eax
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10084510
mov esp, ebp
pop ebp
ret 0xc