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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x799b62
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x4ff4fa
mov esi, dword [ebp + 0xc]
cmp esi, ebx
jl InflateRect
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je OffsetRect
cmp dword [ebp + 0x14], ebx
je 0x4ff4fa
cmp dword [ebp + 0x18], ebx
je 0x4ff4fa
xor edx, edx
inc esi
mov dword [esp + 0x18], 0x7cb8c8
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
cmp esi, ebx
mov dword [esp + 0xd0], ebx
jne 0x4fea59
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
jmp 0x4fea80
lea eax, [esi*8]
push eax
call fcn.007604a7
add esp, 4
mov dword [esp + 0x1c], eax
push esi
push eax
call fcn.00422cd0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 1
jne 0x4feaae
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
jmp 0x4fead5
lea ecx, [esi*8]
push ecx
call fcn.007604a7
add esp, 4
mov dword [esp + 0x44], eax
push esi
push eax
call fcn.00422cd0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 2
jne 0x4feb03
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
jmp 0x4feb2a
lea edx, [esi*8]
push edx
call fcn.007604a7
add esp, 4
mov dword [esp + 0x30], eax
push esi
push eax
call fcn.00422cd0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0xb4], method.CCommandLineInfo.virtual_0
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 3
jne GetParent
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebx
jmp 0x4feb9d
lea eax, [esi*8]
push eax
call fcn.007604a7
add esp, 4
mov dword [esp + 0xb8], eax
push esi
push eax
call fcn.00422cd0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0x70], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 4
jne 0x4febce
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
jmp 0x4febf5
lea ecx, [esi*8]
push ecx
call fcn.007604a7
add esp, 4
mov dword [esp + 0x74], eax
push esi
push eax
call fcn.00422cd0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x5c], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 5
jne 0x4fec23
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ebx
jmp 0x4fec4a
lea edx, [esi*8]
push edx
call fcn.007604a7
add esp, 4
mov dword [esp + 0x60], eax
push esi
push eax
call fcn.00422cd0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
fild dword [ecx]
fstp qword [eax]
fild dword [ecx + 4]
mov eax, dword [ebp + 0x18]
fstp qword [eax]
xor eax, eax
cmp esi, ebx
jle reloc.USER32.dll_GetTopWindow
jmp 0x4fec6b
mov ecx, dword [ebp + 8]
cmp eax, ebx
jne 0x4fecb5
mov ecx, dword [esp + 0x60]
mov dword [ecx], ebx
mov edx, dword [esp + 0x60]
mov dword [edx + 4], ebx
mov ecx, dword [esp + 0x74]
mov dword [ecx], ebx
mov edx, dword [esp + 0x74]
mov dword [edx + 4], ebx
mov ecx, dword [esp + 0x30]
mov dword [ecx], ebx
mov edx, dword [esp + 0x30]
mov dword [edx + 4], ebx
mov ecx, dword [esp + 0x44]
mov dword [ecx], ebx
mov edx, dword [esp + 0x44]
mov dword [edx + 4], ebx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], ebx
mov edx, dword [esp + 0x1c]
mov dword [edx + 4], ebx
jmp WinHelpA
cmp eax, 1
jne 0x4fed37
fld qword [edi + 0x18]
fadd qword [edi + 0x20]
fld qword [edi + 0x18]
fdiv st(1)
fstp qword [esp + 0x54]
fdivr qword [edi + 0x20]
fld qword [edi + 0x28]
fadd qword [edi + 0x18]
fadd qword [edi + 0x20]
fdivr qword [edi + 0x18]
fstp qword [esp + 0xc]
fld st(0)
fmul qword [esp + 0x54]
fsubr qword [0x7d2400]
fstp qword [edx + 8]
mov edx, dword [esp + 0x44]
fsub qword [esp + 0xc]
fmul qword [esp + 0x54]
fstp qword [edx + 8]
fld qword [esp + 0xc]
fmul qword [esp + 0x54]
mov edx, dword [esp + 0x30]
fstp qword [edx + 8]
mov edx, dword [ecx]
add edx, dword [ecx + 8]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x74]
fild dword [esp + 0xc]
fstp qword [edx + 8]
mov edx, dword [ecx + 4]
add edx, dword [ecx + 0xc]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fstp qword [ecx + 8]
jmp WinHelpA
fld qword [edi + eax*8]
lea ecx, [esi - 1]
cmp eax, ecx
jne 0x4fedc8
fadd qword [edi + eax*8 + 8]
fld qword [edi + eax*8 + 8]
fdiv st(1)
fstp qword [esp + 0x54]
fld qword [edi + eax*8 - 8]
fadd qword [edi + eax*8]
fadd qword [edi + eax*8 + 8]
fdivr qword [edi + eax*8 + 8]
fstp qword [esp + 0xc]
fdivr qword [edi + eax*8]
fld qword [esp + 0xc]
fmul qword [esp + 0x54]
fchs
fstp qword [edx + eax*8]
fld qword [esp + 0xc]
mov edx, dword [esp + 0x44]
fsub st(1)
fmul qword [esp + 0x54]
fstp qword [edx + eax*8]
mov ecx, dword [esp + 0x30]
fmul qword [esp + 0x54]
fsub qword [0x7d2400]
fstp qword [ecx + eax*8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax*8 - 0x10]
add edx, dword [ecx + eax*8 - 8]
neg edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x74]
fild dword [esp + 0xc]
fstp qword [edx + eax*8]
mov edx, dword [ecx + eax*8 - 0xc]
add edx, dword [ecx + eax*8 - 4]
neg edx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
jmp DestroyIcon
fadd qword [edi + eax*8 + 0x10]
fadd qword [edi + eax*8 + 8]
fdivr qword [edi + eax*8 + 0x10]
fld qword [edi + eax*8 + 0x18]
fadd qword [edi + eax*8 + 0x10]
fadd qword [edi + eax*8 + 8]
fdivr qword [edi + eax*8 + 8]
fstp qword [esp + 0x54]
fld st(0)
fmul qword [edi + eax*8 + 0x10]
fstp qword [edx + eax*8]
fld qword [edi + eax*8 + 0x18]
fadd qword [edi + eax*8 + 0x10]
mov edx, dword [esp + 0x44]
fmul qword [esp + 0x54]
fld qword [edi + eax*8]
fadd qword [edi + eax*8 + 8]
fmul st(2)
faddp st(1)
fstp qword [edx + eax*8]
mov ecx, dword [esp + 0x30]
fstp st(0)
fld qword [esp + 0x54]
fmul qword [edi + eax*8 + 8]
fstp qword [ecx + eax*8]
fld qword [edi + eax*8 + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x74]
fadd qword [edi + eax*8 + 8]
fimul dword [ecx + eax*8 - 8]
fstp qword [edx + eax*8]
fld qword [edi + eax*8 + 0x10]
fadd qword [edi + eax*8 + 8]
fimul dword [ecx + eax*8 - 4]
mov ecx, dword [esp + 0x60]
fstp qword [ecx + eax*8]
mov edx, dword [esp + 0x1c]
inc eax
cmp eax, esi
jl reloc.USER32.dll_RemovePropA
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xb0], ebx
fld qword [ecx + 8]
fcomp qword [0x7ca988]
fnstsw ax
test ah, 0x40
jne 0x4fef75
fld qword [ecx + 0x10]
fcomp qword [0x7ca988]
fnstsw ax
test ah, 0x40
jne 0x4feed4
fld qword [ecx + 8]
fdiv qword [ecx + 0x10]
fld st(0)
fmul qword [edx + 0x10]
fsubr qword [edx + 8]
fstp qword [edx + 8]
mov eax, dword [esp + 0x44]
fld st(0)
fmul qword [eax + 0x10]
fsubr qword [eax + 8]
fstp qword [eax + 8]
mov edx, dword [esp + 0x30]
fld st(0)
mov dword [edx + 8], ebx
mov eax, dword [esp + 0x30]
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x74]
fmul qword [eax + 0x10]
fsubr qword [eax + 8]
fstp qword [eax + 8]
mov eax, dword [esp + 0x60]
fmul qword [eax + 0x10]
fsubr qword [eax + 8]
fstp qword [eax + 8]
jmp ValidateRect
fld qword [edx + 8]
lea eax, [edx + 8]
add edx, 0x10
mov dword [esp + 0xb0], 1
mov ecx, dword [edx]
mov dword [eax], ecx
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
fstp qword [eax + 0x10]
mov ecx, dword [esp + 0x44]
fld qword [ecx + 8]
lea eax, [ecx + 8]
add ecx, 0x10
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x44]
fstp qword [edx + 0x10]
mov ecx, dword [esp + 0x30]
fld qword [ecx + 8]
lea eax, [ecx + 8]
add ecx, 0x10
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x30]
fstp qword [edx + 0x10]
mov ecx, dword [esp + 0x74]
fld qword [ecx + 8]
lea eax, [ecx + 8]
add ecx, 0x10
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x74]
fstp qword [edx + 0x10]
mov ecx, dword [esp + 0x60]
fld qword [ecx + 8]
lea eax, [ecx + 8]
add ecx, 0x10
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x60]
fstp qword [edx + 0x10]
mov edx, dword [esp + 0x1c]
lea edi, [esi*8]
mov dword [esp + 0xc], ebx
fld qword [edi + edx - 8]
fcomp qword [0x7ca988]
lea ecx, [edi + edx - 8]
fnstsw ax
test ah, 0x40
jne SetDlgItemTextA
fld qword [edx + esi*8 - 0x10]
fcomp qword [0x7ca988]
lea edx, [edx + esi*8 - 0x10]
fld qword [ecx]
fnstsw ax
test ah, 0x40
jne 0x4ff002
fdiv qword [edx]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov eax, dword [esp + 0x44]
fld st(0)
fmul qword [eax + esi*8 - 0x10]
fsubr qword [edi + eax - 8]
fstp qword [edi + eax - 8]
mov eax, dword [esp + 0x30]
fld st(0)
fmul qword [eax + esi*8 - 0x10]
fsubr qword [edi + eax - 8]
fstp qword [edi + eax - 8]
mov eax, dword [esp + 0x74]
fld st(0)
fmul qword [eax + esi*8 - 0x10]
fsubr qword [edi + eax - 8]
fstp qword [edi + eax - 8]
mov eax, dword [esp + 0x60]
fmul qword [eax + esi*8 - 0x10]
fsubr qword [edi + eax - 8]
fstp qword [edi + eax - 8]
jmp GetSystemMenu
mov eax, dword [edx]
mov dword [esp + 0xc], 1
mov dword [ecx], eax
mov edx, dword [edx + 4]
mov dword [ecx + 4], edx
mov eax, dword [esp + 0x1c]
fstp qword [eax + esi*8 - 0x10]
mov ecx, dword [esp + 0x44]
fld qword [edi + ecx - 8]
lea eax, [edi + ecx - 8]
lea ecx, [ecx + esi*8 - 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x44]
fstp qword [edx + esi*8 - 0x10]
mov ecx, dword [esp + 0x30]
fld qword [edi + ecx - 8]
lea eax, [edi + ecx - 8]
lea ecx, [ecx + esi*8 - 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x30]
fstp qword [edx + esi*8 - 0x10]
mov ecx, dword [esp + 0x74]
fld qword [edi + ecx - 8]
lea eax, [edi + ecx - 8]
lea ecx, [ecx + esi*8 - 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x74]
fstp qword [edx + esi*8 - 0x10]
mov ecx, dword [esp + 0x60]
fld qword [edi + ecx - 8]
lea eax, [edi + ecx - 8]
lea ecx, [ecx + esi*8 - 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x60]
fstp qword [edx + esi*8 - 0x10]
mov dword [esp + 0x98], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 6
jne 0x4ff0e7
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebx
jmp 0x4ff10c
push edi
call fcn.007604a7
add esp, 4
mov dword [esp + 0x9c], eax
push esi
push eax
call fcn.00422cd0
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x84], method.CCommandLineInfo.virtual_0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
cmp esi, ebx
mov byte [esp + 0xd0], 7
jne 0x4ff14f
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
jmp 0x4ff174
push edi
call fcn.007604a7
add esp, 4
mov dword [esp + 0x88], eax
push esi
push eax
call fcn.00422cd0
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], esi
xor eax, eax
cmp esi, ebx
jle 0x4ff1ab
mov ecx, dword [esp + 0x9c]
inc eax
cmp eax, esi
mov dword [ecx + eax*8 - 8], ebx
mov edx, dword [esp + 0x9c]
mov dword [edx + eax*8 - 4], ebx
mov ecx, dword [esp + 0x88]
mov dword [ecx + eax*8 - 8], ebx
mov edx, dword [esp + 0x88]
mov dword [edx + eax*8 - 4], ebx
jl 0x4ff17a
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x30]
add eax, 8
push esi
mov ecx, dword [eax]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
add edx, 8
mov eax, dword [edx]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x48]
mov edx, dword [edx + 4]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0x20]
mov dword [ecx + 8], ebx
mov edx, dword [esp + 0x20]
mov dword [edx + 0xc], ebx
mov eax, dword [esp + 0x48]
lea ecx, [edi + eax - 8]
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
mov dword [edi + eax - 8], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [ecx + 4]
mov dword [edi + edx - 4], ecx
mov eax, dword [esp + 0x34]
lea ecx, [edi + eax - 8]
mov eax, dword [esp + 0x48]
mov edx, dword [ecx]
mov dword [edi + eax - 8], edx
mov edx, dword [esp + 0x48]
mov ecx, dword [ecx + 4]
mov dword [edi + edx - 4], ecx
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x9c]
mov dword [edi + eax - 8], ebx
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x74]
push edx
mov dword [edi + ecx - 4], ebx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x4c]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004ffb40
lea ecx, [esp + 0x9c]
push esi
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x64]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call fcn.004ffb40
mov ecx, 1
add esp, 0x30
cmp esi, ecx
mov dword [esp + 0xac], ecx
jle Polygon
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
sub edx, eax
mov dword [esp + 0x54], edx
jmp reloc.GDI32.dll_EndDoc
mov edx, dword [esp + 0x54]
mov eax, dword [ebp + 0x18]
mov ebx, dword [esp + 0x9c]
lea eax, [eax + ecx*8]
lea ecx, [ebx + ecx*8]
mov ebx, dword [ecx]
mov dword [edx + eax], ebx
mov ecx, dword [ecx + 4]
mov dword [edx + eax + 4], ecx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0xac]
lea edx, [edx + ecx*8]
inc ecx
cmp ecx, esi
mov dword [esp + 0xac], ecx
mov ebx, dword [edx]
mov dword [eax], ebx
mov edx, dword [edx + 4]
mov dword [eax + 4], edx
jl 0x4ff29c
xor ebx, ebx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
fild dword [edx + eax*8 - 8]
fstp qword [edi + ecx]
fild dword [edx + eax*8 - 4]
mov eax, dword [ebp + 0x18]
mov edx, dword [esp + 0xb0]
cmp edx, ebx
fstp qword [edi + eax]
je reloc.GDI32.dll_FillRgn
mov edx, dword [ecx + 0x10]
fld qword [ecx + 8]
mov dword [ecx + 8], edx
mov edx, dword [ecx + 0x14]
fstp qword [ecx + 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
fld qword [eax + 8]
mov dword [eax + 8], edx
mov edx, dword [eax + 0x14]
fstp qword [eax + 0x10]
mov dword [eax + 0xc], edx
cmp dword [esp + 0xc], ebx
je 0x4ff36e
fld qword [ecx + esi*8 - 0x10]
lea edx, [edi + ecx - 8]
lea edi, [edi + eax - 8]
mov dword [esp + 0xc], edx
mov edx, dword [edx]
mov dword [ecx + esi*8 - 0x10], edx
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 4]
mov dword [ecx + esi*8 - 0xc], edx
mov ecx, dword [esp + 0xc]
fstp qword [ecx]
mov edx, dword [edi]
fld qword [eax + esi*8 - 0x10]
mov dword [eax + esi*8 - 0x10], edx
mov ecx, dword [edi + 4]
mov dword [eax + esi*8 - 0xc], ecx
fstp qword [edi]
cmp dword [esp + 0x20], ebx
je 0x4ff380
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x20]
call fcn.00421d50
cmp dword [esp + 0x48], ebx
je 0x4ff392
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x48]
call fcn.00421d50
cmp dword [esp + 0x34], ebx
je 0x4ff3a4
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
call fcn.00421d50
cmp dword [esp + 0x78], ebx
je 0x4ff3b6
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x78]
call fcn.00421d50
cmp dword [esp + 0x64], ebx
je 0x4ff3c8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x64]
call fcn.00421d50
cmp dword [esp + 0xa0], ebx
je 0x4ff3e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa0]
call fcn.00421d50
cmp dword [esp + 0x8c], ebx
je 0x4ff3f8
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x8c]
call fcn.00421d50
mov esi, 0x7cb8c8
mov dword [esp + 0x84], esi
mov eax, dword [esp + 0x88]
mov byte [esp + 0xd0], 8
cmp eax, ebx
je 0x4ff420
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x98], esi
mov eax, dword [esp + 0x9c]
mov byte [esp + 0xd0], 9
cmp eax, ebx
je 0x4ff443
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x60]
mov byte [esp + 0xd0], 0xa
cmp eax, ebx
je 0x4ff460
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x70], esi
mov eax, dword [esp + 0x74]
mov byte [esp + 0xd0], 0xb
cmp eax, ebx
je ScaleViewportExtEx
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0xb4], esi
mov eax, dword [esp + 0xb8]
mov byte [esp + 0xd0], 0xc
cmp eax, ebx
je 0x4ff4a0
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
mov byte [esp + 0xd0], 0xd
cmp eax, ebx
je 0x4ff4bd
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
mov byte [esp + 0xd0], 0xe
cmp eax, ebx
je 0x4ff4da
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xd0], 0xf
cmp eax, ebx
je 0x4ff4fa
push eax
call fcn.007604d0
add esp, 4
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
mov dword fs:[CreateBitmap], ecx
pop ebx
mov esp, ebp
pop ebp
ret