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

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov esi, ecx
mov edi, eax
call fcn.0042c0c0
mov ecx, dword [0x448584]
mov ebx, eax
push edi
movsx eax, si
push eax
push str.SplPaintOut___i___i__n
push 5
push ecx
call fcn.004380f8
mov esi, dword [ebx + edi*4 + 0x14]
movzx edx, word [esi + 4]
push edx
call sub.gnwie.dll_OUTreset
movzx eax, word [esi + 4]
push eax
call sub.gnwie.dll_OUTendpaint
movzx ecx, word [esi + 4]
push ecx
call sub.gnwie.dll_OUTreset
movzx edx, word [esi + 4]
mov eax, dword [ebx + 0x28]
push 0
push 0
push 2
push edx
call eax
movzx edx, word [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
call sub.gnwie.dll_Wquerywinsize
movzx eax, byte [ebx + 0x89]
movzx ecx, word [esi + 4]
push eax
push ecx
call sub.gnwie.dll_OUTlinecolour
movzx edx, byte [ebx + 0x88]
movzx eax, word [esi + 4]
add esp, 0x40
push edx
push eax
call sub.gnwie.dll_OUTfillcolour
xor edi, edi
add esp, 8
cmp dword [ebx + 0x5c], edi
jle 0x42ce25
jmp 0x42ce00
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
movzx eax, word [esi + 4]
sub ecx, edi
push ecx
sub edx, edi
push edx
push edi
push edi
push eax
call sub.gnwie.dll_OUTboxr0
add edi, 1
add esp, 0x14
cmp edi, dword [ebx + 0x5c]
jl 0x42ce00
movzx ecx, word [esi + 4]
push ecx
call sub.gnwie.dll_OUTendpaint
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
push eax
push ecx
mov ecx, dword [0x448584]
push edx
movsx eax, bx
push eax
push str.SPLITsectionproc___i___i___i___lu__n
push 5
push ecx
call fcn.004380f8
push 1
push ebx
call sub.gnwie.dll_Wquerywidget
movzx eax, ax
push 3
push eax
call sub.gnwie.dll_Wquerywidget
movzx esi, ax
add esp, 0x2c
call fcn.0042c0c0
mov edi, eax
test edi, edi
je 0x42d8c7
push ebp
push ebx
push esi
call fcn.0042cce0
mov ecx, dword [esp + 0x30]
mov ebp, dword [edi + eax*4 + 0x14]
add ecx, 0xffffffff
add esp, 8
cmp ecx, 6
mov dword [esp + 0x24], eax
ja case.0x42d2fb.3
jmp dword [ecx*4 + 0x42d8d0]
push ebx
call fcn.004393e4
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push ebx
call fcn.004393e4
add esp, 4
cmp bx, word [ebp + 4]
jne case.0x42d2fb.3
mov edx, dword [edi + 0x28]
push 0
push 0
push 1
push ebx
call edx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp byte [edi + 0x8f], 0
jne case.0x42d2fb.3
push ebx
call fcn.004393e4
add esp, 4
cmp bx, word [ebp + 4]
jne 0x42d36b
mov eax, dword [esp + 0x24]
pop ebp
pop edi
mov ecx, esi
pop esi
pop ebx
add esp, 0x10
jmp 0x42cd60
cmp bx, word [ebp + 6]
jne 0x42d384
mov ebx, dword [esp + 0x24]
mov eax, esi
call fcn.0042ce40
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp bx, word [ebp + 0x12]
jne case.0x42d2fb.3
mov ebx, dword [esp + 0x24]
mov eax, esi
call fcn.0042d180
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x2c]
cmp edx, 3
je case.0x42d2fb.3
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x42d88c
cmp edx, 5
ja case.0x42d2fb.3
jmp dword [edx*4 + 0x42d8ec]
cmp byte [edi + 0x8e], 0
je 0x42d3d9
mov byte [edi + 0x8e], 0
push eax
push esi
call fcn.0042cf80
movzx eax, word [ebp + 4]
add esp, 8
cmp bx, ax
jne case.0x42d2fb.3
mov ecx, dword [edi + 0x60]
sub ecx, 1
je 0x42d51b
sub ecx, 1
je 0x42d491
sub ecx, 1
jne case.0x42d2fb.3
mov byte [edi + 0x8e], 1
movzx eax, word [ebp + 4]
lea esi, [edi + 0x70]
push esi
push eax
call sub.gnwie.dll_Wgetmousepos
movzx ecx, word [ebp + 4]
lea ebx, [edi + 0x68]
push ebx
push ecx
call sub.gnwie.dll_Wgetmousepos
movzx edx, word [edi + 8]
add esp, 0x10
push 1
push 0
push 0
push edx
call sub.gnwie.dll_Wquerywidget
add esp, 8
push eax
call sub.gnwie.dll_Wsetmouseshape
mov esi, dword [esi]
mov eax, dword [edi + 0x74]
mov ecx, dword [ebx]
mov edx, dword [edi + 0x6c]
sub edx, eax
sub ecx, esi
mov dword [esp + 0x28], eax
push 1
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x64]
mov dword [esp + 0x28], edx
movzx edx, word [ebp + 4]
push ecx
mov dword [esp + 0x30], esi
push edx
mov al, 1
lea esi, [esp + 0x2c]
call fcn.0042cff0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov byte [edi + 0x8e], 1
movzx eax, word [ebp + 4]
lea esi, [edi + 0x68]
push esi
push eax
call sub.gnwie.dll_Wgetmousepos
movzx ecx, word [edi + 8]
add esp, 8
push 1
push 0
push 0
push ecx
call sub.gnwie.dll_Wquerywidget
add esp, 8
push eax
call sub.gnwie.dll_Wsetmouseshape
mov ecx, dword [edi + 0x80]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esi]
mov esi, dword [edi + 0x84]
sar eax, 1
sub edx, eax
mov dword [esp + 0x24], edx
mov eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x6c]
sar eax, 1
sub edx, eax
push 1
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x30], edx
movzx edx, word [ebp + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x64]
push ecx
mov dword [esp + 0x2c], esi
push edx
xor al, al
lea esi, [esp + 0x2c]
call fcn.0042cff0
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x28]
push ecx
push 1
push 0x11
push eax
call edx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
movzx edx, word [ebp + 4]
cmp bx, dx
jne case.0x42d2fb.3
mov eax, ecx
sub eax, 2
je 0x42d5e8
sub eax, 1
jne case.0x42d2fb.3
cmp byte [edi + 0x8e], al
je case.0x42d2fb.3
mov eax, dword [edi + 0x70]
mov esi, dword [edi + 0x68]
mov ecx, dword [edi + 0x74]
sub esi, eax
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x6c]
lea ebx, [edi + 0x68]
sub eax, ecx
mov dword [esp + 0x14], ecx
push 0
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x64]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x24], esi
push edx
mov al, 1
lea esi, [esp + 0x28]
call fcn.0042cff0
movzx ecx, word [ebp + 4]
push ebx
push ecx
call sub.gnwie.dll_Wgetmousepos
mov eax, dword [edi + 0x70]
mov edx, dword [ebx]
mov ecx, dword [edi + 0x74]
sub edx, eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x6c]
sub eax, ecx
mov dword [esp + 0x2c], ecx
push 1
mov dword [esp + 0x38], eax
movzx eax, word [ebp + 4]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x64]
push ecx
push edx
push eax
mov al, 1
call fcn.0042cff0
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp byte [edi + 0x8e], 0
je case.0x42d2fb.3
mov ecx, dword [edi + 0x80]
mov esi, dword [edi + 0x84]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [edi + 0x68]
sar eax, 1
sub edx, eax
lea ebx, [edi + 0x68]
mov dword [esp + 0x10], edx
mov eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x6c]
sar eax, 1
sub edx, eax
push 0
lea eax, [esp + 0x14]
push eax
movzx eax, word [ebp + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x64]
push ecx
mov dword [esp + 0x28], esi
push eax
xor al, al
lea esi, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.0042cff0
movzx edx, word [ebp + 4]
push ebx
push edx
call sub.gnwie.dll_Wgetmousepos
mov ecx, dword [edi + 0x80]
mov esi, dword [edi + 0x84]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebx]
sar eax, 1
sub edx, eax
mov dword [esp + 0x28], edx
mov eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x6c]
sar eax, 1
sub edx, eax
push 1
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x34], edx
movzx edx, word [ebp + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x64]
push ecx
mov dword [esp + 0x40], esi
push edx
xor al, al
lea esi, [esp + 0x40]
call fcn.0042cff0
add esp, 0x28
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
movzx edx, word [ebp + 4]
cmp bx, dx
jne case.0x42d2fb.3
mov eax, ecx
sub eax, 1
je 0x42d7d6
sub eax, 1
je 0x42d747
sub eax, 1
jne 0x42d7f1
cmp byte [edi + 0x8e], al
je 0x42d7f1
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x74]
mov byte [edi + 0x8e], al
mov eax, dword [edi + 0x70]
sub edx, eax
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x6c]
sub eax, ecx
mov dword [esp + 0x1c], ecx
push 0
mov dword [esp + 0x18], eax
movzx eax, word [ebp + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [edi + 0x64]
push ecx
push edx
push eax
mov al, 1
lea esi, [esp + 0x20]
call fcn.0042cff0
add esp, 0x10
call sub.gnwie.dll_Wresetmouseshape
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov dword [edi + 0x78], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x7c], edx
mov dword [edi + 0x84], ecx
jmp 0x42d7eb
cmp byte [edi + 0x8e], 0
je 0x42d7f1
mov ecx, dword [edi + 0x80]
mov esi, dword [edi + 0x84]
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [edi + 0x68]
sar eax, 1
sub edx, eax
mov dword [esp + 0x18], edx
mov eax, esi
cdq
sub eax, edx
mov edx, dword [edi + 0x6c]
sar eax, 1
sub edx, eax
push 0
lea eax, [esp + 0x1c]
push eax
mov byte [edi + 0x8e], 0
mov dword [esp + 0x24], edx
movzx edx, word [ebp + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [edi + 0x64]
push ecx
mov dword [esp + 0x20], esi
push edx
xor al, al
lea esi, [esp + 0x20]
call fcn.0042cff0
add esp, 0x10
call sub.gnwie.dll_Wresetmouseshape
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [edi + 0x78], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x7c], ecx
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], eax
jmp 0x42d7f1
lea ecx, [edi + 0x78]
push ecx
push edx
call sub.gnwie.dll_Wgetmousepos
add esp, 8
xor eax, eax
mov dword [edi + 0x84], eax
mov dword [edi + 0x80], eax
mov eax, 0xa
cmp dword [edi + 0x80], eax
jge 0x42d86c
cmp dword [edi + 0x84], eax
jge 0x42d86c
movzx eax, word [ebp + 4]
lea edx, [edi + 0x78]
push edx
push eax
call sub.gnwie.dll_Wgetmousepos
xor eax, eax
add esp, 8
cmp dword [esp + 0x2c], 1
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
jne 0x42d84c
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x60]
movzx eax, word [ebp + 4]
push ecx
mov ecx, dword [edi + 0x28]
push edx
push 0x12
push eax
call ecx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x60]
movzx ecx, word [ebp + 4]
push edx
mov edx, dword [edi + 0x28]
push eax
push 0x13
push ecx
call edx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x60]
movzx edx, word [ebp + 4]
push eax
mov eax, dword [edi + 0x28]
push ecx
push 0x10
push edx
call eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x28]
push ecx
push edx
movzx edx, word [ebp + 4]
push 5
push edx
call eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push eax
push esi
call fcn.0042cf80
mov ecx, dword [esp + 0x34]
movzx edx, word [ebp + 4]
mov eax, dword [edi + 0x28]
push 0
push ecx
push 0xf
push edx
call eax
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret