Function at 0x1004667b
Capabilities:
Delete file
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
push esi
push edi
push 1
lea eax, [ebp - 0x450]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.10044c74
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x438]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x438]
lea edi, [ebp - 0x338]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x90], 0xffffffff
mov dword [ebp - 0x8c], 0xd32ffab8
mov dword [ebp - 0xd0], 0
jmp 0x100466e2
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
jge 0x100466fe
mov eax, dword [ebp - 0xd0]
mov dword [ebp + eax*4 - 0x350], 0xa2fafd11
jmp 0x100466d5
mov dword [ebp - 0x90], 0xfffffffe
jmp 0x10046717
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0xa
je 0x1004679f
mov dword [ebp - 0x2ac], 0xde0369bd
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x8c], 0
jmp 0x1004674f
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0x13
je 0x1004679a
mov dword [ebp - 0x70], 0xfffffff6
mov dword [ebp - 0x70], 0
jmp 0x1004676f
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 2
jge 0x10046785
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x350], 0xa835a23e
jmp 0x10046768
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp + eax - 0x350], ecx
jmp 0x10046742
jmp 0x1004670a
mov dword [ebp - 0x60], 0xa420452a
mov dword [ebp - 0x348], 0x799a
mov dword [ebp - 0x344], 0x799a
mov dword [ebp - 0x340], 0x799a
mov dword [ebp - 0x33c], 0x799a
mov dword [ebp - 0x2a8], 0xa12b57e8
mov dword [ebp - 0x2a4], 0xa12b57e8
mov dword [ebp - 0x2a0], 0xa12b57e8
mov dword [ebp - 0x29c], 0xa12b57e8
mov dword [ebp - 0x270], 0x73bf
mov dword [ebp - 0x390], 0x733e34b6
mov dword [ebp - 0xe4], 0
jmp 0x10046823
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 1
jge 0x1004683f
mov eax, dword [ebp - 0xe4]
mov dword [ebp + eax*4 - 0x2e0], 0xa50b5f0b
jmp 0x10046816
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2a8], 0
jmp 0x1004686d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a8]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x2a8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x2a8], 3
jg 0x10046920
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a8]
mov eax, dword [ebp + eax*4 - 0x348]
mov dword [ebp - 0x154], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2a8]
mov ecx, dword [ebp - 0x154]
mov dword [ebp + eax*4 - 0x348], ecx
cmp dword [ebp - 0x154], 0
je 0x100468cd
mov eax, dword [ebp - 0x270]
inc eax
mov dword [ebp - 0x270], eax
jmp 0x100468f9
mov byte [ebp - 0x4a], 0
movzx eax, byte [ebp - 0x4a]
test eax, eax
je 0x100468e8
push 0
push 1
push 0x22c7
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x2e0], 0x596a8978
mov byte [ebp - 0x48], 0
movzx eax, byte [ebp - 0x48]
test eax, eax
je 0x1004691b
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
jmp 0x10046852
mov dword [ebp - 0x298], 7
mov dword [ebp - 0x138], 0x60f57a7c
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x384], 0x67f5ed9a
mov dword [ebp - 0x38c], 0xd4a0d461
mov dword [ebp - 0x394], 0x3a065c2d
mov dword [ebp - 0x100], 6
mov dword [ebp - 0x290], 1
mov dword [ebp - 0x2f0], 0xffffffff
mov dword [ebp - 0x2e8], 0xffffffff
mov dword [ebp - 0x18], 0
jmp 0x10046994
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x100469aa
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x444], 0
jmp 0x1004698d
mov dword [ebp - 0x18], 0
jmp 0x100469ba
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x100469d0
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x27c], 0x4499c77e
jmp 0x100469b3
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x27c]
dec eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x27c], eax
cmp dword [ebp - 0x100], 0
jne 0x10046a90
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x2e8]
cmp dword [ebp - 0x290], eax
jne 0x10046a1e
mov dword [ebp - 0x23c], 1
jmp 0x10046a25
and dword [ebp - 0x23c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x27c]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x298]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x444]
cmp dword [ebp - 0x23c], eax
jne 0x10046a5f
mov dword [ebp - 0x260], 1
jmp 0x10046a66
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x100], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x27c]
cmp eax, dword [ebp - 0x100]
je 0x10046a90
and dword [ebp - 0x268], 0
jmp 0x10046a9a
mov dword [ebp - 0x268], 1
cmp dword [ebp - 0x268], 0xfffa
je 0x10046ab2
mov dword [ebp - 0x128], 1
jmp 0x10046ab9
and dword [ebp - 0x128], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x27c]
cmp dword [ebp - 0x128], eax
jle 0x10046ada
mov dword [ebp - 0x1e0], 1
jmp 0x10046ae1
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x2f0]
cmp dword [ebp - 0x1e0], eax
je 0x10046afb
mov dword [ebp - 0x130], 1
jmp 0x10046b02
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x20], 0
jmp 0x10046b2a
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x10046b40
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xa0], 0xc64a6847
jmp 0x10046b23
mov dword [ebp - 0x20], 0
jmp 0x10046b50
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 4
jge 0x10046b66
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xb0], 0xfffffffd
jmp 0x10046b49
mov dword [ebp - 0xec], 0xfffffffd
mov dword [ebp - 0x140], 5
mov dword [ebp - 0xec], 0
jmp 0x10046b93
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0xffffffef
je 0x10046ca4
mov dword [ebp - 0xc8], 0xfffffffa
mov dword [ebp - 0xc8], 0x15
jmp 0x10046bc3
mov eax, dword [ebp - 0xc8]
dec eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 7
jg 0x10046c9f
mov dword [ebp - 0x50], 0xffffffff
mov dword [ebp - 0xcc], 0
jmp 0x10046bf0
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 2
jge 0x10046c0c
mov eax, dword [ebp - 0xcc]
mov dword [ebp + eax*4 - 0x358], 0
jmp 0x10046be3
mov byte [ebp - 0x46], 0
movzx eax, byte [ebp - 0x46]
test eax, eax
je 0x10046c2c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov dword [ebp - 0x50], 0
jmp 0x10046c3c
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jg 0x10046c9a
mov dword [ebp - 0x2f8], 0xfffffff8
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x358]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp + eax*4 - 0x358], ecx
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x2f8], eax
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10046c98
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10046c35
jmp 0x10046bb6
jmp 0x10046b86
push 4
pop eax
imul eax, eax, 3
mov dword [ebp + eax - 0xb0], 3
jmp 0x10046cd2
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
dec eax
push 4
pop ecx
imul ecx, ecx, 3
mov dword [ebp + ecx - 0xb0], eax
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xb0], 0
jl 0x1004840d
mov dword [ebp - 0x80], 0x27b1aa43
mov dword [ebp - 0x2d0], 0xfffffffb
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp + eax*4 - 0xa0], 0
je 0x10046d63
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0xb0]
imul eax, dword [ebp + ecx*4 - 0xa0]
cmp eax, dword [ebp - 0x60]
jle 0x10046d48
mov dword [ebp - 0x280], 1
jmp 0x10046d4f
and dword [ebp - 0x280], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x39c], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0xa0]
cmp dword [ebp + eax*4 - 0xa0], ecx
jl 0x10047b7e
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x88], 0xd32ffab8
mov dword [ebp - 0xc0], 0
jmp 0x10046dce
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 2
jge 0x10046dea
mov eax, dword [ebp - 0xc0]
mov dword [ebp + eax*4 - 0x368], 0xa2fafd11
jmp 0x10046dc1
mov dword [ebp - 0x7c], 0xfffffffe
jmp 0x10046dfa
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xa
je 0x10046e92
mov dword [ebp - 0x320], 0xde0369bd
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x88], 0
jmp 0x10046e30
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x13
je 0x10046e8d
mov dword [ebp - 0x84], 0xfffffff6
mov dword [ebp - 0x84], 0
jmp 0x10046e5c
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 2
jge 0x10046e78
mov eax, dword [ebp - 0x84]
mov dword [ebp + eax*4 - 0x368], 0xa835a23e
jmp 0x10046e4f
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x320]
mov dword [ebp + eax - 0x368], ecx
jmp 0x10046e23
jmp 0x10046df3
mov dword [ebp - 0xc], 0xfffffff9
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0xd4], 0
jmp 0x10046eb9
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 3
jge 0x10046ed5
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0xfc], 0x69fdf99f
jmp 0x10046eac
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xfc], 0xffffffef
jmp 0x10046f00
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
inc eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xfc], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xfc], 0x1d
jne 0x10047292
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0xdc], 0
jmp 0x10046f36
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 2
jge 0x10046f4f
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x6c], 0xfffffffd
jmp 0x10046f29
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x6c], 0xfffffffe
jmp 0x10046f74
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x6c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x6c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 8
je 0x1004728d
mov dword [ebp - 0x314], 0x400765e4
mov dword [ebp - 0x378], 0x1137
mov dword [ebp - 0x374], 0x1137
mov dword [ebp - 0x370], 0x1137
mov dword [ebp - 0x36c], 0x1137
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xfc], 0
jne 0x10047174
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x6c], 0x42b622b6
jg 0x10046fe6
mov dword [ebp - 0x148], 1
jmp 0x10046fed
and dword [ebp - 0x148], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
cmp eax, dword [ebp - 0x148]
jl 0x1004700d
mov dword [ebp - 0x1f0], 1
jmp 0x10047014
and dword [ebp - 0x1f0], 0
mov eax, dword [ebp - 0x314]
cmp dword [ebp - 0x1f0], eax
jle 0x10047037
mov eax, 0xc380a388
test eax, eax
je 0x10047037
mov dword [ebp - 0x150], 1
jmp 0x1004703e
and dword [ebp - 0x150], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
cmp eax, dword [ebp - 0x150]
jl 0x1004705e
mov dword [ebp - 0x244], 1
jmp 0x10047065
and dword [ebp - 0x244], 0
cmp dword [ebp - 0x244], 0x88ca
jg 0x1004707d
mov dword [ebp - 0x158], 1
jmp 0x10047084
and dword [ebp - 0x158], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x158], eax
jge 0x100470a4
mov dword [ebp - 0x1f8], 1
jmp 0x100470ab
and dword [ebp - 0x1f8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x378]
cmp dword [ebp - 0x1f8], eax
jg 0x100470e2
mov eax, 0xd43d9c8c
test eax, eax
je 0x100470e2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x6c], 0
je 0x100470e2
mov dword [ebp - 0x160], 1
jmp 0x100470e9
and dword [ebp - 0x160], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x160], eax
jne 0x1004710e
or eax, 0xffffffff
je 0x1004710e
mov dword [ebp - 0x26c], 1
jmp 0x10047115
and dword [ebp - 0x26c], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xfc]
imul eax, dword [ebp - 0x26c]
cmp eax, 0x8968
jg 0x1004713b
mov dword [ebp - 0x168], 1
jmp 0x10047142
and dword [ebp - 0x168], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x6c]
add eax, dword [ebp - 0x168]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x6c]
push 4
pop ecx
shl ecx, 0
imul eax, dword [ebp + ecx - 0x6c]
test eax, eax
jne 0x10047174
and dword [ebp - 0x200], 0
jmp 0x1004717e
mov dword [ebp - 0x200], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x200]
sub ecx, dword [ebp + eax - 0x6c]
push 4
pop eax
imul eax, eax, 0
add ecx, dword [ebp + eax - 0x6c]
push 4
pop eax
shl eax, 0
cmp ecx, dword [ebp + eax - 0x6c]
jle 0x100471b0
mov dword [ebp - 0x170], 1
jmp 0x100471b7
and dword [ebp - 0x170], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xfc]
cmp dword [ebp - 0x170], eax
je 0x100471d8
mov dword [ebp - 0x24c], 1
jmp 0x100471df
and dword [ebp - 0x24c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24c]
sub ecx, dword [ebp + eax - 0x6c]
push 4
pop eax
shl eax, 1
cmp ecx, dword [ebp + eax - 0xfc]
je 0x1004720d
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xfc], 0
je 0x1004721f
cmp dword [ebp - 0x74], 0
je 0x1004721f
mov dword [ebp - 0x178], 1
jmp 0x10047226
and dword [ebp - 0x178], 0
cmp dword [ebp - 0x178], 3
jge 0x10047244
mov eax, 0xf534
test eax, eax
je 0x10047244
mov dword [ebp - 0x208], 1
jmp 0x1004724b
and dword [ebp - 0x208], 0
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 0x74], 0
jmp 0x10047267
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x32
jge 0x10047288
mov byte [ebp - 0x47], 0
movzx eax, byte [ebp - 0x47]
test eax, eax
je 0x10047286
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x10047260
jmp 0x10046f5f
jmp 0x10046ee7
mov dword [ebp - 0xe0], 0
jmp 0x100472ab
mov eax, dword [ebp - 0xe0]
inc eax
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 2
jge 0x100472c7
mov eax, dword [ebp - 0xe0]
mov dword [ebp + eax*4 - 0x3c0], 0xb1ad
jmp 0x1004729e
mov eax, dword [ebp - 0xc]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0xa0]
cmp eax, 0x13b2
je 0x100472ea
mov dword [ebp - 0x180], 1
jmp 0x100472f1
and dword [ebp - 0x180], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov ecx, dword [ebp - 0x180]
mov dword [ebp + eax*4 - 0xa0], ecx
mov dword [ebp - 0x60], 0
jmp 0x1004731b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x1f
je 0x10047b79
mov dword [ebp - 8], 0xf69f7fd1
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x78], 0xffffffff
mov byte [ebp - 0x3d], 0
movzx eax, byte [ebp - 0x3d]
test eax, eax
je 0x10047353
push 0
push 0xc87
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [ebp - 8], 0
jne 0x10047391
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c8], eax
xor eax, eax
inc eax
je 0x10047388
cmp dword [ebp - 8], 0
jne 0x10047391
and dword [ebp - 0x294], 0
jmp 0x1004739b
mov dword [ebp - 0x294], 1
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x294]
cmp eax, dword [ebp - 8]
je 0x100473b5
mov dword [ebp - 0x188], 1
jmp 0x100473bc
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
je 0x1004743b
mov dword [ebp - 0xb4], 0
jmp 0x100473e3
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 1
jge 0x100473ff
mov eax, dword [ebp - 0xb4]
mov dword [ebp + eax*4 - 0x2d8], 0x392f
jmp 0x100473d6
mov eax, dword [ebp - 0x78]
add eax, dword [ebp - 0x14]
cmp eax, 0x5206
jg 0x10047418
mov dword [ebp - 0x210], 1
jmp 0x1004741f
and dword [ebp - 0x210], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2d8]
imul eax, dword [ebp - 0x210]
mov dword [ebp - 0x14], eax
jmp 0x100474c9
mov dword [ebp - 0x2b4], 0xc5540fff
mov dword [ebp - 0x2c8], 0xfffffff9
mov dword [ebp - 0x14], 0xcadd635
mov dword [ebp - 0x78], 0
jmp 0x10047466
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xb
jg 0x100474c9
mov dword [ebp - 8], 0xffffffec
jmp 0x1004747c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x16
je 0x100474c7
mov dword [ebp - 0x14], 0xfffffff6
jmp 0x10047492
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe6
jge 0x100474c5
mov eax, dword [ebp - 0x2b4]
inc eax
cmp dword [ebp - 0x14], eax
je 0x100474b0
mov dword [ebp - 0x190], 1
jmp 0x100474b7
and dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x2c8], eax
jmp 0x1004748b
jmp 0x10047475
jmp 0x1004745f
mov dword [ebp - 0x104], 8
mov dword [ebp - 0x24], 0x97a4a12b
mov dword [ebp - 0x310], 0xffffffff
mov dword [ebp - 0xf0], 0
jmp 0x100474fd
mov eax, dword [ebp - 0xf0]
inc eax
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 2
jge 0x10047519
mov eax, dword [ebp - 0xf0]
mov dword [ebp + eax*4 - 0x360], 0xe2799ac7
jmp 0x100474f0
mov dword [ebp - 0x24], 0
jmp 0x10047529
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 2
jge 0x1004753f
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x360], 0xe8b72fd4
jmp 0x10047522
mov dword [ebp - 0x24], 0xfffffffa
jmp 0x1004754f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 7
jne 0x1004758c
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10047577
push 0
push 0
push 0x1989
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetScrollInfo]
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x360]
mov dword [ebp - 0x310], eax
jmp 0x10047548
mov dword [ebp - 0xc], 0
jmp 0x1004759c
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 3
jg 0x10047b74
mov dword [ebp - 0x64], 0x2961
mov dword [ebp - 0x2c4], 3
mov dword [ebp - 0x3d0], 0xde9a
mov dword [ebp - 0xd8], 0
jmp 0x100475da
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 3
jge 0x100475f6
mov eax, dword [ebp - 0xd8]
mov dword [ebp + eax*4 - 0x308], 0xf1860ec0
jmp 0x100475cd
mov byte [ebp - 0x4b], 0
movzx eax, byte [ebp - 0x4b]
test eax, eax
je 0x1004760d
push 0x1279
call dword [sym.imp.GDI32.dll_GetStockObject]
cmp dword [ebp - 0x64], 0
je 0x100476b4
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x64], eax
jne 0x1004762b
mov dword [ebp - 0x254], 1
jmp 0x10047632
and dword [ebp - 0x254], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x308]
cmp dword [ebp - 0x254], eax
je 0x10047653
mov dword [ebp - 0x198], 1
jmp 0x1004765a
and dword [ebp - 0x198], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x308], 0xfffffff6
jne 0x10047676
mov dword [ebp - 0x218], 1
jmp 0x1004767d
and dword [ebp - 0x218], 0
mov eax, dword [ebp - 0x198]
add eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x64]
jge 0x1004769a
mov dword [ebp - 0x1a0], 1
jmp 0x100476a1
and dword [ebp - 0x1a0], 0
mov eax, dword [ebp - 0x1a0]
add eax, 0x38390e03
cmp eax, dword [ebp - 0x2c4]
jne 0x100476c2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x308], 0
cmp dword [ebp - 0x64], 0
je 0x100476e4
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x308], 0
je 0x100476e4
mov dword [ebp - 0x2f4], 1
jmp 0x100476eb
and dword [ebp - 0x2f4], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3d8], eax
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x308], 0xfffffff8
mov dword [ebp - 0x110], 0xfffffff9
mov dword [ebp - 4], 0xba028ea3
mov dword [ebp - 0xc4], 0x3e45bbbd
mov dword [ebp - 0x1a8], 0x6b719d87
mov dword [ebp - 0x318], 0xffffffff
mov dword [ebp - 0x3e0], 0x268dd2ac
mov dword [ebp - 0x40c], 0xbecc33ba
mov dword [ebp - 0x414], 0x6660b256
mov dword [ebp - 0x41c], 0xc8c6dcff
mov dword [ebp - 0x424], 0xffffffff
mov dword [ebp - 0x42c], 0x9fa1
mov dword [ebp - 0x3dc], 0xd978029
mov dword [ebp - 0x388], 0xd700d1a0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0xe8], 0
jmp 0x100477a7
mov eax, dword [ebp - 0xe8]
inc eax
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 4
jge 0x100477c3
mov eax, dword [ebp - 0xe8]
mov dword [ebp + eax*4 - 0x460], 0x7f20bab1
jmp 0x1004779a
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
cmp dword [ebp - 0xc4], eax
jle 0x100477e6
mov dword [ebp - 0x274], 1
jmp 0x100477ed
and dword [ebp - 0x274], 0
mov eax, dword [ebp - 0xc4]
imul eax, dword [ebp - 0x274]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1a8], eax
jg 0x10047817
mov dword [ebp - 0x220], 1
jmp 0x1004781e
and dword [ebp - 0x220], 0
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp - 4]
cmp eax, 0xcadf
jne 0x1004783a
mov dword [ebp - 0x1b0], 1
jmp 0x10047841
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1b0]
cmp dword [ebp - 4], eax
jl 0x1004785b
mov dword [ebp - 0x25c], 1
jmp 0x10047862
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x25c]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 4]
je 0x1004787c
mov dword [ebp - 0x1b8], 1
jmp 0x10047883
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x1b8]
sub eax, 0xb56
cmp dword [ebp - 0x110], eax
je 0x100478ae
mov dword [ebp - 0x228], 1
jmp 0x100478b5
and dword [ebp - 0x228], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x228]
cmp eax, 0xa5b5
jl 0x100478d1
mov dword [ebp - 0x1c0], 1
jmp 0x100478d8
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1c0], eax
jne 0x100478ef
mov dword [ebp - 0x28c], 1
jmp 0x100478f6
and dword [ebp - 0x28c], 0
cmp dword [ebp - 0x28c], 0x834a
jne 0x1004790e
mov dword [ebp - 0x1c8], 1
jmp 0x10047915
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x1c8], eax
jne 0x1004792c
mov dword [ebp - 0x2cc], 1
jmp 0x10047933
and dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x104], eax
je 0x10047991
cmp dword [ebp - 0x104], 0
jne 0x10047991
and dword [ebp - 0x1d0], 0
jmp 0x1004799b
mov dword [ebp - 0x1d0], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0xa0]
cmp dword [ebp - 0x1d0], eax
je 0x100479b9
mov dword [ebp - 0x264], 1
jmp 0x100479c0
and dword [ebp - 0x264], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp - 0x264], eax
jne 0x100479e1
mov dword [ebp - 0x1d8], 1
jmp 0x100479e8
and dword [ebp - 0x1d8], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
imul eax, dword [ebp - 0x1d8]
test eax, eax
je 0x10047a2a
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp + eax*4 - 0xa0], 0
je 0x10047a2a
mov dword [ebp - 0x120], 1
jmp 0x10047a31
and dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 1
jb 0x10047a46
mov dword [ebp - 0x2d4], 1
jmp 0x10047a4d
and dword [ebp - 0x2d4], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x80], 0x1552b9cb
cmp dword [ebp - 0x80], 0
jne 0x10047a80
mov dword [ebp - 0x124], 1
jmp 0x10047a87
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
neg eax
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ebp + ecx*4 - 0xa0]
jg 0x10047aa7
mov dword [ebp - 0x12c], 1
jmp 0x10047aae
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0xa0]
cmp dword [ebp - 0x12c], eax
jg 0x10047ad5
cmp dword [ebp - 0x104], 0
je 0x10047ad5
mov dword [ebp - 0x134], 1
jmp 0x10047adc
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0x1d70
jg 0x10047af4
mov dword [ebp - 0x13c], 1
jmp 0x10047afb
and dword [ebp - 0x13c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xb0]
cmp dword [ebp - 0x13c], eax
jge 0x10047b1c
mov dword [ebp - 0x144], 1
jmp 0x10047b23
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0xc]
push 4
pop ecx
imul ecx, ecx, 3
mov ecx, dword [ebp + ecx - 0xb0]
mov ecx, dword [ebp + ecx*4 - 0xa0]
add ecx, dword [ebp - 0x144]
cmp dword [ebp + eax*4 - 0xa0], ecx
jg 0x10047b55
mov dword [ebp - 0x14c], 1
jmp 0x10047b5c
and dword [ebp - 0x14c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x14c]
mov dword [ebp + eax - 0x3c0], ecx
jmp 0x10047595
jmp 0x10047314
jmp 0x10047e21
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0xa0], 0
je 0x10047b93
jmp 0x1004840d
mov byte [ebp - 0x45], 0
movzx eax, byte [ebp - 0x45]
test eax, eax
je 0x10047e21
push 0
call fcn.100453f1
pop ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x18c], 0xcc099843
mov dword [ebp - 0x34], 0
jmp 0x10047bd3
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xa
jne 0x10047e21
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2dc], 0xbedfa90e
mov dword [ebp - 0xb8], 0
jmp 0x10047c07
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 2
jge 0x10047c23
mov eax, dword [ebp - 0xb8]
mov dword [ebp + eax*4 - 0x288], 0xffffffff
jmp 0x10047bfa
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x34]
cmp dword [ebp + eax - 0x288], ecx
je 0x10047c41
mov dword [ebp - 0x118], 1
jmp 0x10047c48
and dword [ebp - 0x118], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x288]
add eax, dword [ebp - 0x118]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x3c], 0x13
jmp 0x10047c74
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xfffffff6
jl 0x10047e1c
mov dword [ebp - 0x5c], 0x905b8b78
mov dword [ebp - 0x10], 0
jmp 0x10047c95
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10047e03
mov dword [ebp - 0x15c], 0xffffffff
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x288]
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x15c], eax
jge 0x10047d91
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x288]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x164]
mov dword [ebp + eax*4 - 0x288], ecx
cmp dword [ebp - 0x164], 0
jne 0x10047d70
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x5c], 0
jne 0x10047d18
cmp dword [ebp - 0x5c], 0
jne 0x10047d18
and dword [ebp - 0x16c], 0
jmp 0x10047d22
mov dword [ebp - 0x16c], 1
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x16c], eax
jg 0x10047d39
mov dword [ebp - 0x2fc], 1
jmp 0x10047d40
and dword [ebp - 0x2fc], 0
cmp dword [ebp - 0x5c], 0xfff7
jb 0x10047d55
mov dword [ebp - 0x174], 1
jmp 0x10047d5c
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x174], eax
jle 0x10047d70
and dword [ebp - 0x17c], 0
jmp 0x10047d7a
mov dword [ebp - 0x17c], 1
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x17c], eax
jg 0x10047d91
mov dword [ebp - 0x184], 1
jmp 0x10047d98
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0xc6f7
jle 0x10047dbc
mov dword [ebp - 0x194], 1
jmp 0x10047dc3
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x194], eax
jge 0x10047de0
mov eax, 0x8fab8d23
test eax, eax
jne 0x10047de0
and dword [ebp - 0x19c], 0
jmp 0x10047dea
mov dword [ebp - 0x19c], 1
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x5c], 0
je 0x10047dfe
jmp 0x10047e03
jmp 0x10047c8e
mov byte [ebp - 0x49], 0
movzx eax, byte [ebp - 0x49]
test eax, eax
je 0x10047e17
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
jmp 0x10047c6d
jmp 0x10047bcc
mov dword [ebp - 0x54], 0xf5a9
mov dword [ebp - 0x58], 0xcd49598a
mov dword [ebp - 0x2ec], 0x535dd253
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x1e4], 0x2f3a
mov dword [ebp - 0x21c], 0xfffffffd
mov dword [ebp - 0x2b0], 0xfffffff8
mov dword [ebp - 0x1c], 0
jmp 0x10047e71
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10047e84
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x44], 0xfffffff6
jmp 0x10047e6a
mov dword [ebp - 0x1c], 0
jmp 0x10047e94
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10047eaa
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x32c], 0
jmp 0x10047e8d
cmp dword [ebp - 0x54], 0
jne 0x10047eb9
mov eax, 0x3ab1
test eax, eax
je 0x10047ed2
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x44], 0
je 0x10047ed2
mov dword [ebp - 0x1a4], 1
jmp 0x10047ed9
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x1a4]
jge 0x10047ef0
mov dword [ebp - 0x1ac], 1
jmp 0x10047ef7
and dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 1
je 0x10047f12
mov dword [ebp - 0x1b4], 1
jmp 0x10047f19
and dword [ebp - 0x1b4], 0
cmp dword [ebp - 0x1b4], 0xfffffffc
jg 0x10047f2e
mov dword [ebp - 0x1bc], 1
jmp 0x10047f35
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c4], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp + eax - 0x32c], ecx
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x1c4], eax
jne 0x10047f6e
mov dword [ebp - 0x31c], 1
jmp 0x10047f75
and dword [ebp - 0x31c], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x404], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
dec eax
sub eax, dword [ebp - 0x54]
push 4
pop ecx
imul ecx, ecx, 0
cmp eax, dword [ebp + ecx - 0x44]
je 0x1004801f
mov dword [ebp - 0x2e4], 0xab65
mov dword [ebp - 0x3a8], 0xfffffff7
mov dword [ebp - 0x30c], 0xffffffff
mov dword [ebp - 0x420], 0
mov dword [ebp - 0x3b0], 0x132d38ca
mov dword [ebp - 0x3f8], 0xac1e0f75
mov dword [ebp - 0x3f4], 0xac1e0f75
mov dword [ebp - 0x3f0], 0xac1e0f75
mov dword [ebp - 0x3ec], 0xac1e0f75
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x10c]
dec eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
neg eax
mov dword [ebp - 0x30c], eax
jmp 0x10048347
mov dword [ebp - 0x2c], 0x1fa4
mov dword [ebp - 0x28], 0
mov dword [ebp - 0xbc], 0xfffffff9
push 6
pop eax
test eax, eax
je 0x1004813f
cmp dword [ebp - 0x2ec], 0x153b
jne 0x1004805a
mov dword [ebp - 0x1cc], 1
jmp 0x10048061
and dword [ebp - 0x1cc], 0
cmp dword [ebp - 0x1cc], 0xffffffff
jg 0x10048076
mov dword [ebp - 0x1d4], 1
jmp 0x1004807d
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x400], eax
imul eax, dword [ebp - 0x2c], 0x6fef
cmp eax, dword [ebp - 0x1e4]
jne 0x100480b9
mov dword [ebp - 0x1dc], 1
jmp 0x100480c0
and dword [ebp - 0x1dc], 0
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x28], 0xffffffff
jge 0x100480e4
mov dword [ebp - 0x2b8], 1
jmp 0x100480eb
and dword [ebp - 0x2b8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x28]
sub eax, 0x1f3e63d4
cmp eax, dword [ebp - 0x2c]
jle 0x10048114
mov dword [ebp - 0x1ec], 1
jmp 0x1004811b
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0x1ec], eax
jle 0x10048135
mov dword [ebp - 0x1f4], 1
jmp 0x1004813c
and dword [ebp - 0x1f4], 0
mov eax, dword [ebp - 0x2c]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp + eax - 0x32c], ecx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x21c], 0x3ffe
jne 0x10048170
mov dword [ebp - 0x224], 1
jmp 0x10048177
and dword [ebp - 0x224], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x1004819b
mov dword [ebp - 0x1fc], 1
jmp 0x100481a2
and dword [ebp - 0x1fc], 0
cmp dword [ebp - 0x1fc], 0x656345d1
jne 0x100481ba
mov dword [ebp - 0x204], 1
jmp 0x100481c1
and dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x204], eax
jne 0x100481d8
mov dword [ebp - 0x20c], 1
jmp 0x100481df
and dword [ebp - 0x20c], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0x20c], eax
je 0x100481fd
mov dword [ebp - 0x214], 1
jmp 0x10048204
and dword [ebp - 0x214], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x32c]
sub eax, dword [ebp - 0x214]
jne 0x1004822b
cmp dword [ebp - 0x21c], 0
jne 0x1004822b
and dword [ebp - 0x22c], 0
jmp 0x10048235
mov dword [ebp - 0x22c], 1
mov eax, dword [ebp - 0x224]
imul eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x2c]
jg 0x10048253
mov dword [ebp - 0x234], 1
jmp 0x1004825a
and dword [ebp - 0x234], 0
cmp dword [ebp - 0x234], 0x8356
jle 0x10048272
mov dword [ebp - 0x240], 1
jmp 0x10048279
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x240]
lea eax, [ecx + eax + 1]
test eax, eax
jne 0x1004829c
cmp dword [ebp - 0x58], 0
jne 0x1004829c
and dword [ebp - 0x248], 0
jmp 0x100482a6
mov dword [ebp - 0x248], 1
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0x248], eax
jle 0x100482c0
mov dword [ebp - 0x114], 1
jmp 0x100482c7
and dword [ebp - 0x114], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x114]
mov dword [ebp + eax - 0x32c], ecx
cmp dword [ebp - 0x114], 0
jne 0x100482f5
mov eax, 0x7736
test eax, eax
jne 0x100482f5
and dword [ebp - 0x250], 0
jmp 0x100482ff
mov dword [ebp - 0x250], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
cmp dword [ebp - 0x250], eax
jl 0x1004831d
mov dword [ebp - 0x2c0], 1
jmp 0x10048324
and dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x428], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x44]
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 0x28], 0xe475996e
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x410], eax
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
mov eax, dword [ebp + eax*4 - 0xa0]
mov dword [ebp - 0x380], eax
mov eax, 0xdc7e9069
test eax, eax
je 0x10048396
cmp dword [ebp - 0x60], 0
je 0x10048396
mov dword [ebp - 0x258], 1
jmp 0x1004839d
and dword [ebp - 0x258], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0xb0]
add eax, dword [ebp - 0x258]
jmp 0x100483be
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x11c], eax
jg 0x100483dc
mov dword [ebp - 0x108], 1
jmp 0x100483e3
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x108]
mov dword [ebp + eax - 0xa0], ecx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2d0], eax
jmp 0x10046cb7
push 1
call fcn.100453f1
pop ecx
cmp dword [ebp - 0x338], 0
je 0x10048432
push 3
push dword [ebp - 0x330]
push dword [ebp - 0x334]
call dword [ebp - 0x338]
pop edi
pop esi
mov esp, ebp
pop ebp
ret