Function at 0x41ec10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x174
push ebx
push ebp
push esi
mov esi, dword [esp + 0x184]
mov ebx, ecx
push edi
test esi, esi
mov dword [esp + 0x1c], ebx
je 0x41f223
push esi
lea ecx, [esp + 0x24]
call fcn.0050fe10
lea esi, [esp + 0x20]
lea edi, [ebx + 0x54]
neg esi
sbb esi, esi
lea eax, [esp + 0x24]
mov ecx, edi
and esi, eax
call fcn.00405300
push esi
mov ecx, edi
call fcn.00406280
lea ecx, [esp + 0x20]
call fcn.0050fe40
mov eax, dword [ebx + 0x2c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x455
push eax
call ebp
test al, 1
je 0x41ec8b
mov ecx, dword [ebx + 0x2c]
and al, 0xfe
push eax
push 0
push 0x454
push ecx
call ebp
mov edx, dword [ebx + 0x2c]
push 0
push 0
push 0x418
push edx
call ebp
mov esi, eax
dec esi
js 0x41ecb0
mov eax, dword [ebx + 0x2c]
push 0
push esi
push 0x416
push eax
call ebp
dec esi
jns 0x41ec9f
mov ecx, dword [esp + 0x188]
push ecx
call fcn.0050fde0
mov edi, eax
mov eax, dword [ebx + 0xd8]
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
je 0x41ecd6
mov edx, dword [eax]
push eax
call dword [edx + 4]
xor esi, esi
inc edi
test edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x5c], edi
jle 0x41f1b0
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x188]
push esi
push eax
call fcn.00510310
mov ebp, eax
add esp, 8
test ebp, ebp
mov edi, ebp
jne 0x41ed0c
mov ebp, dword [ebx + 0xf4]
push ebp
lea ecx, [esp + 0x24]
call fcn.0050fe10
mov esi, dword [esp + 0x30]
mov ecx, dword [ebx + 0xe0]
mov eax, dword [esp + 0x18]
add esi, ecx
mov dword [esi + 0x10], eax
add eax, 0x6f
mov byte [esi + 8], 4
mov byte [esi + 9], 0x18
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
cmp dword [0x54a2ec], 1
je 0x41ed4b
mov dword [esi], 0xffffffff
jmp 0x41ed58
push 1
lea ecx, [esp + 0x24]
call fcn.00510bb0
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [0x546560]
cmp eax, 0x14
mov dword [esp + 0x10], ecx
jle 0x41edca
test ebp, ebp
je 0x41edca
push ebp
call fcn.005102d0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41edc6
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41edc6
mov edx, dword [eax]
lea ecx, [esp + 0x7c]
push ecx
push 1
push ebx
push eax
call dword [edx + 0x2c]
test eax, eax
jl 0x41edc6
lea edx, [esp + 0x10]
push 0
push edx
mov ecx, 0x42
sub esp, 0x108
lea esi, [esp + 0x18c]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.0050c1d0
push ebx
call fcn.00510600
add esp, 0x114
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ee8e
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
neg eax
sbb eax, eax
lea edx, [esp + 0x28]
and eax, ecx
mov eax, dword [eax]
push eax
push edx
call fcn.0050faf0
mov edi, eax
mov eax, dword [esp + 0x18]
add esp, 8
mov esi, dword [edi]
cmp eax, esi
je 0x41ee5f
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41ee17
mov ecx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x41ee22
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x41eeaa
mov ebx, dword [esi - 8]
lea ecx, [esp + 0x10]
push ebx
call fcn.00405660
test eax, eax
je 0x41ee5b
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41ee8e
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ee8e
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [0x554ad4]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x14], edi
jne 0x41eec5
push 0x554ad4
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
jmp 0x41eecb
lea ecx, [esp + 0x10]
call fcn.00412670
mov edi, dword [edi]
mov dword [esp + 0x10], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41ee5f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
cmp ebp, edi
je 0x41eee7
cmp word [ebp], di
jne 0x41eee7
mov edx, dword [0x554ad4]
lea ecx, [esp + 0x14]
push edx
call fcn.00424ca0
jmp 0x41eefe
mov eax, dword [0x554ad4]
lea edx, [esp + 0x14]
push edx
push 0x542354
mov ecx, dword [eax]
push edi
push ebp
push eax
call dword [ecx + 0x14]
lea ecx, [esp + 0x78]
call fcn.00424c80
lea ecx, [esp + 0x34]
call fcn.0045f6e0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push eax
call fcn.00424ca0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x41ef2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, 0x547a3c
test edx, edx
je 0x41f0f4
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edx
call esi
mov ebp, eax
cmp ebp, edi
je 0x41f0f4
mov eax, 0x547a34
test eax, eax
jne 0x41ef5b
mov dword [esp + 0x14], edi
jmp 0x41ef66
push 0x547a34
call esi
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x2c], eax
jae 0x41f0f8
push 0x547a3c
push esi
call fcn.0053176f
add esp, 8
test eax, eax
je 0x41efa4
lea esi, [eax + ebp*2]
push 0x547a3c
push esi
inc edi
call fcn.0053176f
add esp, 8
test eax, eax
jne 0x41ef8e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x41ef7c
test edi, edi
jle 0x41f0f4
lea ecx, [esp + 0x10]
call fcn.004055c0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebx, ebp
imul ebx, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x38], eax
add ebx, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x64], ebx
cmp eax, ebx
jl 0x41efef
cmp dword [esi - 0xc], 1
jle 0x41f02d
lea edi, [esi - 0xc]
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edi
call fcn.00405530
test eax, eax
je 0x41f0f0
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
shl ecx, 1
mov edx, ecx
mov eax, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00405590
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 8]
lea eax, [esi + ecx*2]
cmp esi, eax
mov dword [esp + 0x2c], eax
jae 0x41f0e3
push 0x547a3c
push esi
call fcn.0053176f
mov edi, eax
add esp, 8
test edi, edi
je 0x41f0c8
mov eax, dword [esp + 0x10]
mov edx, edi
sub edx, eax
mov eax, dword [esp + 0x38]
sar edx, 1
sub eax, edx
lea ecx, [edi + ebp*2]
sub eax, ebp
lea ebx, [eax + eax]
mov eax, dword [esp + 0x14]
push ebx
push ecx
lea esi, [eax + eax]
lea eax, [esi + edi]
push eax
mov dword [esp + 0x6c], eax
call fcn.00531870
mov ecx, esi
mov esi, 0x547a34
mov edx, ecx
mov eax, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebp
and ecx, 3
push 0x547a3c
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x70]
push esi
mov word [ebx + esi], 0
mov ebx, dword [esp + 0x4c]
add ebx, eax
mov dword [esp + 0x4c], ebx
call fcn.0053176f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x41f053
mov ebx, dword [esp + 0x64]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x2c]
cmp esi, eax
jb 0x41f03f
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebx
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
jmp 0x41f0f8
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 0xe4]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + edx*4]
lea edi, [ecx + edx*4]
cmp eax, esi
je 0x41f154
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41f120
mov ecx, dword [0x546564]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x41f127
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x41f135
mov eax, dword [esi - 8]
push esi
push eax
mov ecx, edi
call fcn.00405870
jmp 0x41f150
mov ecx, edi
call fcn.00412670
mov ecx, dword [esp + 0x10]
mov dword [edi], ecx
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [esp + 0x10]
mov ecx, dword [0x546564]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x41f17f
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41f17f
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff4
push ecx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x20]
call fcn.0050fe40
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x5c]
inc eax
add edx, 0x14
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], edx
mov esi, eax
jl 0x41eced
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0xe0]
mov eax, dword [ebx + 0x2c]
push edx
push esi
push 0x444
push eax
call ebp
lea eax, [esi - 1]
test eax, eax
jl 0x41f211
lea esi, [eax + 0x6f]
inc eax
mov dword [esp + 0x28], eax
mov edx, dword [ebx + 0x2c]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 0x20
push ecx
push esi
push 0x440
push edx
mov dword [esp + 0x50], 0xa
mov byte [esp + 0x5d], 0x18
call ebp
mov eax, dword [esp + 0x28]
dec esi
dec eax
mov dword [esp + 0x28], eax
jne 0x41f1d2
lea ecx, [esp + 0x34]
call fcn.0045f6e0
mov esi, dword [esp + 0x188]
jmp 0x41f229
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
or eax, 0xffffffff
lea edx, [esp + 0x3c]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2c]
push edx
push 1
push 0x444
push eax
mov byte [esp + 0x54], 4
mov byte [esp + 0x55], 0x10
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], 0x463
call ebp
push esi
lea ecx, [esp + 0x24]
call fcn.0050fe10
lea esi, [esp + 0x20]
lea ecx, [esp + 0x24]
neg esi
sbb esi, esi
lea edi, [ebx + 0xfc]
and esi, ecx
mov ecx, edi
call fcn.00405300
push esi
mov ecx, edi
call fcn.00406280
lea ecx, [esp + 0x20]
call fcn.0050fe40
mov eax, dword [ebx + 4]
lea edx, [esp + 0x68]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [ebx + 0xf0]
sub ecx, edi
mov edi, dword [esp + 0x68]
sub edx, eax
mov eax, dword [ebx + 0xec]
sub ecx, 4
push 0
sub edx, edi
push ecx
push edx
push 2
push 0
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 0x2c]
push 1
push 0
push 0x454
push ecx
call ebp
mov ecx, ebx
call fcn.00421080
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x174
ret 4