Function at 0x100108be
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070967
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x16c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10010eb5
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x110], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14c]
movzx eax, byte [eax]
test eax, eax
je 0x10010a72
mov dword [ebp - 0x94], 0x13d5
mov dword [ebp - 0x100], 0x10007ad0
cmp dword [ebp - 0x94], 0x15d0
jle 0x10010a10
push 0
push 0
push 0x241e
push 0
push 0
call dword [sym.imp.USER32.dll_CreateDialogParamA]
and dword [ebp - 0x38], 0
jmp 0x100109a7
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x2947
jge 0x10010a10
and dword [ebp - 0x30], 0
jmp 0x100109bd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x5488
jge 0x10010a0e
and dword [ebp - 0x28], 0
jmp 0x100109d3
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2276
jge 0x10010a0c
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
shl eax, cl
cdq
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], edx
push dword [ebp - 0x150]
push dword [ebp - 0x154]
mov ecx, 0x10618818
call fcn.10017642
jmp 0x100109cc
jmp 0x100109b6
jmp 0x100109a0
push 0x185c
push 0
push 0x12bc
push 0x10cd
call dword [sym.imp.USER32.dll_MapWindowPoints]
and dword [ebp - 4], 0
cmp dword [ebp - 0x94], 0x1022
jge 0x10010a47
mov edx, dword [ebp - 0x100]
mov ecx, 0x10618818
call fcn.1001a339
jmp 0x10010a63
or dword [ebp - 4], 0xffffffff
jmp 0x10010a6d
jmp 0x10010eb0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x74], 0x1fe9
mov dword [ebp - 0x128], 0x10007b24
cmp dword [ebp - 0x74], 0x23a8
jle 0x10010c17
push 0x1112
push 0x13f1
push 0x19ac
push 0x426
push 0x59a
call dword [sym.imp.GDI32.dll_Rectangle]
and dword [ebp - 0x20], 0
jmp 0x10010b82
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x13d8
jge 0x10010c17
and dword [ebp - 0x3c], 0
jmp 0x10010b9c
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xe9a
jge 0x10010c12
and dword [ebp - 0x24], 0
jmp 0x10010bb2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x40d1
jge 0x10010c10
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x24]
cdq
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], edx
push dword [ebp - 0x15c]
push dword [ebp - 0x160]
lea ecx, [ebp - 0x17c]
call fcn.1000a64e
pop ecx
pop ecx
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
call fcn.10017622
push eax
call fcn.10058109
pop ecx
lea ecx, [ebp - 0x17c]
call fcn.10017618
jmp 0x10010bab
jmp 0x10010b95
jmp 0x10010b7b
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x74], 0x1dcb
jge 0x10010c3f
push dword [ebp - 0x128]
call fcn.10058109
pop ecx
jmp 0x10010c5b
or dword [ebp - 4], 0xffffffff
jmp 0x10010c65
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x70], 0x5f92
mov dword [ebp - 0xd4], 0x10007b88
cmp dword [ebp - 0x70], 0x60ac
jle 0x10010cf0
and dword [ebp - 0x2c], 0
jmp 0x10010ca4
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x54a
jge 0x10010cf0
and dword [ebp - 0x34], 0
jmp 0x10010cba
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4efb
jge 0x10010cee
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
push dword [ebp - 0x140]
push dword [ebp - 0x144]
mov ecx, 0x10618818
call fcn.10017642
jmp 0x10010cb3
jmp 0x10010c9d
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xa4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x54]
cmp dword [eax], 0xa3fe
je 0x10010d1f
mov dword [ebp - 0x48], 1
jmp 0x10010d23
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], eax
je 0x10010d3c
mov dword [ebp - 0x5c], 1
jmp 0x10010d40
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
jne 0x10010d56
mov dword [ebp - 0x7c], 1
jmp 0x10010d5a
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x7c]
jl 0x10010d6d
mov dword [ebp - 0x40], 1
jmp 0x10010d71
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jle 0x10010d92
mov dword [ebp - 0x64], 1
jmp 0x10010d96
and dword [ebp - 0x64], 0
cmp dword [ebp - 0x64], 0x8ae633c5
jae 0x10010dab
mov dword [ebp - 0x8c], 1
jmp 0x10010db2
and dword [ebp - 0x8c], 0
push 0
mov ecx, dword [ebp - 0x84]
call fcn.100179fa
mov ecx, dword [ebp - 0x8c]
cmp ecx, dword [eax]
je 0x10010dd2
mov dword [ebp - 0x6c], 1
jmp 0x10010dd6
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
cmp dword [ebp - 0x6c], eax
jl 0x10010dee
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0
jne 0x10010dee
and dword [ebp - 0x4c], 0
jmp 0x10010df5
mov dword [ebp - 0x4c], 1
push 0
mov ecx, dword [ebp - 0x84]
call fcn.100179fa
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax]
jle 0x10010e17
or eax, 0xffffffff
je 0x10010e17
mov dword [ebp - 0x50], 1
jmp 0x10010e1b
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 2
jl 0x10010e2a
mov dword [ebp - 0x58], 1
jmp 0x10010e2e
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
cmp dword [ebp - 0x58], eax
jl 0x10010e44
mov dword [ebp - 0x60], 1
jmp 0x10010e48
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 1
jge 0x10010e57
mov dword [ebp - 0x68], 1
jmp 0x10010e5b
and dword [ebp - 0x68], 0
imul eax, dword [ebp - 0x68], 0xcae1
mov ecx, dword [ebp - 0xcc]
mov dword [ecx], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x70], 0x5c44
jge 0x10010e8a
mov edx, dword [ebp - 0xd4]
mov ecx, 0x10618818
call fcn.1001a339
jmp 0x10010ea6
or dword [ebp - 4], 0xffffffff
jmp 0x10010eb0
jmp 0x10011050
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xfc], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x10010f12
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10010f0d
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10011050
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jl 0x10010f80
mov dword [ebp - 0x78], 1
jmp 0x10010f84
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x124]
mov dword [eax], 0x2b000cd8
imul eax, dword [ebp - 0x78], 0x2b000cd8
test eax, eax
jne 0x10010fa9
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x10010fa9
and dword [ebp - 0x80], 0
jmp 0x10010fb0
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0x8e55
je 0x10010fc5
mov dword [ebp - 0x88], 1
jmp 0x10010fcc
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x88], eax
je 0x10010fe5
mov dword [ebp - 0x90], 1
jmp 0x10010fec
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x90], eax
jg 0x1001100a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x1001100a
mov dword [ebp - 0x44], 1
jmp 0x1001100e
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
cmp dword [ebp - 0x44], 0
je 0x1001102f
xor eax, eax
je 0x1001102f
mov dword [ebp - 0x98], 1
jmp 0x10011036
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x98]
lea eax, [ecx + eax + 0x392715ee]
mov ecx, dword [ebp - 0x134]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret