Function at 0x45a93d
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x45aa82
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x45a99c
push 0x24c5
push 1
call fcn.0045ad1e
pop ecx
pop ecx
jmp 0x45aa7d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x45aa23
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x45aa04
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x45aa21
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x68]
call fcn.0040e22e
mov dword [eax], 1
jmp 0x45a9f9
jmp 0x45aa7d
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x45aa5d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x45aa7d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0xb8]
call fcn.0040e22e
mov dword [eax], 0xfff6
jmp 0x45aa52
jmp 0x45ad1a
lea eax, [ebp + 0x30]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x45aae6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x45aad9
push 0
push 0x2193
push 0x11df
push 0x2327
call dword [sym.imp.GDI32.dll_GetDIBColorTable]
jmp 0x45aae1
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x45ad1a
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x45ab27
mov byte [ebp - 5], 0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x45ab22
push 0
call fcn.00455a9f
pop ecx
jmp 0x45ad1a
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x45ab7c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jg 0x45ad1a
push 3
lea ecx, [ebp - 0xc4]
call fcn.0040e140
mov dword [ebp - 0x18], 0
jmp 0x45aba5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x45abc1
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc4]
call fcn.0040e22e
mov dword [eax], 0xafa01777
jmp 0x45ab9e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0040e22e
cmp dword [eax], 0
je 0x45abe3
lea ecx, [ebp - 0xc4]
call fcn.0040e212
jmp 0x45ad1a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0040e22e
push 2
lea ecx, [ebp - 0xc4]
call fcn.0040e22e
mov dword [eax], 0xd393e75c
mov eax, dword [ebp - 4]
cmp dword [eax], 0xd393e75c
je 0x45ac17
mov dword [ebp - 0x1c], 1
jmp 0x45ac1b
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 0x10]
call fcn.0040e22e
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax]
jle 0x45ac35
mov dword [ebp - 0x30], 1
jmp 0x45ac39
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xfffffff7
jne 0x45ac48
mov dword [ebp - 0x28], 1
jmp 0x45ac4c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0040e22e
mov ecx, dword [ebp - 0x28]
imul ecx, dword [eax]
cmp ecx, 0xf2d
je 0x45ac70
mov dword [ebp - 0x20], 1
jmp 0x45ac74
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0x73d5943e
je 0x45ac89
mov dword [ebp - 0xac], 1
jmp 0x45ac90
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.0040e22e
push 3
pop ecx
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jl 0x45acb2
mov dword [ebp - 0x24], 1
jmp 0x45acb6
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
jle 0x45acc9
mov dword [ebp - 0x2c], 1
jmp 0x45accd
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x2c]
test eax, eax
je 0x45acf5
push 0
lea ecx, [ebp - 0xc4]
call fcn.0040e22e
cmp dword [eax], 0
je 0x45acf5
mov dword [ebp - 0x34], 1
jmp 0x45acf9
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
lea ecx, [ebp - 0xc4]
call fcn.0040e212
jmp 0x45ab71
mov esp, ebp
pop ebp
ret