Function at 0x407592
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x461faf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e0
mov eax, dword [esp + 0x1f0]
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.0045773a
push 0x47231c
lea ecx, [esp + 0x10]
mov dword [esp + 0x1f4], 0
call fcn.004579ce
push 0
lea ecx, [esp + 0x44]
call fcn.0040f500
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f4], 1
call fcn.0045a876
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f0], 2
call fcn.0045a22d
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
mov byte [esp + 0x1f0], 3
and eax, edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.0045a2e4
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x407623
lea ecx, [esi + 0xc4]
call fcn.0045ab75
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x407638
lea ecx, [esi + 0xcc]
call fcn.0045ab75
mov eax, dword [esi + 0xd8]
test eax, eax
je 0x40764d
lea ecx, [esi + 0xd4]
call fcn.0045ab75
mov eax, dword [esi + 0x288]
test eax, eax
je 0x407662
lea ecx, [esi + 0x284]
call fcn.0045ab75
push ebx
push ebp
lea ebp, [esi + 0xdc]
mov ecx, ebp
call fcn.0040f550
lea edi, [esi + 0x6664]
lea ebx, [esi + 0x34b4]
mov dword [esp + 0x10], 0x1e
lea ecx, [ebx - 0x31b0]
call fcn.0040f550
mov ecx, ebx
call fcn.0040f550
mov eax, dword [edi - 0x63d8]
test eax, eax
je 0x4076b2
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi - 0x63d8], 0
mov eax, dword [edi]
test eax, eax
je 0x4076c5
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi], 0
mov eax, dword [esp + 0x10]
add edi, 4
add ebx, 0x1a8
dec eax
mov dword [esp + 0x10], eax
jne 0x407685
lea ecx, [esp + 0x14]
push str.front.jpg
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004578fb
mov eax, dword [eax]
push 0
push eax
lea eax, [esi + 0xc4]
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x208], 4
call fcn.00403b00
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 3
call fcn.00457710
lea edx, [esp + 0x14]
push str.back.jpg
lea eax, [esp + 0x14]
push edx
push eax
call fcn.004578fb
mov eax, dword [eax]
push 0
lea ecx, [esi + 0xcc]
push eax
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x208], 5
call fcn.00403b00
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 3
call fcn.00457710
lea eax, [esp + 0x14]
push str.active.jpg
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004578fb
mov eax, dword [eax]
push 0
push eax
lea edx, [esi + 0xd4]
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x208], 6
call fcn.00403b00
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 3
call fcn.00457710
lea ecx, [esp + 0x14]
push str.preactive.jpg
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004578fb
mov eax, dword [eax]
push 0
push eax
push ebp
mov byte [esp + 0x204], 7
call fcn.00403c80
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 3
call fcn.00457710
lea eax, [esp + 0x14]
push str.disable.jpg
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004578fb
mov eax, dword [eax]
push 0
push eax
lea edx, [esi + 0x284]
lea eax, [esp + 0x2c]
push edx
push eax
mov byte [esp + 0x208], 8
call fcn.00403b00
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 3
call fcn.00457710
lea ecx, [esp + 0x14]
push str.buttons.dat
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004578fb
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x1fc], 9
call fcn.00407a70
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f8], 3
call fcn.00457710
mov eax, dword [0x479a6c]
mov ecx, dword [eax]
mov dword [esi + 0x66e0], ecx
mov edx, dword [0x474fc0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x464860
mov byte [esp + 0x1f8], 0xb
mov edi, 1
lea ebx, [esi + 0x6664]
lea ebp, [esi + 0x34b4]
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push str._sact_d.jpg
push ecx
call fcn.0045364b
mov edx, dword [esp + 0x28]
lea eax, [ebp - 0x31b0]
push 0
push edx
push eax
call fcn.00403c80
add esp, 0x1c
test al, al
jne 0x4078fd
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push str._sact_d.png
push ecx
call fcn.0045364b
mov edx, dword [esp + 0x28]
push 0
lea eax, [ebp - 0x31b0]
push edx
push eax
call fcn.00403cd0
add esp, 0x1c
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push str._spreact_d.jpg
push ecx
call fcn.0045364b
mov edx, dword [esp + 0x28]
push 0
push edx
push ebp
call fcn.00403c80
add esp, 0x1c
test al, al
jne 0x40794b
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push str._spreact_d.png
push ecx
call fcn.0045364b
mov edx, dword [esp + 0x28]
push 0
push edx
push ebp
call fcn.00403cd0
add esp, 0x1c
mov eax, dword [esp + 0x14]
push edi
push eax
lea ecx, [esp + 0x20]
push str._sbac_d.jpg
push ecx
call fcn.0045364b
mov edx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00403d10
mov ecx, dword [esp + 0x30]
push edi
push ecx
lea edx, [esp + 0x3c]
push str._sdis_d.jpg
push edx
mov dword [ebx - 0x63d8], eax
call fcn.0045364b
mov eax, dword [esp + 0x44]
push 0
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.00403d10
mov dword [ebx], eax
add esp, 0x38
add ebx, 4
add ebp, 0x1a8
inc edi
lea edx, [edi - 1]
cmp edx, 0x1e
jl 0x4078a3
lea ecx, [esp + 0x38]
call fcn.0045a34c
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
pop ebp
pop ebx
test eax, eax
jne 0x4079de
mov edx, dword [esi + 0x3c]
lea ecx, [esi + 0x3c]
push esi
call dword [edx + 0xb8]
mov dword [esp + 0x14], vtable.CGdiObject.0
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f0], 0xc
call fcn.0045ab75
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f0], 3
call fcn.00457710
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f0], 2
call fcn.0045a362
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f0], 1
call fcn.0045a8e8
lea ecx, [esp + 0x40]
mov byte [esp + 0x1f0], 0
call fcn.0040f540
lea ecx, [esp + 0xc]
mov dword [esp + 0x1f0], 0xffffffff
call fcn.00457710
mov ecx, dword [esp + 0x1e8]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1ec
ret 4