Function at 0x42ffd0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x54a908
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3720]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov edi, dword [esp + 0x130]
mov ecx, edi
call fcn.004ffdf5
xor ebx, ebx
mov dword [esp + 0x128], ebx
mov dword [edi + 0x54], vtable.IMultiLanguageUI.0
lea ebp, [edi + 0x68]
mov ecx, ebp
mov dword [edi], vtable.CDeviceTabCtrl.0
mov dword [edi + 0x54], vtable.CDeviceTabCtrl.1.0
call fcn.0050ad51
lea esi, [edi + 0x78]
push 0xa
mov ecx, esi
mov byte [esp + 0x12c], 1
call fcn.00506d99
mov dword [esi], vtable.CTypedPtrList_class_CPtrList__class_CMainTabSettingDlg__.0
mov dword [edi + 0x9c], ebx
mov dword [edi + 0x98], vtable.CBrush.0
mov byte [esp + 0x128], 3
call fcn.005089e3
cmp eax, ebx
je 0x43007a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
cmp eax, ebx
jne 0x43007e
xor eax, eax
jmp 0x430090
mov eax, dword [eax + 0x60]
cmp eax, ebx
jne 0x430089
xor eax, eax
jmp 0x430090
add dword [eax + 0x1ab8], 1
cmp eax, ebx
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], ebx
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
je 0x4300ac
lea ecx, [eax + 0x1a5c]
mov dword [edi + 0x74], ecx
mov edi, dword [esp + 0x130]
add edi, 0xa0
cmp eax, ebx
mov ecx, 0x12
mov esi, 0x5b63f0
rep movsd dword es:[edi], dword [esi]
je 0x4300e8
cmp dword [eax + 0x500], ebx
je 0x4300e8
mov eax, dword [eax + 0x500]
mov ecx, dword [esp + 0x130]
mov edx, dword [eax]
mov edx, dword [edx + 0x74]
push ecx
mov ecx, eax
call edx
fld qword [0x5b65b8]
push 9
fld qword [0x58bf10]
push 9
fmul st(1), st(0)
push 0x20
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
push eax
call fcn.005296d0
push eax
mov ecx, ebp
call fcn.0050b0bf
mov edi, dword [esp + 0x130]
lea esi, [edi + 0xa4]
mov ebp, 9
lea esp, [esp]
push 0x5bed4c
mov dword [esp + 0x18], vtable.ATL::CImage.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x5bed64], 1
push 0x5bed4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], vtable.CImageEx.0
mov dword [esp + 0x44], ebx
mov byte [esp + 0x128], 4
call fcn.00506c00
mov ecx, dword [esi]
mov eax, dword [eax + 8]
push 1
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004616a0
mov eax, dword [esp + 0x18]
push eax
call fcn.005079af
cmp eax, ebx
jne 0x4301c6
xor eax, eax
jmp 0x4301c9
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x6c]
push 0xffffff
push eax
push ecx
call fcn.00506c00
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00417260
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.ATL::CImage.0
je 0x430221
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0xffffffff
mov byte [esp + 0x35], bl
mov byte [esp + 0x34], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5bed4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [0x5bed64], 1
jne 0x430260
push 0x5bed4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5bed48]
cmp eax, ebx
je 0x43024f
push eax
call sub.gdiplus.dll_GdiplusShutdown
push 0x5bed4c
mov dword [0x5bed48], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5bed4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esi, 8
sub ebp, 1
jne 0x430130
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5bed4c
mov dword [esp + 0x88], vtable.ATL::CImage.0
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov byte [esp + 0xa4], bl
mov byte [esp + 0xa5], bl
mov dword [esp + 0xa8], 0xffffffff
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add dword [0x5bed64], 1
push 0x5bed4c
call esi
mov edi, vtable.CImageEx.0
mov dword [esp + 0x84], edi
mov dword [esp + 0xb4], ebx
push 0x5bed4c
mov dword [esp + 0xbc], vtable.ATL::CImage.0
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], bl
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
call ebp
add dword [0x5bed64], 1
push 0x5bed4c
call esi
mov dword [esp + 0xb8], edi
mov dword [esp + 0xe8], ebx
push 0x5bed4c
mov dword [esp + 0x54], vtable.ATL::CImage.0
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], bl
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
call ebp
add dword [0x5bed64], 1
push 0x5bed4c
call esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x80], ebx
push 0x5bed4c
mov dword [esp + 0xf0], vtable.ATL::CImage.0
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov byte [esp + 0x10c], bl
mov byte [esp + 0x10d], bl
mov dword [esp + 0x110], 0xffffffff
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x11c], ebx
call ebp
add dword [0x5bed64], 1
push 0x5bed4c
call esi
mov dword [esp + 0xec], edi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x128], 8
call fcn.00506c00
mov eax, dword [eax + 8]
push 1
push 0x129
lea edx, [esp + 0x8c]
push edx
call fcn.004616a0
call fcn.00506c00
mov eax, dword [eax + 8]
push 1
push 0x12b
lea ecx, [esp + 0xc0]
push ecx
call fcn.004616a0
call fcn.00506c00
mov eax, dword [eax + 8]
push 1
push 0x127
lea edx, [esp + 0x58]
push edx
call fcn.004616a0
call fcn.00506c00
mov eax, dword [eax + 8]
push 1
push 0x124
lea ecx, [esp + 0xf4]
push ecx
call fcn.004616a0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
jmp 0x430500
push 0x5bed4c
mov dword [esp + 0x18], vtable.ATL::CImage.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call ebp
mov esi, 1
add dword [0x5bed64], esi
push 0x5bed4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x14], vtable.CImageEx.0
mov dword [esp + 0x44], ebx
mov byte [esp + 0x128], 9
call fcn.00506c00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x130]
mov edx, dword [edx + ecx*8 + 0xa4]
mov eax, dword [eax + 8]
push esi
push edx
lea ecx, [esp + 0x1c]
push ecx
call fcn.004616a0
add dword [esp + 0x3c], esi
cmp dword [esp + 0x38], ebx
jne 0x4305d6
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, 0x5bed38
push ebx
push esi
call edi
cmp eax, ebx
jne 0x4305c2
add esi, 4
cmp esi, 0x5bed48
jl 0x4305a8
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x18]
push edx
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
push eax
call fcn.005076e8
mov edi, eax
mov eax, dword [esp + 0x4c]
cmp eax, 6
ja case.default.0x4305ef
jmp dword [eax*4 + 0x430d5c]
cmp edi, ebx
jne 0x4305fe
xor edi, edi
jmp 0x430601
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fld qword [0x58c040]
fmul st(1), st(0)
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
lea esi, [esp + 0xa4]
jmp 0x43095b
cmp edi, ebx
jne 0x430651
xor edi, edi
jmp 0x430654
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fld qword [0x58c040]
fmul st(1), st(0)
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
lea esi, [esp + 0xd8]
jmp 0x43095b
cmp edi, ebx
jne 0x4306a4
xor edi, edi
jmp 0x4306a7
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fld qword [0x58c040]
fmul st(1), st(0)
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
lea esi, [esp + 0x70]
jmp 0x43095b
cmp edi, ebx
jne 0x4306ee
xor ebp, ebp
jmp 0x4306f1
mov ebp, dword [edi + 4]
fld qword [0x5b65b8]
fmul qword [0x58c040]
call fcn.005296d0
fld qword [0x5b65b0]
fmul qword [0x58bd10]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
push eax
push ebp
lea esi, [esp + 0xac]
call fcn.00402ff0
cmp edi, ebx
jne 0x430745
xor edi, edi
jmp 0x430748
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fld qword [0x58c040]
fmul st(1), st(0)
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
push eax
push edi
lea esi, [esp + 0xe0]
call fcn.00402ff0
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp case.default.0x4305ef
cmp edi, ebx
jne 0x4307a5
xor ebp, ebp
jmp 0x4307a8
mov ebp, dword [edi + 4]
fld qword [0x5b65b8]
fmul qword [0x58c040]
call fcn.005296d0
fld qword [0x5b65b0]
fmul qword [0x58bd10]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
push eax
push ebp
lea esi, [esp + 0xac]
call fcn.00402ff0
cmp edi, ebx
jne 0x4307fc
xor edi, edi
jmp 0x4307ff
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fld qword [0x58c040]
fmul st(1), st(0)
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
push eax
push edi
lea esi, [esp + 0x78]
call fcn.00402ff0
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp case.default.0x4305ef
cmp edi, ebx
jne 0x430853
xor ebp, ebp
jmp 0x430856
mov ebp, dword [edi + 4]
fld qword [0x5b65b8]
fmul qword [0x58c040]
call fcn.005296d0
fld qword [0x5b65b0]
fmul qword [0x58bd10]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xc4]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
push eax
push ebp
lea esi, [esp + 0xe0]
call fcn.00402ff0
cmp edi, ebx
jne 0x4307fc
xor edi, edi
jmp 0x4307ff
mov ecx, dword [esp + 0x130]
cmp dword [ecx + 0x5c], ebx
je 0x43090d
cmp dword [esp + 0x48], ebx
jne 0x43090d
cmp edi, ebx
jne 0x4308cb
xor edi, edi
jmp 0x4308ce
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fmul qword [0x58c040]
call fcn.005296d0
mov edx, dword [esp + 0x130]
mov ecx, dword [edx + 0x60]
mov edx, dword [esp + 0xfc]
mov esi, dword [esp + 0xf8]
push 0xff
push edx
push esi
push ebx
push ebx
push edx
push esi
push eax
push ecx
lea esi, [esp + 0x110]
jmp 0x43095c
cmp edi, ebx
jne 0x430915
xor edi, edi
jmp 0x430918
mov edi, dword [edi + 4]
fld qword [0x5b65b8]
fld qword [0x58c040]
fmul st(1), st(0)
fxch st(1)
call fcn.005296d0
fmul qword [0x5b65b0]
mov esi, eax
call fcn.005296d0
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0xf8]
push 0xff
push ecx
push edx
push ebx
push ebx
push ecx
push edx
push esi
lea esi, [esp + 0x10c]
push eax
push edi
call fcn.00402ff0
sub dword [esp + 0x3c], 1
jne 0x4309a6
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov esi, 0x5bed38
push eax
push esi
call edi
cmp eax, ebx
je 0x4309a2
add esi, 4
cmp esi, 0x5bed48
jl 0x430988
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x18]
push edx
call fcn.005079af
cmp eax, ebx
jne 0x4309b8
xor ecx, ecx
jmp 0x4309bb
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x130]
mov eax, dword [eax + 0x6c]
push 0xffffff
push ecx
push eax
call fcn.00506c00
mov ecx, dword [eax + 0x78]
mov ecx, dword [ecx]
call fcn.00417260
mov byte [esp + 0x128], 8
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.ATL::CImage.0
je 0x430a22
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0xffffffff
mov byte [esp + 0x35], bl
mov byte [esp + 0x34], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5bed4c
call ebp
sub dword [0x5bed64], 1
jne 0x430a59
push 0x5bed4c
call ebp
mov eax, dword [0x5bed48]
cmp eax, ebx
je 0x430a48
push eax
call sub.gdiplus.dll_GdiplusShutdown
push 0x5bed4c
mov dword [0x5bed48], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5bed4c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 9
mov dword [esp + 0x48], eax
jl 0x430500
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, 7
mov dword [esp + 0x4c], eax
jl 0x4304f2
mov esi, dword [esp + 0x130]
mov eax, dword [esi + 0x6c]
push eax
call fcn.00506c00
mov edx, dword [eax + 0x78]
mov ecx, dword [edx]
call fcn.00433630
mov dword [esi + 0x94], ebx
cmp dword [0x5bef2c], ebx
jne 0x430ac9
push 0x5bef28
mov dword [0x5bef28], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [0x5bef2c], 6
jne 0x430ae1
cmp dword [0x5bef30], ebx
jne 0x430ae1
mov eax, 1
jmp 0x430ae3
xor eax, eax
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0xf0]
cmp eax, ebx
mov dword [esp + 0xec], vtable.ATL::CImage.0
je 0x430b46
push eax
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x110], 0xffffffff
mov byte [esp + 0x10d], bl
mov byte [esp + 0x10c], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5bed4c
call ebp
sub dword [0x5bed64], 1
jne 0x430b81
push 0x5bed4c
call ebp
mov eax, dword [0x5bed48]
cmp eax, ebx
je 0x430b6c
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5bed4c
mov dword [0x5bed48], ebx
call edi
jmp 0x430b87
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5bed4c
call edi
mov eax, dword [esp + 0x54]
cmp eax, ebx
mov dword [esp + 0x50], vtable.ATL::CImage.0
je 0x430bcd
push eax
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], 0xffffffff
mov byte [esp + 0x71], bl
mov byte [esp + 0x70], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5bed4c
call ebp
sub dword [0x5bed64], 1
jne 0x430c00
push 0x5bed4c
call ebp
mov eax, dword [0x5bed48]
cmp eax, ebx
je 0x430bf3
push eax
call sub.gdiplus.dll_GdiplusShutdown
push 0x5bed4c
mov dword [0x5bed48], ebx
call edi
push 0x5bed4c
call edi
mov eax, dword [esp + 0xbc]
cmp eax, ebx
mov dword [esp + 0xb8], vtable.ATL::CImage.0
je 0x430c67
push eax
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xdc], 0xffffffff
mov byte [esp + 0xd9], bl
mov byte [esp + 0xd8], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5bed4c
call ebp
sub dword [0x5bed64], 1
jne 0x430c9a
push 0x5bed4c
call ebp
mov eax, dword [0x5bed48]
cmp eax, ebx
je 0x430c8d
push eax
call sub.gdiplus.dll_GdiplusShutdown
push 0x5bed4c
mov dword [0x5bed48], ebx
call edi
push 0x5bed4c
call edi
mov eax, dword [esp + 0x88]
cmp eax, ebx
mov dword [esp + 0x84], vtable.ATL::CImage.0
je 0x430d01
push eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa8], 0xffffffff
mov byte [esp + 0xa5], bl
mov byte [esp + 0xa4], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x5bed4c
call ebp
sub dword [0x5bed64], 1
jne 0x430d34
push 0x5bed4c
call ebp
mov eax, dword [0x5bed48]
cmp eax, ebx
je 0x430d27
push eax
call sub.gdiplus.dll_GdiplusShutdown
push 0x5bed4c
mov dword [0x5bed48], ebx
call edi
push 0x5bed4c
call edi
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4