Function at 0x100cd4d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x10431dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x48], esi
mov dword [ebp - 0xf8], eax
jne 0x100cd99
push esi
call fcn.0101b107
test al, al
je 0x100cd8f
push 5
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
jmp 0x100cd96
push esi
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x4c]
cmp eax, esi
push edi
mov edi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov dword [ebp - 0xc0], esi
je 0x100cddc
push eax
push dword [0x10497c0]
lea eax, [ebp - 0xc0]
push eax
call fcn.0101b058
cmp eax, esi
mov dword [ebp - 0xc4], eax
jl 0x100cdee
push dword [ebp - 0xc0]
push 0x12e
push dword [ebx + 4]
call edi
jmp 0x100cdee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call int.01009d20
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc0]
call fcn.0100dd74
cmp dword [ebp - 0xc4], esi
pop ecx
jl 0x100d2b4
mov eax, dword [ebx + 0x50]
cmp eax, esi
mov dword [ebp - 0xc0], esi
je 0x100ce42
push eax
push dword [0x10497c0]
lea eax, [ebp - 0xc0]
push eax
call fcn.0101b058
cmp eax, esi
mov dword [ebp - 0xc4], eax
jl 0x100ce54
push dword [ebp - 0xc0]
push 0x12f
push dword [ebx + 4]
call edi
jmp 0x100ce54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call int.01009d20
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc0]
call fcn.0100dd74
cmp dword [ebp - 0xc4], esi
pop ecx
jl 0x100d2b4
cmp dword [ebx + 0x34], esi
jne 0x100ce9c
push esi
push esi
push 0x31
push 0x12d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, esi
mov dword [ebx + 0x34], eax
jne 0x100ce9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call int.01009d20
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], esi
jl 0x100d2b4
push 0x58
lea eax, [ebp - 0xb8]
push esi
push eax
mov dword [ebp - 0xbc], esi
call fcn.0100ddf9
add esp, 0xc
lea eax, [ebp - 0xbc]
push eax
push 0x5c
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebx + 0x38], esi
jne 0x100cf0b
push 0x17
pop ecx
push 0x1001c64
push 0x20
lea eax, [ebp - 0x44]
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x60], 0xfffffff4
call fcn.0100c00e
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x38], eax
xor esi, esi
cmp dword [ebx + 0x3c], esi
jne 0x100cf3b
push 0x17
pop ecx
lea eax, [ebp - 0x60]
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x60], 0xfffffff5
mov dword [ebp - 0x50], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x3c], eax
xor esi, esi
cmp dword [ebx + 0x40], esi
jne 0x100cf64
push 0x17
pop ecx
lea eax, [ebp - 0x60]
lea esi, [ebp - 0xbc]
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x60], 0xfffffff5
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x40], eax
xor esi, esi
mov eax, dword [ebx + 0x38]
cmp eax, esi
push 0x30
pop edi
je 0x100cf92
push esi
push eax
push edi
push 0x12d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push esi
push dword [ebx + 0x38]
push edi
push 0x132
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebx + 0x3c]
cmp eax, esi
je 0x100cfaa
push esi
push eax
push edi
push 0x12e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov eax, dword [ebx + 0x40]
cmp eax, esi
je 0x100cfd5
push esi
push eax
push edi
push 0x12f
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push esi
push dword [ebx + 0x40]
push edi
push 0x130
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp dword [ebx + 0x44], esi
jne 0x100cff6
push 0x40
push 0x18
push 0x18
push 1
push 0x84
push dword [0x10497c0]
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebx + 0x44], eax
lea eax, [ebp - 0x11c]
push eax
lea esi, [ebx + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x131
push dword [esi]
call edi
push 0x1d
mov dword [ebp - 0xd8], eax
pop eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
push 0
lea eax, [ebp - 0x13c]
push eax
push 0
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x13c], 4
mov dword [ebp - 0x138], 2
call fcn.0100c4e3
push 0x12e
push dword [esi]
call edi
mov dword [ebp - 0xc0], eax
push 0
push dword [ebx + 0x3c]
mov eax, 0x7fff
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xf4]
push eax
push eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf0], 0x25
call fcn.01020247
push 4
lea eax, [ebp - 0xf4]
push eax
push 0
lea ecx, [ebp - 0xc0]
call fcn.0100c4e3
push 0x12d
push dword [esi]
call edi
xor ecx, ecx
mov dword [ebp - 0xe0], eax
push ecx
push dword [ebx + 0x38]
mov eax, 0x7fff
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd4]
push eax
push eax
lea eax, [ebp - 0xe0]
push eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xd0], ecx
call fcn.01020247
push 0x20
pop eax
mov ecx, eax
sub ecx, dword [ebp - 0xd4]
push 6
add dword [ebp - 0xcc], ecx
mov dword [ebp - 0xd4], eax
pop eax
mov ecx, eax
sub ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd0], eax
add dword [ebp - 0xc8], ecx
push 0
lea eax, [ebp - 0xd4]
push eax
push 0
lea ecx, [ebp - 0xe0]
call fcn.0100c4e3
mov eax, dword [ebp - 0xec]
add eax, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xcc]
add eax, 0x1d
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0100cc8f
mov eax, dword [eax]
push 0x132
push dword [esi]
mov dword [ebp - 0x114], eax
call edi
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x114]
add eax, 0xfffffff0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x128], eax
push 0
push dword [ebx + 0x38]
mov eax, 0x7fff
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x12c]
push eax
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.01020247
push 0
lea eax, [ebp - 0x12c]
push eax
push 0
lea ecx, [ebp - 0xe4]
call fcn.0100c4e3
push 0x12f
push dword [esi]
call edi
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xe8]
add eax, 6
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x114]
push 1
push dword [ebx + 0x40]
add eax, 0xfffffff8
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x10c]
push eax
push eax
lea eax, [ebp - 0xdc]
push eax
mov dword [ebp - 0x10c], 9
mov dword [ebp - 0x100], 0x7fff
call fcn.01020247
push 4
lea eax, [ebp - 0x10c]
push eax
push 0
lea ecx, [ebp - 0xdc]
call fcn.0100c4e3
push 0x12c
push dword [esi]
call edi
xor ecx, ecx
push ecx
push 0x1e
push dword [ebp - 0x114]
push ecx
push ecx
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x100]
add eax, 0xa
mov dword [ebp - 0x110], eax
push 6
lea eax, [ebp - 0x11c]
push eax
push 0
mov ecx, esi
call fcn.0100c4e3
push 1
call fcn.0101b107
test al, al
je 0x100d2b2
push 0x12c
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
push dword [ebp - 0xf8]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100c6af
cmp dword [ebp - 0xc4], esi
pop edi
jge 0x100d2de
push 0xffffffffffffffff
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0100d61a
leave
ret 0x10