Function at 0x1001afa9
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1006dfed
call fcn.1006d560
sub esp, 0x17c
push ebx
push esi
push edi
xor esi, esi
mov byte [ebp - 0x3d], dl
mov edi, ecx
inc esi
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x48], edi
call fcn.10009e9c
mov dword [ebp - 0x1c], 0x4a12b57e
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], 0xde6eab3a
mov dword [ebp - 0x14], 0x71cf717c
mov dword [ebp - 0x14], ebx
jmp 0x1001afff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x7c]
mov dword [eax + ecx*4], 0x99ac7894
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x1001afef
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jg 0x1001b0ed
mov dword [ebp - 0x10], 0xa162
mov dword [ebp - 0x2c], 0xfffffffc
mov dword [ebp - 0x10], 0x555b7cef
mov dword [ebp - 0x10], ebx
jmp 0x1001b0d2
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x7c]
cmp dword [eax + ecx*4], ebx
jne 0x1001b096
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x7c]
push 0
mov ecx, dword [ecx + edx*4]
sub ecx, eax
xor eax, eax
add ecx, 0x6efe0cd1
cmp ecx, 0xfffffffe
setle al
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x7c]
cmp eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x7c]
pop eax
setne al
neg ecx
mov dword [ebp - 0x34], eax
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, dword [edx]
setne al
xor ecx, ecx
cmp dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x10]
setl cl
add ecx, dword [edx + edi*4]
sub ecx, eax
je 0x1001b096
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x7c]
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
sub edx, ecx
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], ebx
jne 0x1001b0db
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
jle 0x1001b02d
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x1001b010
mov edi, dword [ebp - 0x48]
xor esi, esi
inc esi
mov dword [ebp - 0x14], 0xffffffe3
jmp 0x1001b163
mov dword [ebp - 0x2c], 0xf884
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x34], 0xfc7bc07e
mov dword [ebp - 0x34], 0x6c132d45
cmp dword [ebp - 0x18], ebx
je 0x1001b12c
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x2c]
add eax, 0x6d714e28
neg eax
sbb eax, eax
inc eax
sub eax, dword [ebp - 0x2c]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
je 0x1001b0f6
lea ecx, [ebp - 0x7c]
call fcn.10009ef8
mov dword [ebp - 0x2c], 0x477862f
mov dword [ebp - 0x1c], 0xd0714ad
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x34], 0x5bfb66fe
mov dword [ebp - 0x2c], 0xfffffff6
jmp 0x1001b232
push 2
lea ecx, [ebp - 0xb0]
call fcn.10009e9c
mov dword [ebp - 0x34], 4
mov dword [ebp - 0x14], ebx
jmp 0x1001b1c4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb0]
mov dword [eax + ecx*4], 6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1001b1b1
mov eax, dword [ebp - 0xb0]
cmp dword [eax + 4], ebx
jne 0x1001b1d8
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x2c], ebx
jne 0x1001b1f4
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x1001b1f4
mov eax, ebx
cmp dword [ebp - 0x2c], ebx
je 0x1001b1f6
mov eax, esi
imul eax, eax, 0x80fc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], esi
cmp dword [ebp - 0x1c], ebx
jl 0x1001b224
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xb0]
cmp dword [eax + ecx*4], ebx
jne 0x1001b224
dec dword [ebp - 0x1c]
jns 0x1001b211
lea ecx, [ebp - 0xb0]
call fcn.10009ef8
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0xfffffff7
jg 0x1001b198
push dword [ebp + 8]
mov esi, dword [0x1007487c]
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x34], esi
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x64], ebx
push ebx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], ebx
movdqu xmmword [ebp - 0x13c], xmm0
mov dword [ebp - 0x5c], ebx
call fcn.1001a737
mov dword [ebp - 0x10], ebx
xor eax, eax
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0xfc5a258d
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], eax
mov eax, 0x4c923f2b
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x38], 0x3e85184b
mov dword [ebp - 0x3c], 0xec3a435f
push 3
mov dword [ebp - 0x38], 8
mov dword [ebp - 0x14], ebx
pop ecx
jmp 0x1001b2d4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x100], 0x9cbde6b7
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1001b2c3
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], ecx
jg 0x1001b3e7
xor edi, edi
inc edi
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x2c], ebx
je 0x1001b389
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x1c], 0xb16b
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], 0x4d9a54e5
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], ebx
jne 0x1001b31a
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
cmp ecx, 7
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
xor edx, edx
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
cmp eax, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
setl dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
mov dword [eax + edx*4], ecx
jmp 0x1001b3d5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ebx
jmp 0x1001b3a2
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x16c], 9
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ecx
jl 0x1001b391
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x16c], edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
push 0
pop ecx
setl cl
mov eax, 0x3c17a3f0
sub ecx, edx
neg ecx
sbb ecx, ecx
inc ecx
sub eax, ecx
mov dword [ebp - 0x100], eax
inc dword [ebp - 0x10]
push 3
pop ecx
cmp dword [ebp - 0x10], ecx
jle 0x1001b2e8
mov edi, dword [ebp - 0x48]
cmp dword [ebp - 0x10], ebx
je 0x1001b414
mov eax, dword [ebp - 0x64]
xor edx, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
setne dl
mov dword [ebp - 0x100], edx
test edx, edx
je 0x1001b414
xor ecx, ecx
inc ecx
jmp 0x1001b416
mov ecx, ebx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc0]
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc0]
cmp ecx, eax
mov eax, dword [ebp - 0x30]
setne dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
neg ecx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp ecx, 0x65d2
lea ecx, [ebp - 0x64]
setge al
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x10], eax
call fcn.10009ef8
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
cmp byte [ebp - 0x3d], bl
je 0x1001b735
cmp esi, ecx
jne 0x1001b735
mov dword [ebp - 0x10], 9
push ecx
mov dword [ebp - 0x2c], 0x925f321e
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x1c], 0x25aa9c4a
mov dword [eax + 8], 4
call fcn.10009e9c
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x18], 4
inc edx
mov dword [ebp - 0x14], 0x2fb88b70
mov dword [ebp - 0x14], ebx
jmp 0x1001b4dd
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov dword [eax + ecx*4], 0x328db1ae
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x1001b4ca
mov edx, dword [ebp - 0x10]
xor ecx, ecx
imul edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, edx
mov eax, 0xd2eb2fc2
setg cl
cmp eax, ecx
mov ecx, dword [ebp - 0x10]
sbb eax, eax
inc eax
sub ecx, eax
mov eax, dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
inc ecx
add eax, ecx
xor ecx, ecx
cmp eax, 1
mov eax, dword [ebp - 0x10]
setge cl
add eax, ecx
cmp eax, dword [ebp - 0x10]
jge 0x1001b524
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
neg eax
cmp eax, 0xfffffff9
setge cl
sub ecx, dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setl dl
cmp edx, dword [ebp - 0x10]
jg 0x1001b551
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x1c]
je 0x1001b6ba
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x30], 0xfffffff7
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 7
jne 0x1001b719
push 3
pop esi
mov dword [ebp - 0x14], 0xfffffffa
lea ecx, [ebp - 0xf4]
push esi
call fcn.10009e9c
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], ebx
jmp 0x1001b5b7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xf4]
mov dword [eax + ecx*4], 4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001b5a4
mov dword [ebp - 0x18], ebx
jmp 0x1001b5d2
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x154], 0x1399
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001b5c1
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
setle dl
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x2c], ebx
je 0x1001b5ef
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], ebx
jne 0x1001b5f7
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
cmp eax, ecx
setg dl
sub edx, 0xfffffff6
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 0xb58b1ca0
setne al
sub eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x88]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
mov esi, dword [eax]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov eax, dword [ebp - 0x88]
setne dl
lea ecx, [esi + 1]
mov dword [eax], ecx
cmp esi, edx
je 0x1001b657
xor eax, eax
inc eax
jmp 0x1001b659
mov eax, ebx
xor ecx, ecx
cmp eax, 0xbfa4
mov eax, dword [ebp - 0xf4]
setl cl
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
dec ecx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x150]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0xf4]
call fcn.10009ef8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
je 0x1001b586
mov esi, dword [ebp - 0x34]
jmp 0x1001b719
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
jl 0x1001b719
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
cmp dword [eax + ecx*4], ebx
jne 0x1001b719
mov dword [ebp - 0x1c], ebx
jmp 0x1001b70f
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x1001b70c
mov dword [ebp - 0x10], ebx
jmp 0x1001b6f2
cmp byte [ebp - 0x21], 0
je 0x1001b6ef
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 0x21], bl
jle 0x1001b6e2
cmp byte [ebp - 0x21], 0
je 0x1001b707
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
dec dword [ebp - 0x18]
jns 0x1001b6dd
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x1001b6d5
dec dword [ebp - 0x14]
jns 0x1001b6c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.10009ef8
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
mov dword [eax + 0xc], 0x1007487c
cmp edi, esi
jge 0x1001beb7
mov dword [ebp - 0x38], ecx
mov esi, 0x10074880
mov byte [ebp - 0x21], bl
cmp byte [ebp - 0x21], 0
je 0x1001b75a
push ebx
push 0x1322
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov byte [ebp - 0x21], bl
cmp byte [ebp - 0x21], 0
je 0x1001b779
push ebx
push 0xa72
push 0x1470
push 0x245c
call dword [sym.imp.GDI32.dll_GetSystemPaletteEntries]
test edi, edi
jle 0x1001bb70
mov ecx, 0xaa32b1ce
mov eax, dword [esi]
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0xcc]
push 3
mov dword [ebp - 0x38], eax
call fcn.10009e9c
xor edx, edx
inc edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x3c], 0x2d3c5ebb
mov dword [ebp - 0x2c], 0x93b76f05
mov dword [ebp - 0x10], ebx
jmp 0x1001b7cb
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x44], 0xffffffff
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edx
jl 0x1001b7bd
mov dword [ebp - 0x10], ebx
jmp 0x1001b7e8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], 0x49d585ed
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1001b7d5
mov dword [ebp - 0x10], ebx
jmp 0x1001b804
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x178], 0xbc8f9611
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1001b7f3
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x50], ebx
jl 0x1001b97f
mov dword [ebp - 0x18], 0x3c633843
mov dword [ebp - 0x28], 0xc930f888
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x30], 0xb416c28c
mov dword [ebp - 0x14], 0x8770ce40
mov dword [ebp - 0x20], ebx
jmp 0x1001b84f
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x120], 0x96bc712b
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x1001b83e
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x1001b8a5
mov edi, dword [ebp - 0xcc]
mov dword [ebp - 0x1c], 0xa29c1464
mov dword [ebp - 0x1c], ebx
jmp 0x1001b87d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x44], 0x6efa42b4
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jl 0x1001b86f
mov eax, dword [ebp - 0x18]
xor ecx, ecx
push 1
mov edx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x44], edx
mov eax, dword [ebp - 0x1c]
cmp edx, eax
pop edx
setge cl
mov dword [edi + 4], ecx
dec dword [ebp - 0x18]
jns 0x1001b863
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], ebx
jne 0x1001b8bd
mov eax, dword [ebp - 0xcc]
mov dword [eax + 4], 0xfff0
inc dword [ebp - 0x3c]
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x44], ebx
je 0x1001b8d4
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x44], ebx
mov eax, edx
jne 0x1001b8d6
mov eax, ebx
mov dword [ebp - 0x11c], eax
xor edx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x44]
cmp ecx, eax
mov eax, dword [ebp - 0x50]
setl dl
cmp dword [ebp + eax*4 - 0x44], edx
jge 0x1001b916
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x44], ebx
jne 0x1001b916
mov ecx, ebx
jmp 0x1001b919
xor ecx, ecx
inc ecx
mov eax, dword [ebp - 0x54]
xor edx, edx
imul eax, ecx
cmp eax, 3
mov eax, dword [ebp - 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
imul ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x30]
jne 0x1001b946
cmp dword [ebp - 0x2c], ebx
je 0x1001b946
xor edx, edx
inc edx
mov eax, edx
jmp 0x1001b94b
xor edx, edx
mov eax, ebx
inc edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x44]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
je 0x1001b969
mov dword [ebp - 0x28], ebx
dec dword [ebp - 0x28]
cmp dword [ebp - 0x18], ebx
jne 0x1001b97f
jmp 0x1001b976
mov dword [ebp - 0x30], 0xdf274c11
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
dec dword [ebp - 0x50]
jns 0x1001b816
lea ecx, [ebp - 0xcc]
call fcn.10009ef8
mov edi, dword [esi + 4]
lea ecx, [ebp - 0xa4]
push 3
add esi, 8
call fcn.10009e9c
mov dword [ebp - 0x1c], 0x596960f5
mov dword [ebp - 0x3c], 9
mov dword [ebp - 0x30], 0x955205
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x30], 0xe3a4c638
mov dword [ebp - 0x30], 0xef8169c1
mov dword [ebp - 0x14], 0xc79ebef9
mov dword [ebp - 0x20], ebx
jmp 0x1001b9e6
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], 0x4778
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001b9d3
mov dword [ebp - 0x1c], ebx
jmp 0x1001baa1
mov dword [ebp - 0x28], 0xcb0befcd
mov dword [ebp - 0x28], 0xe936be85
mov dword [ebp - 0x28], 0xfffffff9
mov dword [ebp - 0x20], ebx
jmp 0x1001ba1c
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x70], 0xed9a
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001ba0e
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x70], ebx
je 0x1001ba80
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
xor eax, eax
cmp ecx, 7
setge al
xor edx, edx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
setl dl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x3c], 0xfffffff9
jae 0x1001ba80
mov eax, dword [ebp - 0xa4]
cmp dword [eax], ebx
je 0x1001ba80
xor edx, edx
inc edx
jmp 0x1001ba82
mov edx, ebx
mov eax, dword [ebp - 0x68]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x70]
setg cl
add eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa4]
cmp dword [eax], ebx
jne 0x1001baab
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jle 0x1001b9f4
dec dword [ebp - 0x14]
lea ecx, [ebp - 0xa4]
call fcn.10009ef8
test edi, edi
jne 0x1001bac0
add esi, 8
xor edi, edi
mov dword [ebp - 0x30], 9
inc edi
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x30], 0x2d2c87a7
mov dword [ebp - 0x30], 0xffffffff
push 3
call fcn.10009e9c
mov dword [ebp - 0x30], 0x6bde
mov dword [ebp - 0x28], 0xfffffff6
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x3c], 0xa603d2cf
push 3
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x18], ebx
pop edx
jmp 0x1001bb22
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x12c]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x1001bb13
mov dword [ebp - 0x18], ebx
jmp 0x1001bb39
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x148], edi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x1001bb2c
xor ecx, ecx
mov dword [ebp - 0x148], edi
mov eax, dword [ebp - 0x30]
cmp eax, edi
setg cl
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x12c]
dec dword [ebp - 0x28]
call fcn.10009ef8
add esi, dword [ebp - 0x38]
mov ecx, 0xaa32b1ce
dec dword [ebp - 0x48]
jne 0x1001b786
push 2
pop edi
mov dword [ebp - 0x38], 0xe41b66ba
lea ecx, [ebp - 0x118]
push edi
call fcn.10009e9c
mov dword [ebp - 0x38], 0x84515fdc
mov dword [ebp - 0x38], 0x6dd2cc91
mov dword [ebp - 0x10], ebx
jmp 0x1001bbaa
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x184], 0xfff7
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 3
jl 0x1001bb99
mov dword [ebp - 0x10], ebx
jmp 0x1001bbc8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x118]
mov dword [eax + ecx*4], 0xfffffffb
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1001bbb5
mov dword [ebp - 0x10], ebx
jmp 0x1001bbe3
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0xe8], 0xbbbdebf8
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x1001bbd2
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x118]
dec dword [ebp - 0xe8]
call fcn.10009ef8
mov edi, dword [esi]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x48], 0xe0710dd0
mov dword [ebp - 0x28], 0xfffffffd
mov dword [ebp - 0x28], 0xb2811ff
push 2
mov dword [ebp - 0x1c], edi
call fcn.10009e9c
push 2
mov dword [ebp - 0x18], ebx
pop edx
jmp 0x1001bc47
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xe0], 0xffffffff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x1001bc36
mov dword [ebp - 0x18], ebx
jmp 0x1001bc64
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10c]
mov dword [eax + ecx*4], 0xf93f8de9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x1001bc51
mov dword [ebp - 0x10], ebx
jmp 0x1001bd11
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], ebx
jmp 0x1001bc8a
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x94], 0xfe64fd9e
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1001bc79
mov byte [ebp - 0x21], bl
cmp byte [ebp - 0x21], 0
je 0x1001bca0
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x94]
add eax, ecx
cmp eax, dword [ebp - 0x10]
je 0x1001bcbf
cmp dword [ebp - 0x94], ebx
jne 0x1001bcbf
mov edx, ebx
jmp 0x1001bcc2
xor edx, edx
inc edx
mov eax, dword [ebp - 0x94]
xor ecx, ecx
cmp eax, edx
setne cl
xor edx, edx
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x90]
setne dl
sub ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x94]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x10]
setge cl
imul eax, ecx
xor ecx, ecx
test eax, eax
setle cl
mov dword [ebp - 0x38], ecx
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffec
jl 0x1001bc71
cmp dword [ebp - 0x10], 0xd058bbe5
je 0x1001bd30
cmp dword [ebp - 0x10], ebx
je 0x1001bd30
xor edx, edx
inc edx
mov ecx, edx
jmp 0x1001bd35
xor edx, edx
mov ecx, ebx
inc edx
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], 0xffff
mov dword [ebp - 0x10], 0x5bf9
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x10]
je 0x1001bd6f
mov eax, ebx
cmp dword [ebp - 0xe0], ebx
je 0x1001bd71
mov eax, edx
mov edx, dword [ebp - 0x10c]
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [edx + 4]
setle cl
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x10c]
call fcn.10009ef8
mov eax, dword [esi + 4]
push 3
mov dword [ebp - 0x14], 0x714a0256
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
pop ecx
jmp 0x1001bdb9
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x160], 0xfffffffc
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ecx
jl 0x1001bda8
mov dword [ebp - 0x14], ebx
jmp 0x1001bdd4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x160], 0x5a136951
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x1001bdc3
mov byte [ebp - 0x21], bl
cmp byte [ebp - 0x21], 0
je 0x1001bdea
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadIconA]
cmp dword [ebp - 0x38], 0
jne 0x1001beb7
cmp byte [ebp - 0x3d], 0
je 0x1001be09
cmp dword [ebp - 0x34], 1
jne 0x1001be09
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x10]
add dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
push edi
mov dword [ebp - 0x30], eax
call fcn.10051e57
pop ecx
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], ebx
push eax
push edi
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd0], ebx
call fcn.100212de
test edi, edi
mov ecx, ebx
mov edi, dword [ebp - 0xd8]
jle 0x1001be9e
mov eax, ecx
and eax, 0x80000001
jns 0x1001be64
dec eax
or eax, 0xfffffffe
inc eax
neg eax
sbb eax, eax
and eax, dword [ebp - 0x38]
add eax, ecx
add eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x30]
jmp 0x1001be79
lea eax, [edx + 1]
cdq
idiv dword [ebp - 0x1c]
cmp word [edi + edx*2], bx
jne 0x1001be76
xor eax, eax
inc eax
mov word [edi + edx*2], ax
mov al, byte [edx + esi + 0x10]
mov edx, dword [ebp - 0x34]
mov byte [ecx + edx], al
inc ecx
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
jl 0x1001be56
jmp 0x1001bea1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx + 4], eax
test edi, edi
je 0x1001beb7
push edi
call fcn.1005656d
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret