Function at 0x41f652
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x168]
push ecx
push eax
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
push 7
push dword [ebp - 0x30]
xor ebx, ebx
mov dword [ebp - 0x20], eax
lea ecx, [esi + 0x14]
lea edi, [esi + 0xd38]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00408b44
or dword [edi + 0x24], 0x280000
cmp dword [esi + 0xbe4], ebx
jne 0x41f6d5
push 0xa
push ebx
lea eax, [esi + 0xbcc]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x41f6d5
xor eax, eax
jmp 0x41f990
lea eax, [ebp - 0x48]
push eax
push dword [0x452838]
mov eax, SysReAllocStringLen
push 0xe900
push dword [ebp - 0x30]
mov dword [ebp - 0x48], ebx
push eax
push eax
push ebx
push ebx
push 0x46000001
push ebx
push str.MDIClient
push 4
mov dword [ebp - 0x44], 0xff00
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x41f6ce
lea edi, [esi + 0xd24]
mov dword [esi + 0x8c], ebx
call fcn.004430c3
lea eax, [esi + 0x10]
push eax
push ebx
call dword [sym.imp.ole32.dll_RegisterDragDrop]
mov eax, dword [esi + 0x80]
push dword [ebp - 0x30]
shr eax, 0xe
and eax, 3
mov word [esi + 0xd16], ax
lea eax, [esi + 0xcd4]
push eax
mov dword [ebp - 0x34], eax
call fcn.0042f83e
mov dword [esi + 0xcc8], eax
mov eax, SysReAllocStringLen
push 8
push dword [ebp - 0x30]
lea edi, [esi + 0xd9c]
or dword [edi + 0x24], 0x404f0000
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
lea ecx, [esi + 0x14]
call fcn.00408b44
mov ecx, dword [ebp - 0x34]
mov edx, dword [esi + 0xdbc]
xor eax, eax
push 0x13
inc eax
mov word [esi + 0xd1c], ax
mov dword [ecx + 0x28], ebx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ecx + 0x24], edx
push dword [esi + 0xdbc]
push dword [esi + 0xce8]
call dword [sym.imp.USER32.dll_SetWindowPos]
test dword [esi + 0x84], 0x20
jne 0x41f7cd
mov eax, dword [esi + 0xbe4]
mov dword [esi + 0xd18], eax
cmp dword [esi + 0xcc8], ebx
je 0x41f6ce
mov eax, dword [esi + 0x98]
and eax, 3
cmp al, 1
jne 0x41f84f
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 0x40a
push dword [esi + 0xcc4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push ebx
push dword [0x452838]
sub eax, 0x10
push 4
push dword [esi + 0xcc4]
cdq
push 0x10
sub eax, edx
push 0x50
sar eax, 1
add eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
add eax, 0xffffffad
push eax
push 0x40000000
push ebx
push str.msctls_progress32
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xccc], eax
jmp 0x41f880
lea eax, [esi + 0x154]
push eax
push ebx
push ebx
push 0x411cce
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x150], eax
cmp eax, ebx
je 0x41f6ce
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
lea edx, [ebp - 0x38]
push edx
lea eax, [esi + 0x210]
mov ecx, dword [eax]
push 0xfffffffffffffffc
push eax
call dword [ecx + 0x44]
push dword [ebp - 0x38]
call fcn.004409cf
pop ecx
test ax, ax
je 0x41f6ce
mov eax, dword [esi + 0x98]
and eax, 3
cmp al, 3
je 0x41f8cd
call fcn.0043bbc3
test ax, ax
je 0x41f6ce
call fcn.0040b51c
test ax, ax
je 0x41f6ce
call fcn.00442901
test ax, ax
je 0x41f6ce
test byte [esi + 0x98], 8
je 0x41f8ed
push dword [ebp - 0x38]
call fcn.0043bb74
pop ecx
lea eax, [esi + 0x14]
lea edi, [esi + 0xef0]
push eax
call fcn.004095fc
add esi, 0xe00
call fcn.00423cb2
mov edi, dword [ebp - 0x40]
cmp byte [edi + 0x9c], 1
mov al, byte [edi + 0x9d]
mov cl, byte [edi + 0x4e]
setne byte [ebp - 0x29]
and al, 1
mov byte [ebp - 0x2a], al
test cl, 7
je 0x41f92d
test cl, 8
je 0x41f936
cmp al, bl
je 0x41f954
cmp byte [ebp - 0x29], bl
je 0x41f950
push ebx
push ebx
push edi
xor eax, eax
call fcn.0041f517
push dword [edi + 0x168]
push 1
call fcn.0042324e
mov al, byte [ebp - 0x2a]
cmp al, bl
jne 0x41f963
cmp byte [ebp - 0x29], bl
je 0x41f963
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x1c]
mov ecx, dword [edi + 0xcc]
cmp ecx, ebx
je 0x41f982
mov eax, dword [edi + 0x98]
and eax, 3
cmp al, 3
je 0x41f982
mov edx, dword [ebp - 0x3c]
call fcn.004249a8
mov ecx, dword [ebp - 0x3c]
add edi, 0x18
call fcn.00415c9e
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447d7e
leave
ret 4