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

Disassembly:
push ecx
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
cmp dword [esi + 0x8c], edi
mov dword [esp + 8], edi
jle 0x42f802
push ebx
push ebp
mov ebx, dword [esp + 0x10]
push dword [esp + 0x1c]
mov eax, dword [esi + 0x18c]
shl ebx, 2
push dword [ebx + eax]
call fcn.004410fd
mov ebp, eax
cmp ebp, 0xffffffff
pop ecx
pop ecx
je 0x42f7ec
mov eax, dword [esp + 0x1c]
cmp eax, dword [esi + 4]
jne 0x42f3bf
mov eax, dword [esp + 0x20]
sub eax, edi
je 0x42f31e
dec eax
jne 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f2ea
cmp dword [esi + 0x28], edi
jne 0x42f2b5
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000001
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x28], eax
je 0x42f7d5
push dword [esi + 0x1d8]
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xa8], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push 2
push dword [esi + 0x28]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xa8], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x28]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x28], edi
jmp 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f38b
cmp dword [esi + 0x2c], edi
jne 0x42f356
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000000
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x2c], eax
je 0x42f7d5
push dword [esi + 0x1dc]
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xac], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
push 2
push dword [esi + 0x2c]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xac], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x2c]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x2c], edi
jmp 0x42f7d5
cmp eax, dword [esi + 8]
jne 0x42f51d
mov eax, dword [esp + 0x20]
sub eax, edi
je 0x42f47c
dec eax
jne 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f448
cmp dword [esi + 0x30], edi
jne 0x42f413
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000001
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x30], eax
je 0x42f7d5
push dword [esi + 0x1d8]
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xb0], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x5c]
push dword [esi + 0x58]
push 2
push dword [esi + 0x30]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xb0], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x30]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x30], edi
jmp 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f4e9
cmp dword [esi + 0x34], edi
jne 0x42f4b4
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000000
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x34], eax
je 0x42f7d5
push dword [esi + 0x1dc]
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xb4], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x64]
push dword [esi + 0x60]
push 2
push dword [esi + 0x34]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xb4], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x34]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x34], edi
jmp 0x42f7d5
cmp eax, dword [esi + 0x10]
jne 0x42f67b
mov eax, dword [esp + 0x20]
sub eax, edi
je 0x42f5da
dec eax
jne 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f5a6
cmp dword [esi + 0x38], edi
jne 0x42f571
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000001
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x38], eax
je 0x42f7d5
push dword [esi + 0x1d8]
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xb8], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x6c]
push dword [esi + 0x68]
push 2
push dword [esi + 0x38]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xb8], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x38]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x38], edi
jmp 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f647
cmp dword [esi + 0x3c], edi
jne 0x42f612
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000000
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x3c], eax
je 0x42f7d5
push dword [esi + 0x1dc]
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xbc], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x74]
push dword [esi + 0x70]
push 2
push dword [esi + 0x3c]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xbc], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x3c]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x3c], edi
jmp 0x42f7d5
cmp eax, dword [esi + 0x14]
jne 0x42f7d5
mov eax, dword [esp + 0x20]
sub eax, edi
je 0x42f738
dec eax
jne 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f704
cmp dword [esi + 0x40], edi
jne 0x42f6cf
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000001
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x40], eax
je 0x42f7d5
push dword [esi + 0x1d8]
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xc0], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x7c]
push dword [esi + 0x78]
push 2
push dword [esi + 0x40]
jmp 0x42f7a2
mov eax, dword [esi + 0x18c]
push 3
mov dword [esi + 0xc0], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x40]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x40], edi
jmp 0x42f7d5
cmp dword [esp + 0x24], edi
je 0x42f7aa
cmp dword [esi + 0x44], edi
jne 0x42f76c
push edi
push dword [0x47d72c]
push edi
push dword [esp + 0x24]
push edi
push edi
push edi
push edi
push 0x50000000
push edi
push str.ScrollBar
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, edi
mov dword [esi + 0x44], eax
je 0x42f7d5
push dword [esi + 0x1dc]
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xc4], 1
push ebp
push dword [ebx + eax]
call fcn.00440f8b
add esp, 0x10
push edi
push dword [esi + 0x84]
push dword [esi + 0x80]
push 2
push dword [esi + 0x44]
call dword [sym.imp.USER32.dll_SetScrollRange]
jmp 0x42f7d5
mov eax, dword [esi + 0x18c]
push 4
mov dword [esi + 0xc4], edi
push ebp
push dword [ebx + eax]
call fcn.00440fc9
mov eax, dword [esi + 0x44]
add esp, 0xc
cmp eax, edi
je 0x42f7d5
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x44], edi
push dword [esp + 0x18]
call fcn.0042bd87
cmp eax, dword [esp + 0x14]
pop ecx
jne 0x42f7ec
push esi
call fcn.0042d491
pop ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 0x8c]
jl 0x42f237
pop ebp
pop ebx
push dword [esp + 0x10]
call fcn.0042bc13
pop ecx
pop edi
pop esi
pop ecx
ret