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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
jne 0x4f9043
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call sym.vidcap60.exe_XPTheme_GetDefault
test eax, eax
je 0x4f9066
call sym.vidcap60.exe_XPTheme_GetDefault
cmp dword [eax], ebx
je 0x4f9066
mov eax, dword [0x622254]
cmp dword [eax + 0xc], ebx
je 0x4f9066
mov edi, 1
jmp 0x4f9068
xor edi, edi
push 0xf
mov dword [esp + 0x5c], edi
call dword [sym.imp.USER32.dll_GetSysColor]
mov edx, dword [esi + 0x278]
mov ecx, dword [esi + 0x280]
sub ecx, edx
mov edx, dword [esi + 0x284]
mov dword [esp + 0xe4], ecx
sub edx, dword [esi + 0x27c]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
cmp edi, ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
mov dword [esp + 0xe8], edx
je 0x4f90ed
mov eax, dword [0x622254]
mov ecx, dword [eax + 0xc]
push 1
push 1
push ecx
call dword [eax + 0x88]
test eax, eax
je 0x4f90ed
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [0x622254]
lea edx, [esp + 0xdc]
push edx
push edi
push eax
call dword [ecx + 0x104]
jmp 0x4f9142
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, dword [ebp + 0xc]
push eax
push edi
call ebx
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xe4]
push 0xf00021
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xe4]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xe4]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x238]
test eax, eax
je 0x4f927d
lea ecx, [esi + 0x2d8]
mov edx, ecx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
dec eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
inc edx
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x4f91fc
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
mov eax, dword [0x622254]
mov ecx, dword [eax + 0xc]
push 1
push 1
push edi
push ecx
call dword [eax + 0x58]
mov eax, dword [esi + 0x4a0]
test eax, eax
je 0x4f927d
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x49c]
mov ecx, dword [esp + 0x18]
push edx
push 0xe
push 0xe
push 0
push 0
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x2c]
push 0xe
push 0xe
push eax
mov eax, dword [esp + 0x40]
sub eax, ecx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push edi
call dword [0x5d24b8]
jmp 0x4f927d
push 0xf
push 4
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
dec edx
inc eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x4a0]
dec edx
test eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
je 0x4f927d
mov edx, dword [esi + 0x49c]
mov eax, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edx
sub eax, dword [esp + 0x28]
sub eax, 0xe
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, edx
push 0xe
push 0xe
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esi + 0x2e8]
mov edx, eax
mov dword [esp + 0xec], eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
dec eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
inc edx
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x4f9330
lea edx, [esp + 0x14]
push edx
mov eax, edx
push eax
mov eax, dword [0x622254]
mov ecx, dword [eax + 0xc]
push 1
push 1
push edi
push ecx
call dword [eax + 0x58]
mov eax, dword [esi + 0x4dc]
test eax, eax
je 0x4f93b1
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x4d8]
mov ecx, dword [esp + 0x18]
push edx
push 0xe
push 0xe
push 0
push 0
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esp + 0x2c]
push 0xe
push 0xe
push eax
mov eax, dword [esp + 0x40]
sub eax, ecx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push edi
call dword [0x5d24b8]
jmp 0x4f93b1
push 0xf
push 4
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
dec edx
inc eax
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x4dc]
dec edx
test eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], edx
je 0x4f93b1
mov edx, dword [esi + 0x4d8]
mov eax, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push edx
sub eax, dword [esp + 0x28]
sub eax, 0xe
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, edx
push 0xe
push 0xe
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 0x28c]
mov eax, dword [esi + 0x294]
sub eax, edx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x38], eax
fadd dword [0x5eb988]
call fcn.005c4484
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x260]
sub ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x25c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x258]
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x264]
push ecx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x5c], eax
call sym.vidcap60.exe__SFDIBPIXEL_To_SFHSL_8
fld qword [esp + 0x98]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9460
fld qword [esp + 0xa0]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9460
fld qword [esp + 0xa0]
fld qword [0x5d6138]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f946d
fld qword [esi + 0x248]
fstp qword [esp + 0x90]
fld qword [esp + 0xa0]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9499
fld qword [esp + 0xa0]
fld qword [0x5d6138]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f94a6
fld qword [esi + 0x250]
fstp qword [esp + 0x98]
mov ecx, dword [esi + 0x288]
cmp ecx, dword [esi + 0x290]
lea eax, [esi + 0x288]
mov dword [esp + 0x84], eax
mov dword [esp + 0x24], ecx
jge 0x4f9633
lea esp, [esp]
mov eax, dword [esi + 0x28c]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x84]
push edx
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004f5a90
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x4f952c
fld qword [esp + 0xc0]
lea edx, [esp + 0x90]
push edx
fstp qword [esp + 0x94]
lea eax, [esp + 0x4c]
push eax
call sym.vidcap60.exe__SFHSL_To_SFDIBPIXEL_8
jmp 0x4f9537
fld qword [esp + 0xc0]
fstp dword [esp + 0x50]
test byte [esi + 4], 1
lea eax, [esp + 0x48]
mov dword [esp + 0x28], eax
je 0x4f9573
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
fadd dword [esp + 0x4c]
lea eax, [esp + 0x68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], eax
fadd dword [esp + 0x50]
fmul dword [0x5eb204]
fst dword [esp + 0x70]
fst dword [esp + 0x6c]
fstp dword [esp + 0x68]
test eax, eax
je 0x4f95d6
lea edx, [esp + 0x30]
test edx, edx
je 0x4f95d6
mov ebx, dword [esp + 0x28]
fld dword [ebx]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [ebx + 4]
fmul dword [0x5e9648]
xor ecx, ecx
mov ch, al
mov dword [esp + 0x3c], ecx
call fcn.005c4484
mov ecx, dword [esp + 0x3c]
mov cl, al
mov eax, ebx
fld dword [eax + 8]
fmul dword [0x5e9648]
shl ecx, 8
mov dword [esp + 0x3c], ecx
call fcn.005c4484
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
movzx ecx, al
mov eax, dword [esp + 0x3c]
or eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 0xf00021
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push eax
push 1
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x290]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4f94d0
mov eax, dword [esp + 0x84]
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
dec eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov eax, 1
sub eax, ecx
add edx, eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x20], edx
je 0x4f968e
mov eax, dword [0x622254]
mov edx, dword [eax + 0xc]
push 0
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edi
push edx
call dword [eax + 0x7c]
jmp 0x4f969e
push 0xf
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov edx, dword [esi + 0x29c]
mov eax, dword [esi + 0x2a4]
sub eax, edx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x38], eax
fadd dword [0x5eb988]
call fcn.005c4484
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x25c]
sub ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x260]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x258]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x264]
push edx
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x5c], ecx
call sym.vidcap60.exe__SFDIBPIXEL_To_SFHSL_8
fld qword [esp + 0x98]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f974d
fld qword [esp + 0xa0]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f974d
fld qword [esp + 0xa0]
fld qword [0x5d6138]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f975a
fld qword [esi + 0x248]
fstp qword [esp + 0x90]
fld qword [esp + 0xa0]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9786
fld qword [esp + 0xa0]
fld qword [0x5d6138]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f9793
fld qword [esi + 0x250]
fstp qword [esp + 0x98]
mov ecx, dword [esi + 0x2a0]
lea eax, [esi + 0x298]
mov dword [esp + 0x80], eax
mov eax, dword [eax]
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4f9910
mov eax, dword [esi + 0x29c]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
push edx
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004f5a90
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x4f9810
fld qword [esp + 0xc0]
lea edx, [esp + 0x90]
push edx
fstp qword [esp + 0x9c]
lea eax, [esp + 0x4c]
push eax
call sym.vidcap60.exe__SFHSL_To_SFDIBPIXEL_8
jmp 0x4f981b
fld qword [esp + 0xc0]
fstp dword [esp + 0x4c]
test byte [esi + 4], 1
lea eax, [esp + 0x48]
mov dword [esp + 0x28], eax
je 0x4f9857
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
fadd dword [esp + 0x4c]
lea eax, [esp + 0x68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], eax
fadd dword [esp + 0x50]
fmul dword [0x5eb204]
fst dword [esp + 0x70]
fst dword [esp + 0x6c]
fstp dword [esp + 0x68]
test eax, eax
je 0x4f98ba
lea edx, [esp + 0x30]
test edx, edx
je 0x4f98ba
mov ebx, dword [esp + 0x28]
fld dword [ebx]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [ebx + 4]
fmul dword [0x5e9648]
xor ecx, ecx
mov ch, al
mov dword [esp + 0x3c], ecx
call fcn.005c4484
mov ecx, dword [esp + 0x3c]
mov cl, al
mov eax, ebx
fld dword [eax + 8]
fmul dword [0x5e9648]
shl ecx, 8
mov dword [esp + 0x3c], ecx
call fcn.005c4484
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
movzx ecx, al
mov eax, dword [esp + 0x3c]
or eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 0xf00021
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push eax
push 1
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x2a0]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4f97b4
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
dec eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov eax, 1
sub eax, ecx
add edx, eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x20], edx
je 0x4f9970
mov eax, dword [0x622254]
mov edx, dword [eax + 0xc]
push 0
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edi
push edx
call dword [eax + 0x7c]
jmp 0x4f9980
push 0xf
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov edx, dword [esi + 0x2ac]
mov eax, dword [esi + 0x2b4]
sub eax, edx
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
mov dword [esp + 0x38], eax
fadd dword [0x5eb988]
call fcn.005c4484
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x25c]
sub ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x260]
mov dword [esp + 0x38], ecx
mov ecx, dword [esi + 0x258]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x264]
push edx
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0x5c], ecx
call sym.vidcap60.exe__SFDIBPIXEL_To_SFHSL_8
fld qword [esp + 0x98]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9a2f
fld qword [esp + 0xa0]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9a2f
fld qword [esp + 0xa0]
fld qword [0x5d6138]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f9a3c
fld qword [esi + 0x248]
fstp qword [esp + 0x90]
fld qword [esp + 0xa0]
fld qword [0x5d8c90]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f9a68
fld qword [esp + 0xa0]
fld qword [0x5d6138]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4f9a75
fld qword [esi + 0x250]
fstp qword [esp + 0x98]
mov ecx, dword [esi + 0x2b0]
lea eax, [esi + 0x2a8]
mov dword [esp + 0x7c], eax
mov eax, dword [eax]
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4f9beb
mov eax, dword [esi + 0x2ac]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc0]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x7c]
push edx
mov dword [esp + 0x60], ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004f5a90
mov eax, dword [esi + 0x23c]
test eax, eax
je 0x4f9aec
fld qword [esp + 0xc0]
lea edx, [esp + 0x90]
push edx
fstp qword [esp + 0xa4]
lea eax, [esp + 0x4c]
push eax
call sym.vidcap60.exe__SFHSL_To_SFDIBPIXEL_8
jmp 0x4f9af7
fld qword [esp + 0xc0]
fstp dword [esp + 0x48]
test byte [esi + 4], 1
lea eax, [esp + 0x48]
mov dword [esp + 0x28], eax
je 0x4f9b33
fld dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
fadd dword [esp + 0x4c]
lea eax, [esp + 0x68]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x28], eax
fadd dword [esp + 0x50]
fmul dword [0x5eb204]
fst dword [esp + 0x70]
fst dword [esp + 0x6c]
fstp dword [esp + 0x68]
test eax, eax
je 0x4f9b95
lea edx, [esp + 0x30]
test edx, edx
je 0x4f9b95
mov ebx, dword [esp + 0x28]
fld dword [ebx + 4]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [ebx]
fmul dword [0x5e9648]
movzx eax, al
mov dword [esp + 0x3c], eax
call fcn.005c4484
mov ecx, dword [esp + 0x3c]
mov ch, al
mov eax, ebx
fld dword [eax + 8]
fmul dword [0x5e9648]
shl ecx, 8
mov dword [esp + 0x3c], ecx
call fcn.005c4484
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
movzx ecx, al
mov eax, dword [esp + 0x3c]
or eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push 0xf00021
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
push eax
push 1
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x2b0]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4f9a93
mov edx, dword [esp + 0x7c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
dec eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc ecx
dec eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov eax, 1
sub eax, ecx
add edx, eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x20], edx
je 0x4f9c48
mov eax, dword [0x622254]
mov edx, dword [eax + 0xc]
push 0
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edi
push edx
call dword [eax + 0x7c]
jmp 0x4f9c58
push 0xf
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esi + 0x428]
test eax, eax
jne 0x4f9da3
mov ecx, dword [esi + 0x2c0]
lea eax, [esi + 0x2b8]
mov dword [esp + 0x28], eax
mov eax, dword [eax]
cmp eax, ecx
mov dword [esp + 0x24], eax
jge 0x4f9de0
jmp 0x4f9c90
mov eax, dword [esi + 0x2bc]
cmp eax, dword [esi + 0x2c4]
mov dword [esp + 0x34], eax
jge 0x4f9d8a
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov edi, edi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0xc0]
push eax
mov dword [esp + 0x64], edx
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.004f5a90
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.004f6780
lea edx, [esp + 0x48]
test edx, edx
je 0x4f9d37
lea eax, [esp + 0x30]
test eax, eax
je 0x4f9d37
fld dword [esp + 0x48]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [esp + 0x4c]
fmul dword [0x5e9648]
xor ebx, ebx
mov bh, al
call fcn.005c4484
fld dword [esp + 0x50]
fmul dword [0x5e9648]
mov bl, al
shl ebx, 8
call fcn.005c4484
movzx ecx, al
or ebx, ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x24]
push 0xf00021
push 1
push 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov edx, dword [esp + 0x10]
push edx
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x2c4]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4f9cb0
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x2c0]
inc eax
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x4f9c90
jmp 0x4f9de0
mov edx, dword [esi + 0x424]
mov eax, dword [esi + 0x2bc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esi + 0x2c4]
sub edx, eax
push edx
mov edx, dword [esi + 0x2c0]
lea ecx, [esi + 0x2b8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ecx]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
dec eax
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
inc ecx
dec eax
inc edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
test eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x14]
je 0x4f9e31
mov eax, dword [0x622254]
mov ecx, dword [eax + 0xc]
push 0
push 0xf
push 2
push edx
push 1
push 1
push edi
push ecx
call dword [eax + 0x7c]
jmp 0x4f9e3d
push 0xf
push 2
push edx
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
mov ecx, dword [esi + 4]
test cl, 1
lea eax, [esi + 0x258]
mov dword [esp + 0x78], eax
je 0x4f9e8e
fld dword [esi + 0x260]
mov dword [esp + 0xbc], 0x3f800000
fadd dword [esi + 0x25c]
fadd dword [eax]
lea eax, [esp + 0xb0]
mov dword [esp + 0x78], eax
fmul dword [0x5eb204]
fst dword [esp + 0xb0]
fst dword [esp + 0xb4]
fstp dword [esp + 0xb8]
test cl, 2
je 0x4fa167
mov edx, dword [esi + 0x2c8]
mov eax, dword [esi + 0x2d0]
lea ecx, [esi + 0x2c8]
sub eax, edx
sub eax, dword [esp + 0x38]
mov dword [esp + 0x2c], ecx
cdq
mov ecx, 5
idiv ecx
mov ecx, dword [esi + 0x2d4]
mov dword [esp + 0xd4], eax
mov eax, dword [esi + 0x2cc]
cmp eax, ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], eax
jge 0x4fa221
mov edi, edi
mov ecx, dword [esp + 0x34]
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
and eax, 0x80000001
jns 0x4f9f00
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov dword [esp + 0x60], ecx
lea ecx, [esp + 0xc0]
push ecx
mov dword [esp + 0x60], edx
push eax
lea edx, [esp + 0x64]
push edx
call fcn.004f5a90
fld qword [esp + 0xc8]
fld dword [0x5e971c]
mov eax, dword [esp + 0x78]
fsub st(1)
fld st(0)
fmul dword [eax + 8]
fld st(2)
fmul dword [0x5eb988]
fld st(0)
fadd st(2)
fstp dword [esp + 0x70]
fld st(2)
fmul dword [eax + 4]
fst dword [esp + 0x44]
fadd st(1)
fstp dword [esp + 0x6c]
fxch st(2)
fmul dword [eax]
lea eax, [esp + 0xd0]
test eax, eax
fst dword [esp + 0x64]
fadd st(2)
fstp dword [esp + 0x68]
fstp st(1)
fld st(1)
fadd st(1)
fstp dword [esp + 0xf8]
fstp st(0)
fld dword [esp + 0x44]
fadd st(1)
fstp dword [esp + 0xf4]
fadd dword [esp + 0x64]
je 0x4f9fe5
fld dword [esp + 0x68]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [esp + 0x6c]
fmul dword [0x5e9648]
xor ebx, ebx
mov bh, al
call fcn.005c4484
fld dword [esp + 0x70]
fmul dword [0x5e9648]
mov bl, al
shl ebx, 8
call fcn.005c4484
movzx ecx, al
or ebx, ecx
mov dword [esp + 0xd0], ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0xd8]
test edx, edx
je 0x4fa03c
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [esp + 0xf4]
fmul dword [0x5e9648]
xor ebx, ebx
mov bh, al
call fcn.005c4484
fld dword [esp + 0xf8]
fmul dword [0x5e9648]
mov bl, al
shl ebx, 8
call fcn.005c4484
movzx eax, al
or ebx, eax
mov dword [esp + 0xd8], ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4fa03e
fstp st(0)
mov ecx, dword [esp + 0xd0]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 0xd8]
push edx
mov dword [esp + 0x68], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x88]
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x4fa075
mov eax, dword [esp + 0x64]
push eax
push edi
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xd4]
test eax, eax
mov dword [esp + 0x24], 0
jle 0x4fa107
mov dword [esp + 0x8c], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push 0xf00021
push 1
push 5
push eax
add edx, dword [esp + 0x9c]
push edx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov edx, dword [esp + 0x88]
xor eax, eax
test edx, edx
sete al
mov dword [esp + 0x88], eax
test eax, eax
mov eax, dword [esp + 0x44]
jne 0x4fa0e7
mov eax, dword [esp + 0x64]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x3c]
add ecx, 5
dec eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x3c], eax
jne 0x4fa0a3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
push 0xf00021
push 1
push eax
mov eax, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x38]
push ecx
add edx, dword [eax]
push edx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call ebx
mov edx, dword [esp + 0x64]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x2d4]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4f9ee0
jmp 0x4fa221
test eax, eax
je 0x4fa1c9
lea ecx, [esp + 0x30]
test ecx, ecx
je 0x4fa1c9
mov ebx, dword [esp + 0x78]
fld dword [ebx + 4]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [ebx]
fmul dword [0x5e9648]
movzx eax, al
mov dword [esp + 0x40], eax
call fcn.005c4484
mov ecx, dword [esp + 0x40]
mov ch, al
mov edx, ebx
fld dword [edx + 8]
fmul dword [0x5e9648]
shl ecx, 8
mov dword [esp + 0x40], ecx
call fcn.005c4484
mov ecx, dword [esp + 0x40]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
movzx eax, al
or ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
mov edx, dword [esi + 0x2d4]
push 0xf00021
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2cc]
sub edx, eax
push edx
mov edx, dword [esi + 0x2d0]
lea ecx, [esi + 0x2c8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx]
sub edx, ecx
sub edx, dword [esp + 0x40]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
dec ecx
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
inc eax
dec ecx
mov dword [esp + 0x18], ecx
sub eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
inc edx
test eax, eax
mov dword [esp + 0x20], edx
je 0x4fa276
mov eax, dword [0x622254]
mov edx, dword [eax + 0xc]
push 0
push 0xf
push 2
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edi
push edx
call dword [eax + 0x7c]
jmp 0x4fa286
push 0xf
push 2
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
test byte [esi + 4], 0x40
je 0x4fa7a3
mov eax, dword [esi + 0x2f8]
test eax, eax
je 0x4fa7a3
push 0xffff
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
push 0x4040
push 1
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x31c]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x328]
mov dword [esp + 0xf4], eax
mov eax, dword [esi + 0x324]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [esp + 0xf8], eax
mov eax, dword [esi + 0x324]
push 3
lea edx, [esp + 0xf4]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esi + 0x320]
mov dword [esp + 0x104], eax
mov eax, dword [esi + 0x328]
push edx
push edi
mov dword [esp + 0x108], ecx
mov dword [esp + 0x110], eax
call dword [sym.imp.GDI32.dll_Polygon]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x40]
push ecx
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x2f8]
cmp eax, 3
jne 0x4fa3ff
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x328]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x320]
mov edx, ecx
sub edx, eax
shl edx, 1
mov eax, 0x66666667
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x320]
sub ecx, eax
sub ecx, edx
push 0xf00021
add eax, edx
mov edx, dword [esi + 0x31c]
sub ecx, 4
push ecx
push 1
push eax
mov eax, dword [esi + 0x324]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [esi + 0x31c]
sar eax, 1
add eax, edx
push eax
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [esi + 0x31c]
mov edx, dword [esi + 0x328]
mov eax, dword [esi + 0x324]
push 0xf00021
push 2
push 1
sub eax, ecx
sub edx, 3
push edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
jmp 0x4fa633
cmp eax, 2
jne 0x4fa4f4
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x31c]
mov edx, dword [esi + 0x328]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x324]
sub eax, ecx
push 0
sub edx, 2
lea eax, [eax + eax*2]
push edx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x328]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esi + 0x328]
mov ecx, dword [esi + 0x31c]
sub eax, 2
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*4]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x328]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*4]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x4fa638
cmp eax, 1
jne 0x4fa642
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x31c]
mov edx, dword [esi + 0x328]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x324]
sub eax, ecx
push 0
sub edx, 2
lea eax, [eax + eax*2]
push edx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x328]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x328]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov ecx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*4]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x328]
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov ecx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*4]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esi + 0x320]
mov eax, dword [esi + 0x328]
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, ecx
mov ecx, dword [esi + 0x31c]
push eax
mov eax, dword [esi + 0x324]
sub eax, ecx
lea eax, [eax + eax*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test byte [esi + 4], 1
lea eax, [esi + 0x2fc]
mov dword [esp + 0x44], eax
je 0x4fa691
fld dword [esi + 0x304]
mov dword [esp + 0xbc], 0x3f800000
fadd dword [esi + 0x300]
fadd dword [eax]
lea eax, [esp + 0xb0]
mov dword [esp + 0x44], eax
fmul dword [0x5eb204]
fst dword [esp + 0xb0]
fst dword [esp + 0xb4]
fstp dword [esp + 0xb8]
test eax, eax
je 0x4fa6f3
lea ecx, [esp + 0x30]
test ecx, ecx
je 0x4fa6f3
mov ebx, dword [esp + 0x44]
fld dword [ebx + 4]
fmul dword [0x5e9648]
call fcn.005c4484
fld dword [ebx]
fmul dword [0x5e9648]
movzx eax, al
mov dword [esp + 0x40], eax
call fcn.005c4484
mov ecx, dword [esp + 0x40]
mov ch, al
mov edx, ebx
fld dword [edx + 8]
fmul dword [0x5e9648]
shl ecx, 8
mov dword [esp + 0x40], ecx
call fcn.005c4484
mov ecx, dword [esp + 0x40]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
movzx eax, al
or ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push edi
call ebx
mov edx, dword [esi + 0x318]
mov ecx, dword [esi + 0x30c]
push 0xf00021
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x310]
sub edx, eax
push edx
mov edx, dword [esi + 0x314]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_PatBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call ebx
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0x30c]
mov edx, dword [esi + 0x314]
mov ecx, dword [esi + 0x310]
mov ebx, dword [esi + 0x318]
dec eax
inc edx
dec ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
inc ebx
test eax, eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
je 0x4fa793
mov eax, dword [0x622254]
mov edx, dword [eax + 0xc]
push 0
push 0xf
push 8
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edi
push edx
call dword [eax + 0x7c]
jmp 0x4fa7a3
push 0xf
push 8
lea eax, [esp + 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawEdge]
test byte [esi + 4], 1
jne case.default.0x4fa7bd
mov eax, dword [esi + 0x244]
dec eax
cmp eax, 7
ja case.default.0x4fa7bd
jmp dword [eax*4 + 0x4fa854]
add esi, 0x2d8
jmp 0x4fa7ff
mov esi, dword [esp + 0xec]
jmp 0x4fa7ff
mov esi, dword [esp + 0x84]
jmp 0x4fa7ff
mov esi, dword [esp + 0x80]
jmp 0x4fa7ff
mov esi, dword [esp + 0x7c]
jmp 0x4fa7ff
mov esi, dword [esp + 0x2c]
jmp 0x4fa7ff
mov esi, dword [esp + 0x28]
jmp 0x4fa7ff
add esi, 0x30c
test esi, esi
je case.default.0x4fa7bd
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
sub ecx, 2
mov dword [esp + 0xb4], ecx
lea ecx, [esp + 0xb0]
push ecx
sub eax, 2
add esi, 2
add edx, 2
push edi
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8