Function at 0x1003af24
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x1003b212
mov eax, dword [edi]
mov esi, dword [eax + 0x170]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003b212
cmp dword [ebp + 8], 0
je 0x1003af80
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003af80
mov eax, dword [eax]
push 0
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp - 0x10]
call esi
mov eax, dword [edi + 0xb4]
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1003b050
lea eax, [edi + 0xb0]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.1003216a
mov esi, dword [eax]
mov dword [ebp - 8], esi
test esi, esi
je 0x1003b212
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x14], eax
lea ecx, [eax - 0xe800]
cmp ecx, 0x1f
ja 0x1003b03d
lea ecx, [eax - 0xe800]
xor eax, eax
inc eax
shl eax, cl
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
mov esi, dword [eax + 0x190]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 4]
test eax, eax
mov eax, dword [ebp - 8]
cmove ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [eax]
mov esi, dword [eax + 0x198]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp - 8]
call esi
test eax, eax
je 0x1003b022
cmp dword [ebp - 0x14], 0xe81f
je 0x1003b03d
mov eax, dword [ebx + 8]
mov ecx, edi
and eax, dword [ebp - 0xc]
push 1
push eax
push dword [ebp - 8]
call fcn.1003addd
mov ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0x1003b040
mov ecx, dword [ebp - 4]
cmp dword [ebp - 0x10], 0
lea eax, [edi + 0xb0]
jne 0x1003af9c
cmp dword [ebp + 8], 0
mov dword [ebx + 8], ecx
je 0x1003b11d
mov eax, dword [ebx + 0x10]
mov ecx, edi
push 0
mov dword [edi + 0xe0], eax
call fcn.1003ad43
push dword [ebx]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [edi + 0x100], 1
jne 0x1003b09c
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetMenu]
jmp 0x1003b0a2
mov eax, dword [edi + 0x104]
mov dword [ebx + 4], eax
test eax, eax
je 0x1003b0d3
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0x70]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
and dword [edi + 0x118], 0xfffffffe
mov esi, dword [ebp - 0x14]
mov eax, dword [edi + 0x8c]
mov ecx, edi
mov dword [ebx + 0x14], eax
and dword [edi + 0x8c], 0
push 0x7915
call fcn.1003a3e0
mov eax, 0xe900
cmp dword [ebx], eax
je 0x1003b104
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x1003b116
push 0xea21
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop esi
pop ebx
leave
ret 8
and dword [edi + 0xe0], 0
push 0xea21
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x10], eax
mov esi, 0xe900
test eax, eax
je 0x1003b166
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x1003b15a
push 0xea21
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
push 0xfffffffffffffff4
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp dword [ebx + 4], 0
je 0x1003b1a0
push 1
push 0
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [edi + 0x100]
cmp eax, 1
jne 0x1003b192
push dword [ebx + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetMenu]
jmp 0x1003b1a0
cmp eax, 2
jne 0x1003b1a0
mov eax, dword [ebx + 4]
mov dword [edi + 0x104], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xac]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1003b1c4
mov eax, dword [eax]
push 1
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [section..00cfg]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0x178]
mov ecx, esi
call dword [section..00cfg]
mov ecx, edi
call esi
cmp dword [ebx], 0xe900
je 0x1003b1ef
push dword [ebx]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x1003b1f2
mov eax, dword [ebp - 0x10]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebx + 0x14]
mov ecx, edi
push 1
mov dword [edi + 0x8c], eax
call fcn.1003ad43
jmp 0x1003b116
call fcn.1003ee4a
int3