Function at 0x456880
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b7c68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov eax, dword [esp + 0x90]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [eax + 3]
push ecx
mov ecx, esi
call fcn.0044e660
fmul qword [0x4bcfc0]
call fcn.00496fa4
lea edx, [esp + 0x50]
mov edi, eax
push 1
push edx
lea ecx, [esp + 0xa4]
mov dword [esp + 0x2c], edi
call fcn.0045dcd0
mov eax, dword [eax + 0x21]
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push eax
call fcn.00417280
lea ecx, [esp + 0x44]
push ecx
call fcn.00460650
add esp, 0x10
cmp edi, 0xc8
jg 0x456901
mov dword [esp + 0x24], 0xc8
lea ecx, [esp + 0x60]
call fcn.004ad59e
mov edi, dword [esp + 0x98]
mov dword [esp + 0x90], 0
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x456926
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x64]
call fcn.004ad655
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
sub ebp, edx
sub ebx, ecx
push 8
mov dword [esp + 0x24], ebp
mov dword [esp + 0x4c], ebx
call fcn.004aa6ea
add esp, 4
test eax, eax
je 0x456974
mov dword [eax + 4], 0
mov dword [eax], 0x4bcfb4
mov dword [esp + 0x10], eax
jmp 0x45697c
mov dword [esp + 0x10], 0
mov eax, dword [edi + 0x2c]
push ebp
push ebx
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004ae048
push 0
lea ecx, [esp + 0x64]
call fcn.004adb9c
mov ecx, dword [esi + 0x4d]
push 0
call fcn.004adb9c
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x4d]
test ecx, ecx
jne 0x4569b9
xor ecx, ecx
jmp 0x4569c0
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 4]
mov edx, dword [eax + 4]
push ecx
push edx
call fcn.004ad796
mov ecx, dword [esi + 0x4d]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x2c], ecx
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x30], eax
push edx
call fcn.0044a420
mov ecx, dword [edi + 0x2c]
add esp, 4
lea eax, [esp + 0x50]
push eax
push 0
push ecx
mov ecx, esi
call fcn.004510b0
mov eax, dword [esi + 0x147]
mov ecx, dword [esi + 0x4d]
test eax, eax
je 0x456a09
mov eax, dword [eax + 4]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.004ad796
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x456a1f
xor eax, eax
jmp 0x456a26
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004ad796
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x4d]
test eax, eax
je 0x456a3f
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push 0xcc0020
push edx
mov edx, dword [esp + 0x6c]
push ecx
push eax
push ebp
push ebx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x1c]
push eax
call fcn.0044a420
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add esp, 4
mov dword [edi + 0x2c], ecx
test eax, eax
jne 0x456a7f
xor eax, eax
jmp 0x456a86
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.004ad796
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4d]
test eax, eax
jne 0x456aa0
xor eax, eax
jmp 0x456aa7
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
push eax
mov eax, dword [ecx + 4]
push eax
call fcn.004ad796
push 8
call fcn.004aa6ea
add esp, 4
test eax, eax
je 0x456ad2
mov dword [eax + 4], 0
mov dword [eax], 0x4bcfb4
mov dword [esp + 0x14], eax
jmp 0x456ada
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x2c]
push ebp
push ebx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x14]
push eax
call fcn.004ae048
mov edx, dword [esp + 0xa0]
mov al, byte [edx + 2]
cmp al, 5
jl 0x456b09
cmp al, 0xc
jle 0x457276
cmp al, 0x22
je 0x457276
cmp al, 0x23
je 0x457276
cmp al, 0x26
je 0x457276
cmp al, 0x29
jl 0x456b2d
cmp al, 0x2d
jl 0x457276
cmp al, 0x39
je 0x457276
push 8
call fcn.004aa6ea
add esp, 4
test eax, eax
je 0x456b54
mov dword [eax + 4], 0
mov dword [eax], 0x4bcfb4
mov ebp, eax
jmp 0x456b56
xor ebp, ebp
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
mov edx, dword [eax + 4]
mov dword [esp + 0x34], ebp
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.004ae048
test ebp, ebp
jne 0x456b7d
xor eax, eax
jmp 0x456b80
mov eax, dword [ebp + 4]
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.004ad796
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x456b99
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ebx
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x456bca
xor eax, eax
jmp 0x456bd1
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.004ad796
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
cmp byte [ecx], 0x10
jne 0x456e2e
mov eax, dword [0x4d6890]
inc eax
cmp eax, 1
mov dword [0x4d6890], eax
jle 0x456c1d
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
shl edx, 3
push edx
push eax
call fcn.00497980
add esp, 8
jmp 0x456c27
push 0x28
call fcn.004970a0
add esp, 4
mov ecx, dword [0x4d6890]
mov edx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
mov dword [0x4d6878], eax
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*8 - 0x28], edx
mov eax, dword [edi + 3]
push eax
mov ecx, esi
call fcn.0044e660
fmul qword [0x4bcfc0]
call fcn.00496fa4
mov ecx, dword [0x4d6890]
mov edx, dword [0x4d6878]
mov ebx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*8 - 4], eax
mov eax, dword [0x4d6890]
movsx ecx, byte [edi + 2]
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
add ecx, 0x1388
mov dword [eax + edx*8 - 0x24], ecx
mov eax, dword [0x4d6890]
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
mov dword [eax + edx*8 - 0x1c], ecx
mov eax, dword [0x4d6890]
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
mov dword [eax + edx*8 - 0x18], ebp
mov eax, dword [0x4d6890]
xor ebp, ebp
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
mov dword [eax + edx*8 - 0x14], ebp
mov eax, dword [0x4d6890]
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
mov dword [eax + edx*8 - 0x10], ebx
mov eax, dword [0x4d6890]
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
mov dword [eax + edx*8 - 0xc], ebp
mov al, byte [edi + 2]
cmp al, 0x20
je 0x456dd1
cmp al, 0x21
je 0x456dd1
cmp al, 0x24
je 0x456d09
cmp al, 0x25
jne 0x456dde
mov eax, dword [ecx + 4]
lea edx, [esp + 0x70]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp byte [edi + 2], 0x24
jne 0x456d5a
mov ebx, dword [esp + 0x74]
mov eax, 0x66666667
imul ebx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fadd qword [0x4bd0b8]
call fcn.00496fa4
mov edi, eax
mov eax, ebx
cdq
mov ecx, 0x14
idiv ecx
test edx, edx
je 0x456d93
jmp 0x456d92
mov ebx, dword [esp + 0x78]
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fadd qword [0x4bd0b8]
call fcn.00496fa4
mov edi, eax
mov eax, ebx
cdq
mov ecx, 0x14
idiv ecx
test edx, edx
je 0x456d93
inc edi
lea edx, [edi*4]
push edx
call fcn.004970a0
mov ecx, dword [0x4d6890]
mov edx, dword [0x4d6878]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*8 - 0xc], eax
mov eax, dword [0x4d6890]
mov ecx, dword [0x4d6878]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 - 0xc]
push edx
push edi
call fcn.0041bc30
add esp, 0xc
jmp 0x456dde
movsx eax, al
push eax
push ecx
call fcn.00454ec0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4d6890]
mov edx, dword [0x4d6878]
push ebp
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*8 - 0x20], eax
mov ecx, dword [esi + 0x4d]
call fcn.004adb9c
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 0x4d]
cmp eax, ebp
jne 0x456e1c
xor eax, eax
push eax
mov eax, dword [esi + 4]
push eax
call fcn.004ad796
jmp 0x45770c
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.004ad796
jmp 0x45770c
mov ecx, dword [esp + 0xa0]
mov al, byte [ecx + 2]
cmp al, 0x16
jle 0x456e9a
cmp al, 0x27
jge 0x456e9a
mov edx, dword [esi + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a7808
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xbc]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
mov dl, byte [ecx + 2]
push eax
push edx
call fcn.0041bd90
add esp, 0x24
jmp 0x457259
cmp al, 0x38
jne 0x456eb6
mov eax, dword [esi + 0x4d]
test ebp, ebp
jne 0x456eac
mov eax, dword [eax + 4]
push ebp
push eax
jmp 0x456ec9
mov ebp, dword [ebp + 4]
mov eax, dword [eax + 4]
push ebp
push eax
jmp 0x456ec9
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x4d]
test eax, eax
je 0x456ec4
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.004ad796
sub esp, 0x10
mov dword [esp + 0x2c], eax
mov edx, esp
xor eax, eax
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0x48]
mov dword [edx], eax
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebp
call fcn.00467aa0
mov ecx, dword [esi + 0x4d]
push eax
mov byte [esp + 0x94], 3
call fcn.004adb9c
mov dword [esp + 0x38], vtable.CGdiObject.0
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 4
call fcn.004ae09f
mov eax, dword [esp + 0xa0]
mov byte [esp + 0x90], 0
mov al, byte [eax + 2]
cmp al, 0x2f
jl 0x456f35
cmp al, 0x38
jle 0x456f3d
cmp al, 0x2d
jne 0x4570f9
cmp al, 0x2f
mov edi, ebx
je 0x456f7e
cmp al, 0x36
je 0x456f7e
cmp al, 0x30
je 0x456f77
cmp al, 0x38
je 0x456f77
cmp al, 0x31
jne 0x456f64
cmp ebx, ebp
mov eax, ebx
jg 0x456f5b
mov eax, ebp
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x456f81
cmp al, 0x32
je 0x456f6c
cmp al, 0x33
jne 0x456f81
mov eax, ebx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x456f81
lea edi, [ebx + ebp]
shl edi, 1
jmp 0x456f81
lea edi, [ebx + ebx]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x68]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x58]
call fcn.00467aa0
mov ecx, dword [esp + 0x98]
push eax
mov byte [esp + 0x94], 5
mov ecx, dword [ecx + 0x2c]
call fcn.004adb9c
mov dword [esp + 0x48], vtable.CGdiObject.0
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 6
call fcn.004ae09f
xor ebp, ebp
mov byte [esp + 0x90], 0
test edi, edi
mov dword [esp + 0x30], ebp
jle 0x4570e3
mov dword [esp + 0x18], ebp
lea eax, [edi - 1]
cmp ebp, eax
jge 0x457017
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv edi
add eax, dword [esp + 0x28]
cmp ecx, eax
ja 0x4570c8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv edi
add eax, dword [esp + 0x28]
sub eax, ecx
push eax
push 0
call fcn.0044a490
mov edx, dword [esi + 0x4d]
add esp, 8
xor eax, eax
push edx
push edi
push ebp
mov edx, dword [esp + 0x2c]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
push eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x30]
movsx eax, byte [edx + 2]
push ecx
push 2
push eax
call fcn.00421a40
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x7c]
mov edx, dword [esi + 0x4d]
sub eax, ecx
mov ecx, dword [esp + 0x84]
sub ecx, ebp
mov ebp, dword [esp + 0xc4]
add esp, 0x2c
mov ebp, dword [ebp + 0x2c]
test edx, edx
je 0x4570a4
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [esp + 0x6c]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
inc ebp
add edx, ecx
cmp ebp, edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], edx
jl 0x456ff5
mov edx, dword [esp + 0x98]
push 0
mov ecx, dword [edx + 0x2c]
call fcn.004adb9c
jmp 0x45722c
cmp ebx, ebp
mov ebp, ebx
jg 0x457103
mov ebp, dword [esp + 0x20]
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x30], edi
jle 0x45722c
mov dword [esp + 0x18], edi
lea eax, [ebp - 1]
cmp edi, eax
jge 0x457137
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv ebp
add eax, dword [esp + 0x28]
cmp ecx, eax
ja 0x457211
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esp + 0x18]
cdq
idiv ebp
add eax, dword [esp + 0x28]
sub eax, ecx
push eax
push 0
call fcn.0044a490
mov ecx, dword [esi + 0x4d]
add esp, 8
lea eax, [esp + 0x70]
mov edx, dword [ecx]
push eax
call dword [edx + 0x50]
mov ecx, dword [esi + 0x4d]
xor eax, eax
push ecx
push ebp
push edi
mov ecx, dword [esp + 0x38]
sub esp, 0x10
mov edx, esp
push ecx
mov dword [edx], eax
mov dword [edx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 8], ebx
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x30]
movsx ecx, byte [eax + 2]
push edx
push 2
push ecx
call fcn.00421a40
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
add ebx, edx
mov dword [esp + 0x60], ebx
mov ebx, dword [esp + 0x7c]
add ebx, edi
add esp, 0x2c
mov dword [esp + 0x38], ebx
mov ebx, dword [esi + 0x4d]
sub eax, edx
sub ecx, edi
test ebx, ebx
je 0x4571e1
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
mov edx, dword [esp + 0x3c]
push edi
push ebx
push eax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push eax
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
inc edi
add ecx, eax
cmp edi, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], ecx
jl 0x457115
mov ecx, dword [esi + 0x4d]
push 0
call fcn.004adb9c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4d]
test eax, eax
je 0x457244
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.004ad796
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x98]
mov edx, dword [esp + 0xa0]
cmp byte [edx], 0x10
je 0x4576d0
test ebp, ebp
je 0x4576d0
jmp 0x4576c6
push 8
call fcn.004aa6ea
add esp, 4
test eax, eax
je 0x457297
mov dword [eax + 4], 0
mov dword [eax], 0x4bcfb4
mov dword [esp + 0x20], eax
jmp 0x45729f
mov dword [esp + 0x20], 0
mov eax, dword [edi + 0x2c]
push ebp
push ebx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x20]
push eax
call fcn.004ae048
mov eax, dword [esi + 0x147]
mov ecx, dword [esi + 0x4d]
test eax, eax
je 0x4572c8
mov eax, dword [eax + 4]
mov edx, dword [ecx + 4]
push eax
push edx
call fcn.004ad796
mov ecx, dword [esi + 0x4d]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x49]
test eax, eax
je 0x4572e3
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x50]
push 0xff0062
push 0
push 0
push eax
mov eax, dword [esp + 0x64]
push ebp
push ebx
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x4d6db0]
mov ecx, dword [esi + 0x4d]
test eax, eax
je 0x457312
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.004ad796
mov eax, dword [esi + 0x4d]
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esi + 0x4d]
mov eax, dword [edi + 0x2c]
lea edx, [esp + 0x50]
mov dword [edi + 0x2c], ecx
push edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0x4c], eax
call fcn.0045dcd0
mov eax, dword [eax + 0x21]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
call fcn.00417280
push edi
push esi
call fcn.004668a0
mov eax, dword [0x4d6dac]
mov ecx, dword [esi + 0x4d]
add esp, 0x10
test eax, eax
je 0x457370
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
push eax
push ecx
call fcn.004ad796
mov eax, dword [esi + 0x4d]
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x457393
xor eax, eax
jmp 0x45739a
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
push eax
push ecx
call fcn.004ad796
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x4d]
test eax, eax
je 0x4573b3
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push 0xcc0020
push edx
mov edx, dword [esp + 0x6c]
push ecx
push eax
push ebp
push ebx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x49]
mov ecx, dword [esi + 0x4d]
test eax, eax
je 0x4573e1
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x50]
push 0x42
push 0
push 0
push eax
mov eax, dword [esp + 0x64]
push ebp
push ebx
push eax
mov eax, dword [ecx + 4]
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0xa0]
call fcn.0045dcd0
mov edx, dword [eax + 0x21]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00417280
push edi
push esi
call fcn.004668a0
mov eax, dword [esi + 0x1c]
push eax
call fcn.0044a420
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
add esp, 0x14
mov dword [edi + 0x2c], ecx
test eax, eax
jne 0x457445
xor eax, eax
jmp 0x45744c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
push eax
mov eax, dword [esp + 0x68]
push eax
call fcn.004ad796
mov eax, dword [esi + 0x4d]
test eax, eax
je 0x457461
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push 0xcc0020
push ecx
push edx
push eax
mov eax, dword [esp + 0x74]
push ebp
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45748e
xor eax, eax
jmp 0x457495
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x64]
push eax
push edx
call fcn.004ad796
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x4d]
xor ebp, ebp
cmp eax, ebp
jne 0x4574b1
xor eax, eax
jmp 0x4574b4
mov eax, dword [eax + 4]
push eax
mov eax, dword [ecx + 4]
push eax
call fcn.004ad796
mov ebx, dword [esp + 0xa0]
cmp byte [ebx], 0x10
jne 0x4575e1
mov eax, dword [0x4d6890]
inc eax
cmp eax, 1
mov dword [0x4d6890], eax
jle 0x4574f6
mov edx, dword [0x4d6878]
lea ecx, [eax + eax*4]
shl ecx, 3
push ecx
push edx
call fcn.00497980
add esp, 8
jmp 0x457500
push 0x28
call fcn.004970a0
add esp, 4
mov ecx, dword [0x4d6890]
mov edx, dword [esp + 0x9c]
mov dword [0x4d6878], eax
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*8 - 0x28], edx
mov eax, dword [ebx + 3]
push eax
mov ecx, esi
call fcn.0044e660
fmul qword [0x4bcfc0]
call fcn.00496fa4
mov ecx, dword [0x4d6890]
mov edx, dword [0x4d6878]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*8 - 4], eax
mov eax, dword [0x4d6890]
movsx ecx, byte [ebx + 2]
lea edx, [eax + eax*4]
mov eax, dword [0x4d6878]
add ecx, 0x1388
mov dword [eax + edx*8 - 0x24], ecx
mov eax, dword [0x4d6890]
mov edx, dword [0x4d6878]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x10]
mov dword [edx + ecx*8 - 0x1c], eax
mov eax, dword [0x4d6890]
mov edx, dword [0x4d6878]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*8 - 0x18], ebp
mov eax, dword [0x4d6890]
mov ecx, dword [0x4d6878]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 - 0x14], edx
mov eax, dword [0x4d6890]
mov ecx, dword [0x4d6878]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 - 0x10], edx
mov eax, dword [0x4d6890]
mov ecx, dword [0x4d6878]
lea eax, [eax + eax*4]
mov dword [ecx + eax*8 - 0xc], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4d6890]
lea edx, [ecx + ecx*4]
mov ecx, dword [0x4d6878]
mov dword [ecx + edx*8 - 0x20], eax
jmp 0x45770c
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x68]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x58]
call fcn.00467aa0
mov ecx, dword [edi + 0x2c]
push eax
mov byte [esp + 0x94], 1
call fcn.004adb9c
mov dword [esp + 0x48], vtable.CGdiObject.0
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 2
call fcn.004ae09f
mov edx, dword [esi + 0x1c]
mov byte [esp + 0x90], 0
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.004a7808
mov ecx, dword [0x4d6dac]
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [edi + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x64]
sub esp, 0x10
mov ebp, dword [esp + 0x40]
mov edx, esp
push ebp
mov dword [edx], eax
mov eax, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x80]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x38]
mov cl, byte [ebx + 2]
push edx
push eax
push ecx
call fcn.0041eff0
mov al, byte [esi + 0x7f6]
add esp, 0x30
test al, al
je 0x4576b8
test ebp, ebp
je 0x45770c
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
jmp 0x45770c
mov ecx, dword [edi + 0x2c]
push 0
call fcn.004adb9c
test ebp, ebp
je 0x4576d0
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 4]
mov edx, dword [edi + 0x2c]
lea ecx, [esp + 0x50]
push ecx
push 0
push edx
mov ecx, esi
call fcn.004510b0
mov eax, dword [esp + 0xa0]
cmp byte [eax], 0x10
je 0x45770c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4576fd
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x45770c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
lea ecx, [esp + 0x60]
mov dword [esp + 0x90], 0xffffffff
call fcn.004ad6d3
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 0xc