Function at 0x1003e5dd
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x258
push ebx
push ebp
mov ebp, dword [esp + 0x264]
push esi
push edi
push ebp
push dword [0x101e2a54]
call fcn.1004f73d
mov edi, eax
cmp ebp, 0xffffffff
lea eax, [esp + 0x68]
cmove ebp, edi
push ebp
push str.WindowClass__d
push eax
call fcn.1003d7d0
cmp dword [esp + 0x28c], 0
mov eax, 0x101a11a0
push 0x28
cmovne eax, dword [esp + 0x290]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x50]
push 0
push eax
call fcn.10024f30
mov eax, dword [0x101df4f4]
add esp, 0x18
and dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov eax, dword [0x101e2a5c]
mov dword [esp + 0x54], eax
mov eax, dword [0x101e2a64]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x68]
push 8
pop ebx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x1003eee6
mov dword [esp + 0x60], 0x10
call dword [sym.imp.USER32.dll_RegisterClassW]
mov ecx, dword [esp + 0x284]
mov edx, 0xc00000
mov eax, dword [esp + 0x284]
and ecx, 0xfffffff7
and eax, ebx
mov ebx, ecx
or ebx, edx
mov dword [esp + 0x3c], eax
test dword [esp + 0x284], 0xeffffff4
cmovne ebx, ecx
mov eax, ebx
and eax, 0x10000000
mov dword [esp + 0x38], eax
je 0x1003e6c7
and ebx, 0xefffffff
mov eax, ebx
and eax, 0x2000000
mov dword [esp + 0x10], eax
mov eax, ebx
push 4
pop ecx
and eax, ecx
je 0x1003e6e3
and ebx, 0xdefcffff
or ebx, edx
push dword [esp + 0x278]
neg eax
sbb eax, eax
and eax, 0x80
mov dword [esp + 0x18], eax
call fcn.10044070
push dword [esp + 0x27c]
mov esi, eax
call fcn.10044094
push dword [esp + 0x14]
mov dword [esp + 0x2c], eax
xor ecx, ecx
push ecx
mov eax, ebx
mov dword [esp + 0x24], ecx
and eax, 0xfffffff8
mov dword [esp + 0x28], ecx
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x30], esi
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x24]
mov ecx, 0xffff0001
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, SysReAllocStringLen
cmp dword [esp + 0x270], ecx
je 0x1003e787
cmp dword [esp + 0x274], ecx
jne 0x1003e76b
test bl, 3
je 0x1003e787
push dword [esp + 0x270]
call fcn.10044070
push dword [esp + 0x274]
mov esi, eax
call fcn.10044094
jmp 0x1003e789
mov esi, eax
push 0
push dword [0x101df4f4]
and ebx, 0xfdfffff8
mov dword [esp + 0x20], eax
push 0
push dword [esp + 0x294]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push eax
push esi
push ebx
push dword [esp + 0x58]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi], eax
test eax, eax
je 0x1003e8a4
and dword [edi + 0x30], 0
lea ecx, [ebp + 1]
and dword [edi + 0x1c], 0
push ecx
push str.PB_WindowID
push eax
call dword [sym.imp.USER32.dll_SetPropW]
test byte [esp + 0x284], 3
je 0x1003e808
push dword [esp + 0x288]
push dword [esp + 0x288]
push dword [edi]
call fcn.1003f6ac
jmp 0x1003e82c
cmp esi, 0x80000000
je 0x1003e82c
push edi
call fcn.1003f7ce
push 0x15
sub esi, eax
xor eax, eax
push eax
push eax
push dword [esp + 0x24]
push esi
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor esi, esi
inc esi
cmp dword [esp + 0x38], 0
jne 0x1003e86a
test ebx, 0x1000000
je 0x1003e845
push 3
pop eax
push 8
jmp 0x1003e858
test ebx, 0x20000000
je 0x1003e854
push 2
pop eax
push 7
jmp 0x1003e858
mov eax, esi
push 4
cmp dword [esp + 0x14], 0
pop ecx
cmovne eax, ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
and ebx, 0x21000000
neg ebx
push edi
sbb ebx, ebx
neg ebx
mov dword [edi + 0x2c], ebx
call fcn.1003e8d0
or dword [edi + 0x3c], 0xffffffff
or dword [edi + 0x14], 0xffffffff
cmp dword [esp + 0x3c], 0
jne 0x1003e895
push dword [edi]
call fcn.1019314b
mov dword [edi + 0x30], esi
cmp ebp, edi
jne 0x1003e8a0
mov eax, ebp
jmp 0x1003e8c3
mov eax, dword [edi]
jmp 0x1003e8c3
push dword [0x101df4f4]
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
push ebp
push dword [0x101e2a54]
call fcn.1004f6b0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret 0x20