Function at 0x1003c9e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067e1f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58c
push esi
push edi
mov dword [ebp - 0xb8], 6
mov byte [ebp - 0x8a], 0
movzx eax, byte [ebp - 0x8a]
test eax, eax
je 0x1003ca44
push 0xfd3
push 0
push 0
push 0x161d
push 0x11ec
push 0
push 0x183e
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0xb8], 0xffffffe6
jmp 0x1003ca5d
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0xffffffee
jle 0x1003cb54
push 3
lea ecx, [ebp - 0x478]
call fcn.10028b5c
and dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
jmp 0x1003ca8b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x1003caa7
push dword [ebp - 0x44]
lea ecx, [ebp - 0x478]
call fcn.10028ca3
mov dword [eax], 0x386c
jmp 0x1003ca84
mov dword [ebp - 0x44], 0
jmp 0x1003cab7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1003cacd
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0xf8], 0xfffffffd
jmp 0x1003cab0
cmp dword [ebp - 0xb8], 0
je 0x1003cae7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.10028c61
jmp 0x1003cb54
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xf8], 2
jmp 0x1003cb15
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xf8]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xf8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xf8], 0
jl 0x1003cb40
mov byte [ebp - 0x6d], 0
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x1003cb3e
push 0xb18
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
jmp 0x1003cafa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.10028c61
jmp 0x1003ca50
mov dword [ebp - 0xac], 6
mov byte [ebp - 0x8c], 0
movzx eax, byte [ebp - 0x8c]
test eax, eax
je 0x1003cb90
push 0xfd3
push 0
push 0
push 0x161d
push 0x11ec
push 0
push 0x183e
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0xac], 0xffffffe6
jmp 0x1003cba9
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0xffffffee
jle 0x1003cca3
push 3
lea ecx, [ebp - 0x46c]
call fcn.10028b5c
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 0
jmp 0x1003cbda
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 3
jge 0x1003cbf6
push dword [ebp - 0x54]
lea ecx, [ebp - 0x46c]
call fcn.10028ca3
mov dword [eax], 0x386c
jmp 0x1003cbd3
mov dword [ebp - 0x54], 0
jmp 0x1003cc06
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1003cc1c
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0xec], 0xfffffffd
jmp 0x1003cbff
cmp dword [ebp - 0xac], 0
je 0x1003cc36
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x46c]
call fcn.10028c61
jmp 0x1003cca3
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0xec], 2
jmp 0x1003cc64
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xec]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xec], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xec], 0
jl 0x1003cc8f
mov byte [ebp - 0x6f], 0
movzx eax, byte [ebp - 0x6f]
test eax, eax
je 0x1003cc8d
push 0xb18
push 0
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
jmp 0x1003cc49
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x46c]
call fcn.10028c61
jmp 0x1003cb9c
mov dword [ebp - 0xcc], 0x7e2799ac
mov dword [ebp - 0xcc], 0
jmp 0x1003ccc6
mov eax, dword [ebp - 0xcc]
dec eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0xffffffe2
jg 0x1003cd03
mov dword [ebp - 0x3d8], 7
cmp dword [ebp - 0x3d8], 0
je 0x1003cce4
jmp 0x1003cd03
mov byte [ebp - 0x89], 0
movzx eax, byte [ebp - 0x89]
test eax, eax
je 0x1003cd01
push 0x9ef
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1003ccb9
mov dword [ebp - 0x14], 0x5a9c4c8d
mov dword [ebp - 0x34], 0xf415
mov dword [ebp - 0xb0], 0xfffffffe
mov dword [ebp - 0x110], 0xa46b4c01
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x53c], 0xdc66
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c0], eax
cmp dword [ebp - 0x14], 0
je 0x1003cd9e
cmp dword [ebp - 0x34], 1
jg 0x1003cd5a
mov dword [ebp - 0x278], 1
jmp 0x1003cd61
and dword [ebp - 0x278], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x278], eax
jle 0x1003cd78
mov dword [ebp - 0x388], 1
jmp 0x1003cd7f
and dword [ebp - 0x388], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x388]
sub ecx, dword [ebp - 0x14]
imul eax, ecx
test eax, eax
je 0x1003cd9e
mov dword [ebp - 0x390], 1
jmp 0x1003cda5
and dword [ebp - 0x390], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x390], eax
jge 0x1003cdbc
mov dword [ebp - 0x15c], 1
jmp 0x1003cdc3
and dword [ebp - 0x15c], 0
cmp dword [ebp - 0x15c], 0xffffffff
jbe 0x1003cdd8
mov dword [ebp - 0x2c4], 1
jmp 0x1003cddf
and dword [ebp - 0x2c4], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2c4]
je 0x1003cdff
mov eax, 0xfad5befa
test eax, eax
je 0x1003cdff
mov dword [ebp - 0x164], 1
jmp 0x1003ce06
and dword [ebp - 0x164], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x164], eax
je 0x1003ce33
mov byte [ebp - 0x71], 0
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x1003ce25
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb0], eax
jmp 0x1003d1ca
push 1
lea ecx, [ebp - 0x3c4]
call fcn.10028b5c
mov dword [ebp - 4], 2
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x300], 0xffffffff
mov dword [ebp - 0xa8], 0xfffffff6
mov dword [ebp - 0x410], 0x4d37718c
mov dword [ebp - 0xf4], 0
jmp 0x1003ce88
mov eax, dword [ebp - 0xf4]
inc eax
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 1
jge 0x1003ceaa
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x3c4]
call fcn.10028ca3
mov dword [eax], 1
jmp 0x1003ce7b
push 0
lea ecx, [ebp - 0x3c4]
call fcn.10028ca3
mov ecx, dword [ebp - 0x34]
cmp dword [eax], ecx
jne 0x1003ced0
cmp dword [ebp - 0x34], 0
je 0x1003ced0
mov dword [ebp - 0x400], 1
jmp 0x1003ced7
and dword [ebp - 0x400], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c8], eax
push 0
lea ecx, [ebp - 0x3c4]
call fcn.10028ca3
cmp dword [eax], 0xffffffff
jl 0x1003cefe
mov dword [ebp - 0x2cc], 1
jmp 0x1003cf05
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x2cc], eax
jle 0x1003cf1c
mov dword [ebp - 0x16c], 1
jmp 0x1003cf23
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0xfffffff9
jb 0x1003cf38
mov dword [ebp - 0x2f0], 1
jmp 0x1003cf3f
and dword [ebp - 0x2f0], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x2f0], eax
jge 0x1003cf59
mov dword [ebp - 0x174], 1
jmp 0x1003cf60
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x4e8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4f0], eax
xor eax, eax
add eax, 0xa681120b
jne 0x1003cf9a
push 4
pop eax
test eax, eax
jne 0x1003cf9a
and dword [ebp - 0x408], 0
jmp 0x1003cfa4
mov dword [ebp - 0x408], 1
push 0
lea ecx, [ebp - 0x3c4]
call fcn.10028ca3
mov esi, eax
push 0
lea ecx, [ebp - 0x3c4]
call fcn.10028ca3
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1003cfd2
mov dword [ebp - 0x2f8], 1
jmp 0x1003cfd9
and dword [ebp - 0x2f8], 0
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
add eax, dword [ebp - 0x34]
jne 0x1003d00e
cmp dword [ebp - 0x300], 0
jne 0x1003d00e
and dword [ebp - 0x17c], 0
jmp 0x1003d018
mov dword [ebp - 0x17c], 1
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x17c], eax
jle 0x1003d032
mov dword [ebp - 0x184], 1
jmp 0x1003d039
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x300]
imul eax, dword [ebp - 0x184]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb0], eax
jl 0x1003d063
mov dword [ebp - 0x308], 1
jmp 0x1003d06a
and dword [ebp - 0x308], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x308]
neg eax
imul eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xa8]
jne 0x1003d08d
mov dword [ebp - 0x18c], 1
jmp 0x1003d094
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x18c], eax
je 0x1003d0ab
mov dword [ebp - 0x418], 1
jmp 0x1003d0b2
and dword [ebp - 0x418], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4f8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x500], eax
cmp dword [ebp - 0x110], 0xe63d4d86
jae 0x1003d0dc
mov dword [ebp - 0x310], 1
jmp 0x1003d0e3
and dword [ebp - 0x310], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x310], eax
jl 0x1003d0fa
mov dword [ebp - 0x194], 1
jmp 0x1003d101
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x94], 0
jmp 0x1003d126
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0
jg 0x1003d1bb
mov dword [ebp - 0x14], 0
jmp 0x1003d143
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x1003d17e
mov byte [ebp - 0x8e], 0
movzx eax, byte [ebp - 0x8e]
test eax, eax
je 0x1003d168
push 0
push 0x1f60
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0
lea ecx, [ebp - 0x3c4]
call fcn.10028ca3
cmp dword [eax], 0
je 0x1003d17c
jmp 0x1003d17e
jmp 0x1003d13c
mov dword [ebp - 0xa8], 0
jmp 0x1003d197
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jg 0x1003d1b6
mov byte [ebp - 0x73], 0
movzx eax, byte [ebp - 0x73]
test eax, eax
je 0x1003d1b4
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
jmp 0x1003d18a
jmp 0x1003d119
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c4]
call fcn.10028c61
mov dword [ebp - 0xd4], 0x7e2799ac
mov dword [ebp - 0xd4], 0
jmp 0x1003d1ed
mov eax, dword [ebp - 0xd4]
dec eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0xffffffe2
jg 0x1003d22a
mov dword [ebp - 0x430], 7
cmp dword [ebp - 0x430], 0
je 0x1003d20b
jmp 0x1003d22a
mov byte [ebp - 0x90], 0
movzx eax, byte [ebp - 0x90]
test eax, eax
je 0x1003d228
push 0x9ef
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x1003d1e0
mov dword [ebp - 0xfc], 0x33efc07e
push 2
lea ecx, [ebp - 0x150]
call fcn.10028b5c
mov dword [ebp - 4], 3
mov dword [ebp - 0x438], 0xfffffffc
mov dword [ebp - 0x508], 0x90ae
mov dword [ebp - 0x4c], 0
jmp 0x1003d26c
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1003d288
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x150]
call fcn.10028ca3
mov dword [eax], 0xffff
jmp 0x1003d265
mov dword [ebp - 0x4c], 0
jmp 0x1003d298
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x1003d2ae
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x4d4], 0x628405ce
jmp 0x1003d291
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x510], eax
push 1
lea ecx, [ebp - 0x150]
call fcn.10028ca3
mov ecx, dword [ebp - 0xfc]
cmp dword [eax], ecx
jl 0x1003d2ec
push 0
lea ecx, [ebp - 0x150]
call fcn.10028ca3
cmp dword [eax], 0
jne 0x1003d2ec
and dword [ebp - 0x12c], 0
jmp 0x1003d2f6
mov dword [ebp - 0x12c], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x12c]
mov dword [ebp + eax - 0x4d4], ecx
mov esi, dword [ebp - 0xfc]
push 1
lea ecx, [ebp - 0x150]
call fcn.10028ca3
mov eax, dword [eax]
add eax, dword [ebp - 0x12c]
cmp eax, esi
je 0x1003d334
mov dword [ebp - 0x318], 1
jmp 0x1003d33b
and dword [ebp - 0x318], 0
push 1
lea ecx, [ebp - 0x150]
call fcn.10028ca3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x318]
jg 0x1003d364
mov eax, 0xb1a7
test eax, eax
jne 0x1003d364
and dword [ebp - 0x19c], 0
jmp 0x1003d36e
mov dword [ebp - 0x19c], 1
push 0
lea ecx, [ebp - 0x150]
call fcn.10028ca3
mov esi, dword [ebp - 0x19c]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x150]
call fcn.10028ca3
cmp esi, dword [eax]
jg 0x1003d3a0
mov dword [ebp - 0x320], 1
jmp 0x1003d3a7
and dword [ebp - 0x320], 0
mov esi, dword [ebp - 0xfc]
push 0
lea ecx, [ebp - 0x150]
call fcn.10028ca3
mov edi, dword [ebp - 0x320]
sub edi, dword [eax]
push 0
lea ecx, [ebp - 0x150]
call fcn.10028ca3
sub edi, dword [eax]
cmp esi, edi
jne 0x1003d3e1
mov dword [ebp - 0x1a4], 1
jmp 0x1003d3e8
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x1a4]
add eax, 0x488a
imul eax, eax, 0xf59e
mov dword [ebp - 0x438], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x150]
call fcn.10028c61
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x104], 0x36544d18
cmp dword [ebp - 0x64], 0
jb 0x1003d431
mov dword [ebp - 0x440], 1
jmp 0x1003d438
and dword [ebp - 0x440], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
je 0x1003d45c
cmp dword [ebp - 0x64], 0
je 0x1003d45c
mov dword [ebp - 0x328], 1
jmp 0x1003d463
and dword [ebp - 0x328], 0
cmp dword [ebp - 0x328], 8
jge 0x1003d478
mov dword [ebp - 0x1ac], 1
jmp 0x1003d47f
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x1ac]
jg 0x1003d499
mov dword [ebp - 0x444], 1
jmp 0x1003d4a0
and dword [ebp - 0x444], 0
cmp dword [ebp - 0x104], 0
je 0x1003d4c5
xor eax, eax
inc eax
je 0x1003d4c5
mov byte [ebp - 0x75], 0
movzx eax, byte [ebp - 0x75]
test eax, eax
je 0x1003d4c0
call dword [sym.imp.USER32.dll_GetMessageTime]
jmp 0x1003d644
mov dword [ebp - 0x330], 1
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1cc], 0xffff
mov dword [ebp - 0xdc], 0
jmp 0x1003d4fc
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 3
jge 0x1003d518
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x548], 0xffff
jmp 0x1003d4ef
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x330], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x548]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x518], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x520], eax
cmp dword [ebp - 0x64], 0
jne 0x1003d564
cmp dword [ebp - 0x64], 0
jne 0x1003d564
and dword [ebp - 0x338], 0
jmp 0x1003d56e
mov dword [ebp - 0x338], 1
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x338], eax
je 0x1003d585
mov dword [ebp - 0x1bc], 1
jmp 0x1003d58c
and dword [ebp - 0x1bc], 0
cmp dword [ebp - 0x1bc], 0xffffffff
je 0x1003d5a1
mov dword [ebp - 0x340], 1
jmp 0x1003d5a8
and dword [ebp - 0x340], 0
cmp dword [ebp - 0x340], 0xffff
jne 0x1003d5c0
mov dword [ebp - 0x1c4], 1
jmp 0x1003d5c7
and dword [ebp - 0x1c4], 0
cmp dword [ebp - 0x1c4], 0x6fdd
jg 0x1003d5df
mov dword [ebp - 0x348], 1
jmp 0x1003d5e6
and dword [ebp - 0x348], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x548]
cmp eax, dword [ebp - 0x348]
jl 0x1003d623
mov byte [ebp - 0x8f], 0
movzx eax, byte [ebp - 0x8f]
test eax, eax
je 0x1003d621
push 0x6ee
push 0
push 0xcf7
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1003d644
mov eax, dword [ebp - 0x1cc]
dec eax
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 0x77], 0
movzx eax, byte [ebp - 0x77]
test eax, eax
je 0x1003d644
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x10], 0x5a9c4c8d
mov dword [ebp - 0x38], 0xf415
mov dword [ebp - 0xb4], 0xfffffffe
mov dword [ebp - 0x11c], 0xa46b4c01
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x528], 0xdc66
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x530], eax
cmp dword [ebp - 0x10], 0
je 0x1003d6df
cmp dword [ebp - 0x38], 1
jg 0x1003d69b
mov dword [ebp - 0x350], 1
jmp 0x1003d6a2
and dword [ebp - 0x350], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x350], eax
jle 0x1003d6b9
mov dword [ebp - 0x1d4], 1
jmp 0x1003d6c0
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1d4]
sub ecx, dword [ebp - 0x10]
imul eax, ecx
test eax, eax
je 0x1003d6df
mov dword [ebp - 0x358], 1
jmp 0x1003d6e6
and dword [ebp - 0x358], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x358], eax
jge 0x1003d6fd
mov dword [ebp - 0x1dc], 1
jmp 0x1003d704
and dword [ebp - 0x1dc], 0
cmp dword [ebp - 0x1dc], 0xffffffff
jbe 0x1003d719
mov dword [ebp - 0x360], 1
jmp 0x1003d720
and dword [ebp - 0x360], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x360]
je 0x1003d740
mov eax, 0xfad5befa
test eax, eax
je 0x1003d740
mov dword [ebp - 0x1e4], 1
jmp 0x1003d747
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x1e4], eax
je 0x1003d77a
mov byte [ebp - 0x8d], 0
movzx eax, byte [ebp - 0x8d]
test eax, eax
je 0x1003d76c
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb4], eax
jmp 0x1003db0b
push 1
lea ecx, [ebp - 0x3b8]
call fcn.10028b5c
mov dword [ebp - 4], 4
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x200], 0xffffffff
mov dword [ebp - 0xa4], 0xfffffff6
mov dword [ebp - 0x420], 0x4d37718c
mov dword [ebp - 0x10c], 0
jmp 0x1003d7cf
mov eax, dword [ebp - 0x10c]
inc eax
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 1
jge 0x1003d7f1
push dword [ebp - 0x10c]
lea ecx, [ebp - 0x3b8]
call fcn.10028ca3
mov dword [eax], 1
jmp 0x1003d7c2
push 0
lea ecx, [ebp - 0x3b8]
call fcn.10028ca3
mov ecx, dword [ebp - 0x38]
cmp dword [eax], ecx
jne 0x1003d817
cmp dword [ebp - 0x38], 0
je 0x1003d817
mov dword [ebp - 0x3f8], 1
jmp 0x1003d81e
and dword [ebp - 0x3f8], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x538], eax
push 0
lea ecx, [ebp - 0x3b8]
call fcn.10028ca3
cmp dword [eax], 0xffffffff
jl 0x1003d845
mov dword [ebp - 0x368], 1
jmp 0x1003d84c
and dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x368], eax
jle 0x1003d863
mov dword [ebp - 0x1ec], 1
jmp 0x1003d86a
and dword [ebp - 0x1ec], 0
cmp dword [ebp - 0x1ec], 0xfffffff9
jb 0x1003d87f
mov dword [ebp - 0x370], 1
jmp 0x1003d886
and dword [ebp - 0x370], 0
mov eax, dword [ebp - 0xb4]
cmp dword [ebp - 0x370], eax
jge 0x1003d8a0
mov dword [ebp - 0x1f4], 1
jmp 0x1003d8a7
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x1f4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4fc], eax
xor eax, eax
add eax, 0xa681120b
jne 0x1003d8e1
push 4
pop eax
test eax, eax
jne 0x1003d8e1
and dword [ebp - 0x3e4], 0
jmp 0x1003d8eb
mov dword [ebp - 0x3e4], 1
push 0
lea ecx, [ebp - 0x3b8]
call fcn.10028ca3
mov esi, eax
push 0
lea ecx, [ebp - 0x3b8]
call fcn.10028ca3
mov ecx, dword [esi]
cmp ecx, dword [eax]
jg 0x1003d919
mov dword [ebp - 0x378], 1
jmp 0x1003d920
and dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
add eax, dword [ebp - 0x38]
jne 0x1003d955
cmp dword [ebp - 0x200], 0
jne 0x1003d955
and dword [ebp - 0x380], 0
jmp 0x1003d95f
mov dword [ebp - 0x380], 1
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x380], eax
jle 0x1003d979
mov dword [ebp - 0x2e8], 1
jmp 0x1003d980
and dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x200]
imul eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xb4], eax
jl 0x1003d9aa
mov dword [ebp - 0x208], 1
jmp 0x1003d9b1
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x208]
neg eax
imul eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xa4]
jne 0x1003d9d4
mov dword [ebp - 0x33c], 1
jmp 0x1003d9db
and dword [ebp - 0x33c], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x33c], eax
je 0x1003d9f2
mov dword [ebp - 0x3ec], 1
jmp 0x1003d9f9
and dword [ebp - 0x3ec], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x534], eax
cmp dword [ebp - 0x11c], 0xe63d4d86
jae 0x1003da23
mov dword [ebp - 0x210], 1
jmp 0x1003da2a
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x210], eax
jl 0x1003da41
mov dword [ebp - 0x2e4], 1
jmp 0x1003da48
and dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x9c], 0
jmp 0x1003da6d
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jg 0x1003dafc
mov dword [ebp - 0x10], 0
jmp 0x1003da8a
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1003dabf
mov byte [ebp - 0x79], 0
movzx eax, byte [ebp - 0x79]
test eax, eax
je 0x1003daa9
push 0
push 0x1f60
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push 0
lea ecx, [ebp - 0x3b8]
call fcn.10028ca3
cmp dword [eax], 0
je 0x1003dabd
jmp 0x1003dabf
jmp 0x1003da83
mov dword [ebp - 0xa4], 0
jmp 0x1003dad8
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jg 0x1003daf7
mov byte [ebp - 0x69], 0
movzx eax, byte [ebp - 0x69]
test eax, eax
je 0x1003daf5
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
jmp 0x1003dacb
jmp 0x1003da60
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3b8]
call fcn.10028c61
movzx eax, byte [0x1099da88]
test eax, eax
je 0x1003db29
mov esi, 0x106569d8
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x1003f476
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x218], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x1003db4d
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x1003db63
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x3d4], 4
jmp 0x1003db46
mov dword [ebp - 0x3c], 0
jmp 0x1003db73
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x1003db89
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x504], 0x74dd0324
jmp 0x1003db6c
mov byte [ebp - 0x6a], 0
movzx eax, byte [ebp - 0x6a]
test eax, eax
je 0x1003dba0
push 0x174c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x3d4], 9
jmp 0x1003dbce
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x3d4]
dec eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x3d4], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x3d4], 0xfffffffc
jg 0x1003dc43
mov dword [ebp - 0x49c], 0x2121
mov dword [ebp - 0x568], 0xfffffffd
mov dword [ebp - 0x4a4], 0x17b844a7
mov dword [ebp - 0xe8], 0
jmp 0x1003dc15
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 3
jge 0x1003dc31
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x58c], 0x32cf415d
jmp 0x1003dc08
mov eax, dword [ebp - 0x218]
dec eax
mov dword [ebp - 0x218], eax
jmp 0x1003dbb3
mov dword [ebp - 0x108], 0x33efc07e
push 2
lea ecx, [ebp - 0x144]
call fcn.10028b5c
mov dword [ebp - 4], 5
mov dword [ebp - 0x3f4], 0xfffffffc
mov dword [ebp - 0x50c], 0x90ae
mov dword [ebp - 0x40], 0
jmp 0x1003dc85
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1003dca1
push dword [ebp - 0x40]
lea ecx, [ebp - 0x144]
call fcn.10028ca3
mov dword [eax], 0xffff
jmp 0x1003dc7e
mov dword [ebp - 0x40], 0
jmp 0x1003dcb1
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 2
jge 0x1003dcc7
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x4e0], 0x628405ce
jmp 0x1003dcaa
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x4ac], eax
push 1
lea ecx, [ebp - 0x144]
call fcn.10028ca3
mov ecx, dword [ebp - 0x108]
cmp dword [eax], ecx
jl 0x1003dd05
push 0
lea ecx, [ebp - 0x144]
call fcn.10028ca3
cmp dword [eax], 0
jne 0x1003dd05
and dword [ebp - 0x138], 0
jmp 0x1003dd0f
mov dword [ebp - 0x138], 1
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x138]
mov dword [ebp + eax - 0x4e0], ecx
mov esi, dword [ebp - 0x108]
push 1
lea ecx, [ebp - 0x144]
call fcn.10028ca3
mov eax, dword [eax]
add eax, dword [ebp - 0x138]
cmp eax, esi
je 0x1003dd4d
mov dword [ebp - 0x36c], 1
jmp 0x1003dd54
and dword [ebp - 0x36c], 0
push 1
lea ecx, [ebp - 0x144]
call fcn.10028ca3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x36c]
jg 0x1003dd7d
mov eax, 0xb1a7
test eax, eax
jne 0x1003dd7d
and dword [ebp - 0x220], 0
jmp 0x1003dd87
mov dword [ebp - 0x220], 1
push 0
lea ecx, [ebp - 0x144]
call fcn.10028ca3
mov esi, dword [ebp - 0x220]
add esi, dword [eax]
push 0
lea ecx, [ebp - 0x144]
call fcn.10028ca3
cmp esi, dword [eax]
jg 0x1003ddb9
mov dword [ebp - 0x2ec], 1
jmp 0x1003ddc0
and dword [ebp - 0x2ec], 0
mov esi, dword [ebp - 0x108]
push 0
lea ecx, [ebp - 0x144]
call fcn.10028ca3
mov edi, dword [ebp - 0x2ec]
sub edi, dword [eax]
push 0
lea ecx, [ebp - 0x144]
call fcn.10028ca3
sub edi, dword [eax]
cmp esi, edi
jne 0x1003ddfa
mov dword [ebp - 0x228], 1
jmp 0x1003de01
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x228]
add eax, 0x488a
imul eax, eax, 0xf59e
mov dword [ebp - 0x3f4], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x144]
call fcn.10028c61
push 4
lea ecx, [ebp - 0x3a0]
call fcn.10028b5c
mov dword [ebp - 4], 6
mov dword [ebp - 0x43c], 0xc01e6e2b
mov dword [ebp - 0x48], 0
jmp 0x1003de55
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x1003de6b
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x460], 6
jmp 0x1003de4e
mov dword [ebp - 0x48], 0
jmp 0x1003de7b
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 4
jge 0x1003de97
push dword [ebp - 0x48]
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
mov dword [eax], 0x42c70bb7
jmp 0x1003de74
mov byte [ebp - 0x6c], 0
movzx eax, byte [ebp - 0x6c]
test eax, eax
je 0x1003debb
push 0
push 0x1ee1
push 0
push 0
push 0xcff
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 3
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
mov dword [eax], 2
jmp 0x1003def4
push 3
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x344]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x344]
mov dword [ecx], eax
push 3
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
cmp dword [eax], 0
jl 0x1003dfcc
mov dword [ebp - 0x124], 0xfffffff9
push 3
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
mov eax, dword [eax]
imul esi, dword [ebp + eax*4 - 0x460], 0xffffeb85
push 3
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
mov eax, dword [eax]
cmp esi, dword [ebp + eax*4 - 0x460]
jg 0x1003df52
mov dword [ebp - 0x230], 1
jmp 0x1003df59
and dword [ebp - 0x230], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x460]
cmp dword [ebp - 0x230], eax
jl 0x1003df79
mov dword [ebp - 0x2f4], 1
jmp 0x1003df80
and dword [ebp - 0x2f4], 0
push 3
lea ecx, [ebp - 0x3a0]
call fcn.10028ca3
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x460]
mov dword [ebp - 0x47c], eax
mov dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
imul eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x43c], eax
cmp dword [ebp - 0x124], 0
je 0x1003dfc7
jmp 0x1003ded0
jmp 0x1003ded0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3a0]
call fcn.10028c61
mov dword [ebp - 0x4b4], 0x106569d8
mov dword [ebp - 0x68], 3
mov dword [ebp - 0x100], 0x36544d18
cmp dword [ebp - 0x68], 0
jb 0x1003e008
mov dword [ebp - 0x3fc], 1
jmp 0x1003e00f
and dword [ebp - 0x3fc], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0
je 0x1003e033
cmp dword [ebp - 0x68], 0
je 0x1003e033
mov dword [ebp - 0x238], 1
jmp 0x1003e03a
and dword [ebp - 0x238], 0
cmp dword [ebp - 0x238], 8
jge 0x1003e04f
mov dword [ebp - 0x384], 1
jmp 0x1003e056
and dword [ebp - 0x384], 0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x384]
jg 0x1003e070
mov dword [ebp - 0x42c], 1
jmp 0x1003e077
and dword [ebp - 0x42c], 0
cmp dword [ebp - 0x100], 0
je 0x1003e09c
xor eax, eax
inc eax
je 0x1003e09c
mov byte [ebp - 0x6e], 0
movzx eax, byte [ebp - 0x6e]
test eax, eax
je 0x1003e097
call dword [sym.imp.USER32.dll_GetMessageTime]
jmp 0x1003e215
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x374], 0xffff
mov dword [ebp - 0xf0], 0
jmp 0x1003e0d3
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 3
jge 0x1003e0ef
mov eax, dword [ebp - 0xf0]
mov dword [ebp + eax*4 - 0x558], 0xffff
jmp 0x1003e0c6
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x240], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x558]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x4bc], eax
cmp dword [ebp - 0x68], 0
jne 0x1003e13b
cmp dword [ebp - 0x68], 0
jne 0x1003e13b
and dword [ebp - 0x248], 0
jmp 0x1003e145
mov dword [ebp - 0x248], 1
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x248], eax
je 0x1003e15c
mov dword [ebp - 0x34c], 1
jmp 0x1003e163
and dword [ebp - 0x34c], 0
cmp dword [ebp - 0x34c], 0xffffffff
je 0x1003e178
mov dword [ebp - 0x250], 1
jmp 0x1003e17f
and dword [ebp - 0x250], 0
cmp dword [ebp - 0x250], 0xffff
jne 0x1003e197
mov dword [ebp - 0x304], 1
jmp 0x1003e19e
and dword [ebp - 0x304], 0
cmp dword [ebp - 0x304], 0x6fdd
jg 0x1003e1b6
mov dword [ebp - 0x258], 1
jmp 0x1003e1bd
and dword [ebp - 0x258], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x558]
cmp eax, dword [ebp - 0x258]
jl 0x1003e1f4
mov byte [ebp - 0x70], 0
movzx eax, byte [ebp - 0x70]
test eax, eax
je 0x1003e1f2
push 0x6ee
push 0
push 0xcf7
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x1003e215
mov eax, dword [ebp - 0x374]
dec eax
mov dword [ebp - 0x374], eax
mov byte [ebp - 0x72], 0
movzx eax, byte [ebp - 0x72]
test eax, eax
je 0x1003e215
push 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1c], 0x4e064826
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x50], 0x8169b41d
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xe0], 0
jmp 0x1003e24a
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 1
jge 0x1003e263
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x80], 0xea3bbe75
jmp 0x1003e23d
mov dword [ebp - 0x1c], 0xffffffe5
jmp 0x1003e273
cmp dword [ebp - 0x1c], 0xffffffeb
jge 0x1003e4d8
mov dword [ebp - 0x98], 0xc4e2bf5
mov dword [ebp - 0x31c], 0
mov dword [ebp - 0xc0], 0
jmp 0x1003e2aa
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 3
jge 0x1003e2c6
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x574], 0x59ba
jmp 0x1003e29d
cmp dword [ebp - 0x1c], 0
jne 0x1003e3f1
or eax, 0xffffffff
je 0x1003e347
cmp dword [ebp - 0x98], 0xfffffff8
jle 0x1003e2ea
mov dword [ebp - 0x260], 1
jmp 0x1003e2f1
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x260], eax
je 0x1003e30b
mov dword [ebp - 0x30c], 1
jmp 0x1003e312
and dword [ebp - 0x30c], 0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x30c]
jg 0x1003e329
mov dword [ebp - 0x268], 1
jmp 0x1003e330
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x268], eax
jle 0x1003e347
and dword [ebp - 0x404], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x51c], eax
mov eax, 0xa99d
cmp eax, 1
jg 0x1003e382
mov dword [ebp - 0x448], 1
jmp 0x1003e389
and dword [ebp - 0x448], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x4cc], eax
imul eax, dword [ebp - 0x20], 0x8a6e
cmp eax, dword [ebp - 0x1c]
jg 0x1003e3ad
mov dword [ebp - 0x354], 1
jmp 0x1003e3b4
and dword [ebp - 0x354], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x354], eax
jl 0x1003e3ce
mov dword [ebp - 0x270], 1
jmp 0x1003e3d5
and dword [ebp - 0x270], 0
cmp dword [ebp - 0x270], 0xffffffff
jl 0x1003e3ea
cmp dword [ebp - 0x20], 0x95e04a2
jg 0x1003e406
mov dword [ebp - 0x154], 1
jmp 0x1003e40d
and dword [ebp - 0x154], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x154], eax
jl 0x1003e424
mov dword [ebp - 0x394], 1
jmp 0x1003e42b
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x394], eax
jg 0x1003e442
mov dword [ebp - 0x134], 1
jmp 0x1003e449
and dword [ebp - 0x134], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp + eax - 0x574], ecx
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x134], eax
jg 0x1003e476
mov dword [ebp - 0x280], 1
jmp 0x1003e47d
and dword [ebp - 0x280], 0
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x31c], eax
cmp dword [ebp - 0x31c], 0
je 0x1003e4a4
cmp dword [ebp - 0x50], 0
jne 0x1003e59b
cmp dword [ebp - 0x20], 0
jne 0x1003e4f7
cmp dword [ebp - 0x20], 0
jne 0x1003e4f7
and dword [ebp - 0x290], 0
jmp 0x1003e501
mov dword [ebp - 0x290], 1
imul eax, dword [ebp - 0x290], 0x2fc3
sub eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x30]
cmp dword [ebp - 0x50], 0xfffffff7
jge 0x1003e523
mov dword [ebp - 0x324], 1
jmp 0x1003e52a
and dword [ebp - 0x324], 0
cmp dword [ebp - 0x324], 0xba8
jne 0x1003e546
push 0xfffffffffffffff7
pop eax
test eax, eax
jne 0x1003e546
and dword [ebp - 0x298], 0
jmp 0x1003e550
mov dword [ebp - 0x298], 1
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x298], eax
jl 0x1003e56d
mov eax, 0x825d
test eax, eax
jne 0x1003e56d
and dword [ebp - 0x114], 0
jmp 0x1003e577
mov dword [ebp - 0x114], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax - 0x80], ecx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x114]
jne 0x1003e59b
and dword [ebp - 0x40c], 0
jmp 0x1003e5a5
mov dword [ebp - 0x40c], 1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4d8], eax
cmp dword [ebp - 0x20], 0
jne 0x1003e5c9
mov dword [ebp - 0x37c], 1
jmp 0x1003e5d0
and dword [ebp - 0x37c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x37c], eax
jg 0x1003e5e7
mov dword [ebp - 0x2a0], 1
jmp 0x1003e5ee
and dword [ebp - 0x2a0], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x2a0], eax
jle 0x1003e605
mov dword [ebp - 0x32c], 1
jmp 0x1003e60c
and dword [ebp - 0x32c], 0
mov eax, dword [ebp - 0x32c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x50], eax
je 0x1003e629
mov dword [ebp - 0x2a8], 1
jmp 0x1003e630
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x1c]
sub eax, 0x6c4a8dfa
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x524], eax
cmp dword [ebp - 0x20], 5
jg 0x1003e662
mov dword [ebp - 0x364], 1
jmp 0x1003e669
and dword [ebp - 0x364], 0
mov eax, dword [ebp - 0x364]
add eax, 0x385f60b8
jne 0x1003e67a
cmp dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xfffffff9
je 0x1003e7c7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret