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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x124]
mov edx, dword [0x4ecc6c]
call fcn.00405ab0
lea ebx, [ebp - 4]
lea edi, [ebp - 0xe8]
xor eax, eax
push ebp
push 0x4f1cfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx]
call fcn.004fa2c8
test al, al
jne 0x4f1cbd
mov eax, dword [ebx]
mov si, 0xffc7
call fcn.0040400c
test al, al
je 0x4f0dfc
mov dl, 1
mov eax, dword [ebx]
call fcn.004f39c0
mov eax, dword [ebx]
call fcn.004f5f6c
mov edx, edi
mov eax, dword [ebx]
call fcn.004f310c
xor eax, eax
mov dword [ebp - 0x12c], eax
xor eax, eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebx]
cmp dword [eax + 0x274], 0
jg 0x4f0e36
mov eax, dword [ebx]
cmp dword [eax + 0x270], 0
jle 0x4f0ec4
push 0
push 0
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
call fcn.0043239c
push eax
call sub.gdi32.dll_GetClipRgn
mov dword [ebp - 0x130], eax
mov eax, dword [ebx]
mov si, 0xffc7
call fcn.0040400c
test al, al
je 0x4f0e92
mov edx, dword [edi + 0xa4]
push edx
mov eax, dword [edi + 0x40]
push eax
push 0
sub eax, dword [edi + 0x3c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov esi, eax
jmp 0x4f0ea8
mov eax, dword [edi + 0xa4]
push eax
mov eax, dword [edi + 0x3c]
push eax
push 0
push 0
call sub.gdi32.dll_CreateRectRgn
mov esi, eax
push 1
push esi
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
call fcn.0043239c
push eax
call sub.gdi32.dll_ExtSelectClipRgn
push esi
call sub.gdi32.dll_DeleteObject
lea edx, [ebp - 0xf8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
call fcn.00432374
mov eax, dword [ebx]
mov si, 0xffc7
call fcn.0040400c
test al, al
je 0x4f0ef7
lea edx, [ebp - 0xf0]
lea eax, [ebp - 0xf8]
call fcn.004ed914
mov eax, dword [ebx]
mov edx, dword [eax]
call dword [edx + 0x174]
cmp dword [edi], 0
jg 0x4f0f10
cmp dword [edi + 0x68], 0
jle 0x4f1722
mov edx, dword [ebx]
mov ecx, dword [edi + 0x78]
sub ecx, dword [edx + 0x2e8]
mov edx, dword [ebx]
add ecx, dword [edx + 0x298]
mov eax, dword [ebx]
push dword [eax + 0x2e4]
mov eax, dword [edi + 0x10]
pop edx
sub eax, edx
mov edx, dword [ebx]
add eax, dword [edx + 0x294]
cmp ecx, eax
jl 0x4f0f53
mov eax, dword [ebx]
push dword [eax + 0x2e8]
mov eax, dword [edi + 0x78]
pop edx
sub eax, edx
mov edx, dword [ebx]
add eax, dword [edx + 0x298]
add eax, 3
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
add eax, eax
push eax
lea eax, [ebp - 0x104]
mov ecx, 1
mov edx, dword [0x4ecc14]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 0x128]
push eax
lea eax, [ebp - 0x108]
mov ecx, 1
mov edx, dword [0x4ecc40]
call fcn.00406758
add esp, 4
mov eax, dword [ebp - 0x128]
dec eax
test eax, eax
jl 0x4f0fbd
inc eax
xor edx, edx
mov ecx, dword [ebp - 0x108]
mov dword [ecx + edx*4], 2
inc edx
dec eax
jne 0x4f0fac
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 0x104]
mov ecx, dword [0x4ecc14]
call fcn.004068b4
lea eax, [ebp - 0x120]
mov edx, dword [ebp - 0x108]
mov ecx, dword [0x4ecc40]
call fcn.004068b4
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x11c], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x118], eax
mov eax, dword [edi + 0x78]
mov dword [ebp - 0x114], eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
push 0
push 0
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0xc4]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x298]
mov edx, dword [ebx]
sub eax, dword [edx + 0x2a4]
push eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov ecx, dword [eax + 0x298]
mov eax, dword [ebx]
sub ecx, dword [eax + 0x2a4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x294]
mov edx, dword [ebx]
sub eax, dword [edx + 0x2a0]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x298]
mov edx, dword [ebx]
sub eax, dword [edx + 0x2a4]
push eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 4]
dec eax
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x6c]
dec eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov ecx, dword [eax + 0x298]
mov eax, dword [ebx]
sub ecx, dword [eax + 0x2a4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x294]
mov eax, dword [ebx]
sub edx, dword [eax + 0x2a0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
cmp dword [edi + 0x9c], 0
jle 0x4f1227
push ebp
mov eax, dword [edi + 0x6c]
dec eax
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x298]
dec ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x294]
dec edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x24]
push eax
mov edx, dword [edi + 0x6c]
dec edx
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x30]
call fcn.004f0d1c
pop ecx
cmp dword [edi + 0x34], 0
jle 0x4f1266
push ebp
mov eax, dword [edi + 0x6c]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x298]
dec ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x294]
dec edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x20]
push eax
mov ecx, dword [edi + 4]
dec ecx
mov eax, dword [edi + 4]
dec eax
mov edx, dword [edi + 0x98]
call fcn.004f0d1c
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
je 0x4f12a5
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edi + 0x6c]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [edi + 8]
xor edx, edx
mov eax, dword [edi + 4]
call fcn.00407644
lea ecx, [ebp - 0x168]
mov eax, dword [ebx]
mov edx, dword [eax + 0x250]
mov eax, dword [ebx]
call fcn.004f1d14
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e4]
push eax
push 0
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0xc4]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov edx, dword [eax + 0x2e4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e4]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x298]
mov edx, dword [ebx]
sub eax, dword [edx + 0x2a4]
push eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0x98]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov ecx, dword [eax + 0x298]
mov eax, dword [ebx]
sub ecx, dword [eax + 0x2a4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2e4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
cmp dword [edi + 0x9c], 0
jle 0x4f141f
push ebp
mov eax, dword [edi + 0x6c]
dec eax
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x298]
dec ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x2e4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x24]
push eax
mov edx, dword [edi + 0x6c]
dec edx
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
call fcn.004f0d1c
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
je 0x4f143d
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
lea edx, [ebp - 0x138]
call fcn.004f0058
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f147c
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edi + 0x70]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [edi + 4]
mov edx, dword [edi + 0x6c]
xor eax, eax
call fcn.00407644
lea ecx, [ebp - 0x168]
mov eax, dword [ebx]
mov edx, dword [eax + 0x250]
mov eax, dword [ebx]
call fcn.004f1d14
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
push 0
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e8]
push eax
mov eax, dword [edi + 0x5c]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
cmp dword [edi + 0x34], 0
jle 0x4f15f8
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
setne al
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x294]
mov edx, dword [ebx]
sub eax, dword [edx + 0x2a0]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e8]
push eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 4]
dec eax
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov edx, dword [eax + 0x294]
mov eax, dword [ebx]
sub edx, dword [eax + 0x2a0]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
push ebp
mov eax, dword [edi + 0x70]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x294]
dec edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x20]
push eax
mov ecx, dword [edi + 4]
dec ecx
mov eax, dword [edi + 4]
dec eax
mov edx, dword [edi + 0xbc]
call fcn.004f0d1c
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f1616
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
lea edx, [ebp - 0x138]
call fcn.004f0058
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
jne 0x4f162c
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f1661
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edi + 0x70]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 4]
call fcn.00407644
lea ecx, [ebp - 0x168]
mov eax, dword [ebx]
mov edx, dword [eax + 0x250]
mov eax, dword [ebx]
call fcn.004f1d14
mov eax, dword [ebx]
test byte [eax + 0x2d0], 4
setne al
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e4]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e8]
push eax
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x168], eax
mov eax, dword [edi + 0xbc]
mov dword [ebp - 0x164], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x160], eax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x168]
push eax
push 3
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2e8]
mov eax, dword [ebx]
mov edx, dword [eax + 0x2e4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2a8]
mov esi, dword [eax]
call dword [esi + 0x14]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x70]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
push eax
lea eax, [ebp - 0x124]
push eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 8
setne cl
mov edx, edi
mov eax, dword [ebx]
call fcn.004f03f0
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
jne 0x4f170f
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f1722
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
lea edx, [ebp - 0x138]
call fcn.004f0058
lea edx, [ebp - 0x14]
mov eax, dword [ebx]
call fcn.004f7fc8
xor eax, eax
mov dword [ebp - 0xfc], eax
xor eax, eax
mov dword [ebp - 0x100], eax
mov eax, dword [ebx]
test byte [eax + 0x2d0], 1
je 0x4f175b
mov dword [ebp - 0xfc], 4
mov dword [ebp - 0x100], 1
mov eax, dword [ebx]
test byte [eax + 0x2d0], 2
je 0x4f1774
or dword [ebp - 0xfc], 8
or dword [ebp - 0x100], 2
push ebp
mov eax, dword [edi + 0xc4]
push eax
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi + 0x98]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
movzx eax, byte [0x4f1d0c]
push eax
mov ecx, dword [edi + 0x5c]
xor edx, edx
xor eax, eax
call fcn.004f0978
pop ecx
push ebp
mov eax, dword [edi + 0x98]
push eax
mov eax, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x6c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
movzx eax, byte [0x4f1d0c]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x298]
mov eax, dword [ebx]
sub edx, dword [eax + 0x2a4]
mov ecx, dword [edi + 0x5c]
xor eax, eax
call fcn.004f0978
pop ecx
push ebp
mov eax, dword [edi + 0x98]
push eax
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi + 0x6c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x358]
push eax
movzx eax, byte [0x4f1d10]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x298]
mov eax, dword [ebx]
sub edx, dword [eax + 0x2a4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x294]
mov ecx, dword [ebx]
sub eax, dword [ecx + 0x2a0]
mov ecx, dword [edi + 0x30]
call fcn.004f0978
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
je 0x4f186d
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edi + 0x98]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [edi + 8]
xor edx, edx
mov eax, dword [edi + 4]
call fcn.00407644
lea ecx, [ebp - 0x168]
mov eax, dword [ebx]
mov edx, dword [eax + 0x250]
mov eax, dword [ebx]
call fcn.004f1d14
push ebp
mov eax, dword [edi + 0xc4]
push eax
mov eax, dword [edi + 8]
push eax
mov eax, dword [edi + 0x98]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
movzx eax, byte [0x4f1d0c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e4]
mov ecx, dword [edi + 0x54]
xor edx, edx
call fcn.004f0978
pop ecx
push ebp
mov eax, dword [edi + 0x98]
push eax
mov eax, dword [edi + 8]
push eax
mov eax, dword [edi + 0x6c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x358]
push eax
movzx eax, byte [0x4f1d10]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x298]
mov eax, dword [ebx]
sub edx, dword [eax + 0x2a4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e4]
mov ecx, dword [edi + 0x54]
call fcn.004f0978
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
je 0x4f1904
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
lea edx, [ebp - 0x138]
call fcn.004f0058
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f1943
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edi + 0x70]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x6c]
xor eax, eax
call fcn.00407644
lea ecx, [ebp - 0x168]
mov eax, dword [ebx]
mov edx, dword [eax + 0x250]
mov eax, dword [ebx]
call fcn.004f1d14
push ebp
mov eax, dword [edi + 0xbc]
push eax
mov eax, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x70]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
push eax
movzx eax, byte [0x4f1d0c]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x2e8]
mov ecx, dword [edi + 0x5c]
xor eax, eax
call fcn.004f0978
pop ecx
push ebp
mov eax, dword [edi + 0xbc]
push eax
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi + 0x70]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x358]
push eax
movzx eax, byte [0x4f1d10]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x294]
mov edx, dword [ebx]
sub eax, dword [edx + 0x2a0]
mov edx, dword [ebx]
mov edx, dword [edx + 0x2e8]
mov ecx, dword [edi + 0x30]
call fcn.004f0978
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f19d7
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
lea edx, [ebp - 0x138]
call fcn.004f0058
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
jne 0x4f19ed
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f1a22
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edi + 0x70]
push eax
lea eax, [ebp - 0x168]
push eax
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 4]
call fcn.00407644
lea ecx, [ebp - 0x168]
mov eax, dword [ebx]
mov edx, dword [eax + 0x250]
mov eax, dword [ebx]
call fcn.004f1d14
push ebp
mov eax, dword [edi + 0xbc]
push eax
mov eax, dword [edi + 8]
push eax
mov eax, dword [edi + 0x70]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x358]
push eax
movzx eax, byte [0x4f1d10]
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x2e8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x2e4]
mov ecx, dword [edi + 0x54]
call fcn.004f0978
pop ecx
mov eax, dword [ebx]
cmp dword [eax + 0x2f2], 0
jne 0x4f1a72
mov eax, dword [ebx]
cmp dword [eax + 0x2f6], 0
je 0x4f1a85
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
lea edx, [ebp - 0x138]
call fcn.004f0058
mov eax, dword [ebx]
test byte [eax + 0x1c], 0x10
jne 0x4f1b4c
mov eax, dword [ebx]
test byte [eax + 0x2d1], 0x10
je 0x4f1b4c
mov eax, dword [ebx]
cmp byte [eax + 0x284], 0
je 0x4f1b4c
mov eax, dword [ebx]
mov si, 0xffb3
call fcn.0040400c
test al, al
je 0x4f1b4c
push 0
lea edx, [ebp - 0x168]
mov eax, dword [ebx]
call fcn.004f7fc8
lea edx, [ebp - 0x168]
lea ecx, [ebp - 0x158]
mov eax, dword [ebx]
call fcn.004f48c4
mov eax, dword [ebx]
mov si, 0xffc7
call fcn.0040400c
test al, al
jne 0x4f1b08
lea edx, [ebp - 0x158]
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
call fcn.00431d70
jmp 0x4f1b4c
push edi
lea esi, [ebp - 0x158]
lea edi, [ebp - 0x148]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
call fcn.0043239c
push eax
call sub.user32.dll_DrawFocusRect
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jge 0x4f1b9b
mov eax, dword [ebx]
mov edx, dword [eax + 0x358]
mov eax, dword [ebx]
mov eax, dword [eax + 0x250]
mov eax, dword [eax + 0x14]
call fcn.004319cc
mov eax, dword [edi + 0x70]
inc edi
jo 0x4f1bc0