Function at 0x4091e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ff840
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x69ee98]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x64], ebx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x74], ebx
call fcn.0043ed60
mov dword [ebp - 0xd0], vtable.PLWinBmpEx.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 0
call fcn.0043ed60
mov dword [ebp - method.PLWinBmpEx.virtual_0], vtable.PLWinBmpEx.0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe4], 0
mov byte [ebp - 4], 2
cmp dword [ebx + 0x3c], 0
je 0x409301
cmp dword [ebx + 0x44], 0
je 0x409301
cmp dword [ebx + 0x38], 1
lea ecx, [ebx + 0x38]
mov dword [ebp - 0x68], ecx
jne 0x4092e4
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx + 0x84]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 0x88]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x8c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x90]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x30]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x54], edx
jmp 0x409730
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x68], ecx
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x54], edx
jmp 0x409730
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x58], ecx
lea ecx, [ebx + 0x38]
mov dword [ecx], 0
mov eax, dword [eax + 4]
sub eax, 0x10
mov dword [ebp - 0x68], ecx
push eax
call fcn.00403750
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
lea esi, [edi + 0x10]
mov dword [ebp - 0x6c], esi
mov byte [ebp - 4], 3
cmp dword [edi + 4], 0
mov dword [ebp - 0x5c], 0
jle 0x409357
push 0x5c
push esi
call fcn.005e0991
add esp, 8
test eax, eax
je 0x409357
sub eax, esi
cmp eax, 0xffffffff
jne 0x4093c1
mov ecx, dword [ebx + 0x1c]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x4093b8
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x4093a9
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x4093a9
push edx
call fcn.00403750
add esp, 4
mov dword [ebp - 0x5c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4093a1
mov edi, dword [edi]
push dword [ebp - 0x4c]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x5c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x6c], esi
jmp 0x4093b8
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004038a0
mov esi, dword [ebp - 0x6c]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x5c], eax
push esi
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, edi
jne 0x4093d7
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
lea eax, [esi - 0x10]
push eax
call fcn.00403750
mov ecx, dword [ebx + 0x50]
add esp, 4
mov dword [ebp - 0x54], eax
add eax, 0x10
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x58]
add edx, 0xa
mov byte [ebp - 4], 4
push edx
push dword [ebp - 0x5c]
push eax
call fcn.0041a4c0
mov ebx, dword [ebp - 0x64]
test eax, eax
jne 0x40943f
mov ecx, dword [ebp - 0x54]
mov eax, edi
mov byte [ebp - 4], 3
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x409434
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x44], eax
jmp 0x40949b
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0xb0], 0
jne 0x409452
call fcn.0041a310
jmp 0x40940d
mov ecx, dword [ebp - 0x54]
mov eax, edi
mov byte [ebp - 4], 3
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40947c
mov ebx, dword [ecx]
push ecx
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x64]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x38], 1
mov ecx, dword [eax + 0x94]
mov edi, dword [eax + 0x98]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x48], edi
call fcn.00495bd9
mov ebx, eax
test ebx, ebx
je 0x4094c0
mov eax, dword [ebx]
mov edi, dword [eax + 0x74]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
lea ebx, [ebx]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4094fc
call fcn.00488503
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x5c]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
test eax, eax
jne 0x4094c0
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x409526
xor edi, edi
mov dword [ebp - 0x4c], edi
call fcn.00488503
push edi
mov ebx, dword [eax + 4]
mov eax, dword [ebx]
mov edi, dword [eax + 0x60]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov edi, dword [ebp - 0x4c]
inc edi
mov dword [ebp - 0x4c], edi
test eax, eax
jne 0x409501
call fcn.00495bd9
mov ebx, eax
test ebx, ebx
je 0x409542
mov eax, dword [ebx]
mov edi, dword [eax + 0x74]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.0048d47c
test eax, eax
jne 0x409606
mov eax, dword [ebp - 0x64]
or ebx, 0xffffffff
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov dword [eax + 0x34], 0
mov dword [eax + 0x30], 0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x409591
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov eax, dword [ebp - 0xe0]
mov dword [ebp - method.PLWinBmpEx.virtual_0], vtable.PLWinBmpEx.0
test eax, eax
je 0x4095ac
push eax
call dword [sym.imp.MSVFW32.dll_DrawDibClose]
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x4095bd
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x124]
call fcn.0043ef10
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd0], vtable.PLWinBmpEx.0
test eax, eax
je 0x4095e3
push eax
call dword [sym.imp.MSVFW32.dll_DrawDibClose]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4095f4
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0xd0]
call fcn.0043ef10
mov eax, ebx
jmp 0x409df4
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
jne 0x4096f6
push 0x28
call fcn.00488616
add esp, 4
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x409634
push 0
mov ecx, eax
call fcn.00441600
mov ebx, eax
jmp 0x409636
xor ebx, ebx
mov byte [ebp - 4], 3
mov eax, dword [ebx]
push esi
mov dword [0x6a95dc], ebx
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
mov ebx, dword [0x6a95dc]
push dword [ebp - 0x5c]
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x613aec]
mov ecx, ebx
call edi
push dword [0x6a95dc]
mov ecx, 0x6c7750
call fcn.00440690
push dword [0x6a95dc]
mov ecx, 0x6c7750
call fcn.0043f810
push 0x20
lea eax, [ebp - 0xd0]
mov ecx, 0x6c7750
push eax
call fcn.00440040
mov ecx, 0x6c7750
call fcn.0043f7b0
lea ecx, [ebp - 0xd0]
mov dword [0x6a95dc], 0
call fcn.0043f0f0
mov ebx, dword [ebp - 0x64]
test eax, eax
je 0x4096ed
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0xd0]
push 0x20
push eax
call fcn.00440ea0
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x54], edx
jmp 0x4096fc
mov dword [ebx + 0x20], 0
jmp 0x4096f9
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x48]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40972d
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov edx, dword [ebp - 0x48]
lea eax, [ebx + 0x38]
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x44]
sub esp, 0x10
mov dword [ebx + 4], 0
mov eax, esp
mov dword [ebx], 0
mov ecx, dword [0x6c77a8]
sub esp, 0x10
mov edi, dword [0x6c77b0]
mov dword [eax], ecx
mov ecx, dword [0x6c77ac]
mov dword [eax + 4], ecx
mov ecx, dword [0x6c77b4]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov eax, esp
xor ecx, ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
call fcn.004075f0
add esp, 0x20
cmp dword [0x6a95ac], 3
fstp qword [ebp - 0x60]
jne 0x4097ee
fild dword [ebp - 0x58]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
fild dword [ebp - 0x54]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x44], esi
call fcn.005d5370
wait
mov ecx, dword [0x6c77b0]
mov edi, eax
mov edx, dword [0x6c77a8]
mov eax, ecx
sub eax, edx
cmp esi, eax
jle 0x4097d5
mov dword [ebp - 0x44], eax
mov eax, dword [0x6c77b4]
sub eax, dword [0x6c77ac]
cmp edi, eax
jle 0x4097e6
mov edi, eax
lea eax, [ebx + 0x14]
jmp 0x409a12
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x38]
dec eax
mov dword [ebp - 0x4c], eax
lea eax, [ebx + 0x14]
cmp dword [ebp - 0x4c], 5
ja case.default.0x40980b
mov ecx, dword [ebp - 0x4c]
lea eax, [ebx + 0x14]
jmp dword [ecx*4 + 0x409e10]
mov ecx, dword [0x6c77a8]
sub esp, 0x10
mov eax, esp
add esi, esi
sub esp, 0x10
mov dword [ebp - 0x44], esi
add edx, edx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x48], edx
mov dword [eax], ecx
mov ecx, dword [0x6c77ac]
mov dword [eax + 4], ecx
mov ecx, dword [0x6c77b4]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov eax, esp
xor ecx, ecx
mov dword [ebp - 0x7c], edx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
call fcn.004075f0
fstp qword [ebp - 0x60]
fld1
add esp, 0x20
fcomp qword [ebp - 0x60]
fnstsw ax
test ah, 0x41
jne 0x4098d0
fild dword [ebp - 0x80]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
fild dword [ebp - 0x7c]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x44], esi
call fcn.005d5370
wait
mov ecx, dword [0x6c77b0]
mov edx, eax
mov eax, ecx
mov dword [ebp - 0x48], edx
sub eax, dword [0x6c77a8]
cmp esi, eax
jle 0x4098b8
mov dword [ebp - 0x44], eax
mov edi, dword [0x6c77b4]
sub edi, dword [0x6c77ac]
cmp edx, edi
jle 0x4098d6
lea eax, [ebx + 0x14]
jmp 0x409a0c
mov ecx, dword [0x6c77b0]
mov edi, dword [ebp - 0x48]
lea eax, [ebx + 0x14]
jmp 0x409a0c
fld1
fcomp qword [ebp - 0x60]
fnstsw ax
test ah, 0x41
jne 0x4098d0
fild dword [ebp - 0x58]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
fild dword [ebp - 0x54]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
jmp 0x409890
fld1
fcomp qword [ebp - 0x60]
fnstsw ax
test ah, 5
jp 0x4098d0
fild dword [ebp - 0x58]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
fild dword [ebp - 0x54]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
jmp 0x409890
fild dword [ebp - 0x58]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
fild dword [ebp - 0x54]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
jmp 0x4097ae
mov ecx, dword [0x6c77b0]
lea eax, [ebx + 0x14]
mov edx, dword [0x6c77a8]
mov esi, ecx
mov edi, dword [0x6c77b4]
sub esi, edx
sub edi, dword [0x6c77ac]
mov dword [ebp - 0x44], esi
jmp 0x409a15
mov ecx, dword [0x6c77a8]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [0x6c77ac]
mov dword [eax + 4], ecx
mov ecx, dword [0x6c77b4]
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov eax, esp
mov ecx, 1
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], edx
call fcn.004075f0
fstp qword [ebp - 0x60]
fild dword [ebp - 0x58]
add esp, 0x20
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
mov esi, eax
mov dword [ebp - 0x44], esi
fild dword [ebp - 0x54]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x60]
call fcn.005d5370
wait
mov ecx, dword [0x6c77b0]
mov edi, eax
mov edx, dword [0x6c77a8]
lea eax, [ebx + 0x14]
jmp 0x409a15
mov ecx, dword [0x6c77b0]
mov edi, dword [ebp - 0x48]
mov edx, dword [0x6c77a8]
mov esi, dword [ebp - 0x44]
mov eax, dword [eax]
sub ecx, edx
sub ecx, esi
cmp dword [eax + 0x28], 0
je 0x409a43
call fcn.00407b30
mov dword [ebx + 4], eax
mov ecx, dword [0x6c77b4]
sub ecx, dword [0x6c77ac]
sub ecx, edi
call fcn.00407b30
mov ecx, eax
mov dword [ebp - 0x4c], eax
jmp 0x409a64
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 4], eax
mov eax, dword [0x6c77b4]
sub eax, dword [0x6c77ac]
sub eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x68]
mov dword [ebx], ecx
cmp dword [eax], 0
je 0x409aa8
mov edx, dword [ebx + 4]
lea esi, [ecx + edi]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x4c]
add eax, edx
push edi
mov dword [ecx + 0x88], ebx
mov dword [ecx + 0x84], edx
mov dword [ecx + 0x8c], eax
mov dword [ecx + 0x90], esi
push dword [ebp - 0x44]
call fcn.0041b2e0
mov ebx, dword [ebp - 0x64]
jmp 0x409b8a
cmp dword [ebx + 0x18], 8
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x10], 0
jg 0x409b52
push 0x20
push eax
lea ecx, [ebp - 0x124]
call fcn.00440ea0
mov eax, dword [ebx + 0x20]
cmp esi, dword [eax + 4]
je 0x409b05
cmp edi, dword [eax + 8]
je 0x409b05
push edi
push esi
lea ecx, [ebp - 0xdc]
call fcn.00441910
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
push dword [ebx + 0x20]
call fcn.004408b0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.004424d0
push 2
push 2
lea ecx, [ebp - 0xd0]
call fcn.004411b0
push 8
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00440ea0
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0xd0]
push 8
push eax
call fcn.00440ea0
mov esi, dword [ebx + 0x20]
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x409b4d
mov ecx, esi
call fcn.0043ec80
mov dword [esi + 0x40], eax
mov dword [ebx + 0x10], eax
jmp 0x409b8a
cmp esi, dword [eax + 4]
je 0x409b8a
cmp edi, dword [eax + 8]
je 0x409b8a
push edi
push esi
lea ecx, [ebp - 0x84]
call fcn.00441910
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x84]
push dword [ebx + 0x20]
call fcn.004408b0
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004424d0
call fcn.00495bd9
mov edi, eax
test edi, edi
je 0x409ba6
mov eax, dword [edi]
mov esi, dword [eax + 0x74]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x409be5
call fcn.00488503
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
test eax, eax
jne 0x409ba6
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x409c15
xor esi, esi
mov dword [ebp - 0x4c], esi
lea ebx, [ebx]
call fcn.00488503
push esi
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x613aec]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x4c]
inc esi
mov dword [ebp - 0x4c], esi
test eax, eax
jne 0x409bf0
cmp dword [ebx + 0x48], 0
je 0x409c3a
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x409c25
mov eax, dword [eax + 4]
mov ecx, dword [ebx + 0x28]
sub esp, 0x10
push 0
push 0x6c77a8
push eax
call fcn.0043e970
jmp 0x409c99
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x50], 0
je 0x409c89
fild dword [edx + 0x4c]
sub esp, 8
fstp qword [ebp - 0x78]
fld qword [ebp - 0x78]
mov eax, dword [0x6c77a8]
fstp qword [esp]
push dword [edx + 0x3c]
mov edx, dword [edx + 0x38]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [0x6c77ac]
mov dword [ecx + 4], eax
mov eax, dword [0x6c77b0]
mov dword [ecx + 8], eax
mov eax, dword [0x6c77b4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebx + 0x24]
call fcn.004076c0
add esp, 0x1c
jmp 0x409c99
push dword [edx + 0x38]
mov ecx, dword [ebx + 0x24]
push 0x6c77a8
call fcn.004967bc
mov eax, dword [ebp - 0xe0]
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x30], 1
mov dword [ebp - method.PLWinBmpEx.virtual_0], vtable.PLWinBmpEx.0
test eax, eax
je 0x409cc2
push eax
call dword [sym.imp.MSVFW32.dll_DrawDibClose]
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x409cd3
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0x124]
call fcn.0043ef10
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xd0], vtable.PLWinBmpEx.0
test eax, eax
je 0x409cf9
push eax
call dword [sym.imp.MSVFW32.dll_DrawDibClose]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x409d0a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [ebp - 0xd0]
call fcn.0043ef10
xor eax, eax
jmp 0x409df4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005d4ba5
mov esp, ebp
pop ebp
ret