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

Disassembly:
sub esp, 0x19c
push ebx
mov ebx, dword [esp + 0x1a4]
push ebp
push esi
push edi
push 0
push ebx
or edi, 0xffffffff
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f02
push 0
mov ebp, eax
call esi
push eax
push 0xfffffffffffffff4
push ebx
call dword [sym.imp.USER32.dll_SetClassLongA]
push 0x7f02
push 0
mov dword [esp + 0x34], eax
call esi
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [esp + 0x24]
mov esi, dword [esp + 0x1b4]
push eax
push esi
call fcn.1009ddf0
test eax, eax
jne 0x10073cd5
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x100738c7
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
jmp 0x100738cf
mov dword [esp + 0x1c], 1
push 0
lea edx, [esp + 0x34]
push 0
push edx
push esi
call fcn.1009da60
push 0
push esi
call dword [sym.imp.KERNEL32.dll__lopen]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x1007390d
push 0
push 0
push 0xfffff812
push 0x196
push str.C:_accusoftgearSOURCEGUIGuithm.c
call fcn.10046940
jmp 0x10073cd1
mov eax, dword [esp + 0x1c]
mov edi, 1
cmp eax, edi
mov dword [esp + 0x20], edi
jb 0x10073cd1
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x10073963
mov eax, dword [esp + 0x30]
cmp eax, 0x15
je 0x1007393c
cmp eax, 0x27
je 0x1007393c
cmp eax, 0x32
jne 0x10073963
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0
push esi
call fcn.1009d710
test eax, eax
je 0x1007397f
call fcn.10046b00
lea ecx, [esp + 0x14]
push ecx
push 0
push edi
push 0
push esi
jmp 0x10073972
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0
push edi
push 0
push eax
call fcn.1009c430
test eax, eax
jne 0x10073cc0
mov ecx, dword [esp + 0x14]
push ecx
call sym.GEAR32PO.OCX_GPb_DIB_pointer_get
mov ecx, 0xa
mov esi, eax
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0x84]
cmp edi, edx
jl 0x100739a9
mov edi, edx
mov ecx, dword [ebp + 0x10]
mov esi, dword [esp + 0x88]
cmp ecx, esi
jl 0x100739b9
mov ecx, esi
cmp edx, esi
jle 0x100739d2
mov eax, edi
imul eax, esi
cdq
idiv dword [esp + 0x84]
mov esi, edi
mov dword [esp + 0x10], eax
jmp 0x100739e0
mov eax, ecx
mov dword [esp + 0x10], ecx
imul eax, edx
cdq
idiv esi
mov esi, eax
cmp esi, edi
jbe 0x100739f5
mov eax, edi
xor edx, edx
imul eax, dword [esp + 0x10]
div esi
mov esi, edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], ecx
jbe 0x10073a0c
mov eax, ecx
xor edx, edx
imul eax, esi
div dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov esi, eax
mov edi, dword [ebp + 0x3c]
mov ecx, dword [ebp]
inc edi
mov dword [ebp + 0x3c], edi
lea edx, [edi + edi*4]
lea edi, [edi + edx*2]
shl edi, 3
lea eax, [edi + 0x78]
push eax
push ebp
push ecx
call fcn.100a0ea0
mov ebp, eax
test ebp, ebp
je 0x10073bc2
push ebp
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebp + 0x38]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push esi
push eax
push ecx
push ebx
call fcn.10077170
test eax, eax
mov dword [esp + 0x28], eax
je 0x10073bc2
lea ebx, [ebp + edi + 0x20]
mov ecx, 0x16
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov dword [ebx + 0xc], esi
mov dword [esp + 0x34], esi
xor esi, esi
mov dword [esp + 0x38], esi
mov dword [ebx + 0x10], edi
fild qword [esp + 0x34]
fmul qword [ebp + 0x70]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
fild qword [esp + 0x3c]
mov dword [ebx + 0x14], eax
fmul qword [ebp + 0x70]
call sub.MSVCRT.dll__ftol
mov edx, dword [esp + 0x28]
lea edi, [ebx + 0x28]
mov ecx, 0xa
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x1b4]
mov dword [ebx + 0x18], eax
mov dword [ebx + 4], edx
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x20], ecx
mov dword [ebx + 0x1c], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x24], 0
mov edx, dword [ebp]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
call fcn.100a0c80
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x50], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x50]
push ecx
call dword [sym.imp.USER32.dll_CharLowerA]
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x10073b8f
mov ecx, dword [ebx + 0x20]
lea edx, [esp + 0xa8]
push edx
mov edx, dword [ebx + 0x50]
push ecx
lea ecx, [ebx + 0x28]
push ecx
mov ecx, dword [esp + 0x1bc]
push edx
mov edx, dword [ebp + 0x34]
push ecx
push edx
call eax
test eax, eax
je 0x10073b8f
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp]
not ecx
push ecx
push eax
call fcn.100a0c80
mov edx, eax
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
mov dword [ebx + 0x54], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x10073bbb
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp + 0x38]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x1b8]
push eax
push ecx
push edx
call fcn.10077170
test eax, eax
je 0x10073bbb
mov dword [ebx + 8], eax
mov ebx, dword [esp + 0x1b0]
mov eax, dword [esp + 0x14]
push eax
call fcn.100828e0
push ebp
push ebx
call fcn.10076ca0
mov ecx, dword [ebp + 0x3c]
dec ecx
push ecx
push ebp
push ebx
call fcn.10076010
lea edx, [esp + 0x54]
push edx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push ebx
call dword [sym.imp.USER32.dll_GetScrollPos]
mov ecx, dword [ebp + 0x14]
mov esi, eax
lea eax, [esp + 0x44]
push eax
push ecx
push ebp
push ebx
call fcn.10075ea0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jge 0x10073c40
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x10073c21
mov eax, dword [ebp + 0x68]
add eax, 3
jmp 0x10073c23
xor eax, eax
mov edi, dword [ebp + 0x58]
push 1
sub edi, ecx
add edi, edx
add edi, esi
add edi, eax
push edi
push 1
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
push 1
push 0
jmp 0x10073c6e
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
cmp ecx, eax
jle 0x10073c67
mov edx, dword [ebp + 0x58]
push 1
sub eax, edx
sub eax, ecx
add eax, esi
push eax
push 1
push ebx
call dword [sym.imp.USER32.dll_SetScrollPos]
push 1
push 0
jmp 0x10073c6e
lea edx, [esp + 0x44]
push 0
push edx
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
mov edi, 0x100
push 0x108
push edi
lea eax, [esp + 0x70]
push ebx
push eax
call esi
test eax, eax
je 0x10073cbc
cmp dword [esp + 0x68], edi
jne 0x10073ca8
cmp dword [esp + 0x6c], 0x1b
je 0x10073cd1
push 1
push 0x108
push edi
lea ecx, [esp + 0x70]
push ebx
push ecx
call esi
test eax, eax
jne 0x10073c9b
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x20], edi
jbe 0x10073922
mov edi, dword [esp + 0x18]
cmp edi, 0xffffffff
je 0x10073ce1
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
mov esi, dword [esp + 0x2c]
push esi
push 0xfffffffffffffff4
push ebx
call dword [sym.imp.USER32.dll_SetClassLongA]
push esi
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.10046b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x19c
ret 8