Function at 0x456bb0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4a4
call fcn.0044b5c0
mov dword [ebp - 0x490], eax
test eax, eax
je 0x457816
mov esi, dword [ebp - 0x490]
mov eax, dword [esi]
mov dword [esp + 8], 8
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [eax + 0x50]
sub esp, 0xc
mov ebx, eax
mov eax, 0x332f
call fcn.0044bd10
mov dword [esp + 8], ebx
not ebx
shr ebx, 0x1f
mov dword [esp + 4], 0x5678ec
mov dword [esp], ebx
xor ebx, ebx
call fcn.0044c570
xor eax, eax
mov ecx, 0x16
lea edi, [ebp - 0x468]
mov esi, dword [ebp - 0x490]
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x47c]
mov eax, dword [ebx*8 + 0x56f274]
mov dword [ebp - 0x478], 0x6c
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x470], pe_nt_image_headers32
mov dword [ebp - 0x46c], pe_nt_image_headers32
mov eax, dword [esi]
mov dword [esp + 8], edx
lea edx, [ebp - 0x478]
mov dword [esp + 0xc], 0
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x18]
sub esp, 0x10
test eax, eax
js 0x4577f0
mov eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x480]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x55dbe0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov esi, dword [ebx*8 + 0x56f278]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x333f
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 0xc], esi
mov dword [esp + 4], str.Failed_to_query_IDirectDrawSurface2__hr__lx__type__s._n
call fcn.0044c570
mov eax, dword [ebp - 0x47c]
lea ecx, [ebp - 0x484]
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x55dbb0
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3341
xor eax, eax
test edi, edi
sete al
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], str.Failed_to_query_IDirectDrawSurface7__hr__lx__type__s._n
mov dword [esp], eax
call fcn.0044c570
mov dword [ebp - 0x488], esi
xor edx, edx
mov dword [ebp - 0x494], ebx
nop
mov ebx, dword [edx*4 + 0x56f200]
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov esi, 0x80070057
mov dword [ebp - 0x48c], edx
lea edx, [ebp - 0x40c]
cmp ebx, 0x6c
mov dword [ebp - 0x40c], ebx
cmove esi, eax
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x58]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x488]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x334a
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
lea edi, [ebp - 0x40c]
mov dword [esp], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 0x569828
call fcn.0044c570
xor eax, eax
mov ecx, 0x100
lea edx, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x40c], ebx
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x58]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x488]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3351
xor eax, eax
cmp esi, edi
sete al
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x40c]
mov dword [esp + 8], edi
lea edi, [ebp - 0x40c]
mov dword [esp], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 4], 0x569828
call fcn.0044c570
xor eax, eax
mov ecx, 0x100
cmp ebx, 0x7c
rep stosd dword es:[edi], eax
mov edi, 0x80070057
mov dword [ebp - 0x40c], ebx
cmove edi, eax
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ecx + 0x58]
sub esp, 8
mov esi, eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x488]
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3358
xor eax, eax
cmp edi, esi
sete al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], 0x569828
mov dword [esp], eax
call fcn.0044c570
mov edx, dword [ebp - 0x48c]
add edx, 1
cmp edx, 0xf
jne 0x456d50
mov ebx, dword [ebp - 0x494]
mov esi, dword [ebp - 0x488]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x498], ebx
jmp 0x457231
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x40c], ebx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x394], 0xdeadbeef
mov byte [ebp - 0x390], 0xef
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x64]
sub esp, 0x14
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3383
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x48c]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x569828
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3385
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], esi
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], 0x569858
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3387
movzx edx, byte [ebp - 0x390]
mov dword [esp + 0x10], esi
cmp dl, 0xef
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp + 4], 0x569888
mov dword [esp], eax
call fcn.0044c570
test edi, edi
jns 0x4574b0
xor eax, eax
mov ecx, 0x100
lea edi, [ebp - 0x40c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x40c], ebx
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x394], 0xdeadbeef
mov byte [ebp - 0x390], 0xef
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x64]
sub esp, 0x14
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x339d
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x48c]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x569828
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x339f
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], esi
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], 0x569858
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33a1
movzx edx, byte [ebp - 0x390]
mov dword [esp + 0x10], esi
cmp dl, 0xef
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp + 4], 0x569888
mov dword [esp], eax
call fcn.0044c570
test edi, edi
js 0x45721b
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33a5
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5698b8
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33a7
mov eax, dword [ebp - 0x404]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5698e8
mov dword [esp], eax
call fcn.0044c570
cmp ebx, 0x7c
sbb edi, edi
call fcn.0054f6e0
and edi, 0xdeadbeef
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33aa
mov eax, dword [ebp - 0x394]
mov dword [esp + 0x10], esi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x569918
mov dword [esp], eax
call fcn.0044c570
mov eax, dword [ebp - 0x484]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + pe_nt_image_headers32]
sub esp, 8
add dword [ebp - 0x488], 1
mov eax, dword [ebp - 0x488]
cmp eax, 0xf
je 0x457620
mov eax, dword [ebp - 0x488]
mov ecx, 0x100
lea edi, [ebp - 0x40c]
mov ebx, dword [eax*4 + 0x56f200]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x47c]
mov byte [ebp - 0x390], 0xef
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x394], 0xdeadbeef
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + 0x64]
mov ecx, 0x80070057
mov edi, eax
mov eax, ebx
sub esp, 0x14
and eax, 0xffffffef
cmp eax, 0x6c
mov eax, 0
cmovne eax, ecx
mov dword [ebp - 0x48c], eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3369
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebx
mov eax, dword [ebp - 0x48c]
mov dword [esp + 8], edi
cmp eax, edi
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 4], 0x569828
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x336b
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0x10], esi
cmp ebx, eax
mov dword [esp + 0xc], eax
sete al
mov dword [esp + 8], ebx
movzx eax, al
mov dword [esp + 4], 0x569858
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x336d
movzx edx, byte [ebp - 0x390]
mov dword [esp + 0x10], esi
cmp dl, 0xef
mov dword [esp + 0xc], ebx
sete al
mov dword [esp + 8], edx
movzx eax, al
mov dword [esp + 4], 0x569888
mov dword [esp], eax
call fcn.0044c570
test edi, edi
js 0x456f00
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3371
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5698b8
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3373
mov eax, dword [ebp - 0x404]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5698e8
mov dword [esp], eax
call fcn.0044c570
cmp ebx, 0x7b
jbe 0x457608
mov ecx, dword [0x628750]
xor eax, eax
test ecx, ecx
setne al
xor edi, edi
mov dword [ebp - 0x494], eax
call fcn.0054f6e0
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
lea edx, [ecx + ecx]
mov ecx, dword [ebp - 0x494]
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x45747c
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3377
mov eax, dword [ebp - 0x394]
mov dword [esp + 0x10], esi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x569918
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x457438
mov eax, dword [ebp - 0x47c]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + pe_nt_image_headers32]
sub esp, 8
jmp 0x456f00
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x338b
mov eax, dword [ebp - 0x400]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5698b8
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x338d
mov eax, dword [ebp - 0x404]
mov dword [esp + 0x10], esi
cmp eax, 0x80
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x5698e8
mov dword [esp], eax
call fcn.0044c570
cmp ebx, 0x7b
jbe 0x4575f0
mov edx, dword [0x628750]
xor eax, eax
test edx, edx
setne al
xor edi, edi
mov dword [ebp - 0x494], eax
call fcn.0054f6e0
mov ecx, dword [ebp - 0x494]
mov edx, dword [eax + 0x10]
mov dword [eax + 0x14], 1
add edx, edx
or edx, ecx
mov dword [eax + 0x10], edx
jmp 0x4575b4
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x3391
mov eax, dword [ebp - 0x394]
mov dword [esp + 0x10], esi
cmp eax, edi
mov dword [esp + 8], eax
sete al
mov dword [esp + 0xc], ebx
movzx eax, al
mov dword [esp + 4], 0x569918
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
shr dword [eax + 0x10], 1
call fcn.0054f6e0
mov edx, dword [eax + 0x14]
mov dword [eax + 0x14], 0
test edx, edx
jne 0x457570
mov eax, dword [ebp - 0x480]
mov edx, dword [eax]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx + pe_nt_image_headers32]
sub esp, 8
jmp 0x45701d
mov dword [ebp - 0x494], 0
mov edi, 0xdeadbeef
jmp 0x45754c
mov dword [ebp - 0x494], 0
mov edi, 0xdeadbeef
jmp 0x457412
mov eax, dword [ebp - 0x484]
mov ebx, dword [ebp - 0x498]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x480]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0x47c]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
add ebx, 1
cmp ebx, 3
jne 0x456c17
xor esi, esi
lea esi, [esi]
nop
mov eax, 0xcccccccc
mov ecx, 0x100
lea edi, [ebp - 0x40c]
mov ebx, dword [esi*4 + 0x56f200]
rep stosd dword es:[edi], eax
mov edx, 0x80070057
mov eax, ebx
mov dword [ebp - 0x40c], ebx
and eax, 0xffffffef
cmp eax, 0x6c
cmove edx, ecx
mov ecx, dword [ebp - 0x490]
mov eax, dword [ecx]
mov dword [ebp - 0x488], edx
lea edx, [ebp - 0x40c]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [eax + 0x30]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33be
xor eax, eax
mov dword [esp + 0x10], ebx
mov edx, dword [ebp - 0x488]
mov dword [esp + 8], edi
cmp edx, edi
mov dword [esp + 0xc], edx
sete al
mov dword [esp + 4], 0x569950
mov dword [esp], eax
call fcn.0044c570
test edi, edi
js 0x4577a4
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33c1
mov eax, dword [ebp - 0x40c]
mov dword [esp + 0xc], ebx
cmp eax, 0x6c
mov dword [esp + 8], eax
sete al
mov dword [esp + 4], 0x569976
movzx eax, al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33c2
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x56998e
cmp byte [ebp + ebx - 0x40c], 0xcc
sete al
mov dword [esp], eax
call fcn.0044c570
call fcn.0054f6e0
mov dword [eax], 0x567528
mov dword [eax + 4], 0x33c3
xor eax, eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x5699a8
cmp byte [ebp + ebx - 0x40d], 0xcc
setne al
mov dword [esp], eax
call fcn.0044c570
add esi, 1
cmp esi, 0xf
jne 0x457670
mov esi, dword [ebp - 0x490]
mov eax, dword [esi]
mov dword [esp], esi
call dword [eax + 8]
sub esp, 4
mov ebx, eax
mov eax, 0x33c8
call fcn.0044bd10
xor eax, eax
test ebx, ebx
mov dword [esp + 8], ebx
sete al
mov dword [esp + 4], 0x569590
mov dword [esp], eax
call fcn.0044c570
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x333b
call fcn.0044bd10
mov eax, dword [ebx*8 + 0x56f278]
mov dword [esp], 0x569794
mov dword [esp + 4], eax
call fcn.0044bfd0
jmp 0x457659
mov eax, 0x332b
call fcn.0044bd10
mov dword [esp], 0x569778
call fcn.0044bfd0
jmp 0x4577e8