Function at 0x100135f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x100e6008]
xor eax, esp
mov dword [esp + 0x38], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 1
jne 0x100139ce
mov esi, dword [ebp + 0xc]
cmp esi, 5
jne 0x100136d2
mov eax, dword [edi + 0x18]
movsx ecx, dx
shr edx, 0x10
mov dword [esp + 0x18], ecx
mov dword [eax + 0x20], 1
movsx eax, dx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x100136c0
test eax, eax
je 0x100136c0
cmp dword [edi + 0x64], 0
je 0x100136c0
mov esi, dword [sym.imp.USER32.dll_CopyRect]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x44]
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], ecx
call esi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [edi + 0x64]
add eax, 0x18
mov dword [esp + 0x38], 0
push eax
mov dword [esp + 0x40], 0
call esi
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebx], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x100139c8
cmp esi, 0x110
jne 0x100137b8
mov eax, dword [edi + 0x18]
lea esi, [edi + 4]
push 1
mov dword [eax + 0x20], 1
push dword [edi + 0x74]
push dword [edi + 0x70]
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MoveWindow]
push ecx
mov ecx, esi
call fcn.10013440
call fcn.10027170
mov ecx, dword [edi + 0x68]
mov dword [edi + 0x68], eax
test ecx, ecx
je 0x1001371c
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [edi + 0x64]
test edx, edx
je 0x10013795
mov ecx, edi
lea eax, [edi + 0x20]
neg ecx
xorps xmm0, xmm0
sbb ecx, ecx
and ecx, eax
lea eax, [esp + 0x34]
mov dword [edx + 0x3c], ecx
push eax
push dword [esi]
movups xmmword [esp + 0x3c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x44]
push eax
call esi
mov ecx, edi
mov dword [edi + 0x58], 0x402
neg ecx
lea eax, [edi + 0x2c]
sbb ecx, ecx
and ecx, eax
push ecx
mov ecx, dword [edi + 0x64]
push 0
call fcn.100269b0
lea eax, [esp + 0x34]
push eax
mov eax, dword [edi + 0x64]
add eax, 0x18
push eax
call esi
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi + 0x64]
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [edi + 4]
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.100140a0
mov dword [ebx], 1
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x100139c8
cmp esi, 0x111
jne 0x10013811
mov esi, dword [sym.imp.USER32.dll_EndDialog]
movzx eax, cx
mov ecx, 1
mov dword [esp + 0x14], eax
cmp cx, ax
jne 0x100137f2
push ecx
push dword [edi + 4]
call esi
cmp dword [esp + 0x10], 0
mov dword [ebx], 0
jne 0x100138e3
mov eax, dword [esp + 0x14]
mov ecx, 2
cmp cx, ax
jne 0x100139ce
push ecx
push dword [edi + 4]
call esi
mov dword [ebx], 0
jmp 0x100139c3
lea eax, [esi - 0x200]
cmp eax, 0xd
ja 0x100138d8
movsx eax, dx
mov dword [esp + 0x18], eax
mov eax, edx
shr eax, 0x10
movsx edx, ax
lea eax, [esi - 0x200]
cmp eax, 3
ja case.default.0x1001383a
jmp dword [eax*4 + 0x100139e4]
mov eax, dword [esp + 0x18]
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push ecx
push eax
lea ecx, [edi + 0x20]
mov dword [esp + 0x28], edx
call fcn.100264e0
jmp 0x100138bd
mov eax, dword [esp + 0x18]
push 1
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push ecx
push eax
lea ecx, [edi + 0x20]
mov dword [esp + 0x34], edx
call fcn.100264e0
jmp 0x100138bd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push ecx
push eax
lea ecx, [edi + 0x20]
mov dword [esp + 0x38], edx
call fcn.10026540
jmp 0x100138bd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [edi + 0x20]
mov dword [esp + 0x40], edx
call fcn.10026580
jmp 0x100138bd
mov dword [esp + 0x10], 0
mov ecx, dword [edi + 0x18]
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x20], eax
cmp dword [esp + 0x10], 0
mov dword [ebx], 0
jne 0x100138e3
mov ecx, dword [esp + 0x14]
cmp esi, 0x14
jne 0x100138fc
mov dword [ebx], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.100ab466
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0xf
jne 0x10013918
sub esp, 0x10
mov dword [esp + 0x20], 1
mov ecx, edi
call fcn.10013dd0
jmp 0x100139c1
cmp esi, 0x10
jne 0x1001393a
push ecx
push dword [edi + 4]
mov dword [esp + 0x18], 1
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [ebx], 0
jmp 0x100139c3
cmp esi, 0x318
je 0x10013901
cmp esi, 0x2a2
jne 0x10013997
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x20]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [eax + 0x20], 1
mov byte [edi + 0x26], 0
mov eax, dword [edi + 0x20]
call dword [eax + 0xc]
test eax, eax
je 0x10013981
mov edx, dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call dword [edx + 0x54]
mov dword [edi + 0x28], 0
mov dword [ebx], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
jmp 0x100139c8
cmp esi, 0x2a3
je 0x1001394a
cmp esi, 0x1400
jne 0x100139ce
mov edx, dword [edi]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x18], 1
push ecx
push esi
mov ecx, edi
call dword [edx + 0x10]
mov dword [ebx], eax
cmp dword [esp + 0x10], 0
jne 0x100138e3
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ab466
mov esp, ebp
pop ebp
ret 0x18