Function at 0x40d0b0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4a8d88
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x4c97a0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x5c], esi
xor ebx, ebx
push 0x9ce4
mov dword [esp + 0xc4], ebx
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d127
lea eax, [esp + 0x5c]
push eax
mov eax, 0x9ce4
call fcn.0046c580
mov esi, dword [esp + 0x5c]
mov edi, dword [ebp + 8]
add edi, 4
mov dword [esp + 0xc0], 0xffffffff
mov ecx, dword [edi]
push esi
push ecx
mov dword [esp + 0x70], edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d162
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0047a930
mov esi, eax
cmp dword [esi + 4], ebx
jne 0x40d179
mov eax, dword [esi]
push eax
call fcn.0047d460
mov dword [esi + 4], eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [edi]
call fcn.004627b0
mov esi, dword [ebp + 8]
mov dword [esp + 0xc0], 1
lea edi, [esi + 0x2c]
add esi, 0x11c
mov eax, 7
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 7
push 7
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 0x4d21bc
call fcn.00462b20
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x40d20b
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push ebx
push ebx
push ebx
push esi
call eax
mov esi, dword [ebp + 8]
add esi, 0x14c
mov eax, 0x1e
mov ecx, 7
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 7
push 0x1e
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
push 0x9ce4
mov byte [esp + 0xc4], 2
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d2a8
lea edx, [esp + 0x50]
push edx
mov eax, 0x9ce4
call fcn.0046c580
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x50]
push eax
push str.color0xFFFFFF_s_color
push esi
call fcn.00465760
mov byte [esp + 0xcc], 1
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d2eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
add esi, 0xe0
test byte [esi + 4], 2
mov dword [esi + 0x34], 0x4d21d8
je 0x40d342
push 0x4d21d8
call fcn.00470a70
mov eax, dword [esi + 0x34]
mov ecx, dword [0x4d21e8]
push eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
call fcn.00470a70
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x64]
push eax
push esi
call edx
mov ecx, dword [esi + 0x1c]
cmp ecx, ebx
je 0x40d354
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
push ebx
push ebx
push ebx
push esi
call edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], 0x8006
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
push ebx
push ebx
mov ecx, esi
call edx
mov eax, dword [0x4ce67c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ce67c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x5c], esi
push 0x9d14
mov byte [esp + 0xc4], 4
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d3e3
lea eax, [esp + 0x5c]
push eax
mov eax, 0x9d14
call fcn.0046c580
mov esi, dword [esp + 0x5c]
mov ecx, dword [ebp + 8]
add ecx, 0x118
mov byte [esp + 0xc0], 5
mov dword [esp + 0x60], ecx
cmp esi, ebx
je 0x40d412
mov ecx, esi
lea eax, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40d401
sub ecx, eax
sar ecx, 1
mov ebx, ecx
mov eax, dword [esp + 0x60]
push esi
call fcn.0046c7e0
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
add esi, 0x1e4
xor ebx, ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
mov dword [esp + 0x5c], esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
push 0x9dd3
mov byte [esp + 0xc4], 6
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d4d7
lea edx, [esp + 0x50]
push edx
mov eax, 0x9dd3
call fcn.0046c580
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x60]
push eax
add ecx, 0x3ac
mov byte [esp + 0xc4], 7
call fcn.0045fc30
mov ecx, dword [esp + 0x50]
sub esp, 8
fstp qword [esp]
push ecx
push esi
call fcn.00465760
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d52e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
add esi, 0x198
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
mov dword [esp + 0x58], esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov esi, dword [ebp + 8]
add esi, 0x230
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
mov dword [esp + 0x60], esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
push 0x9dd4
mov byte [esp + 0xc4], 8
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d617
lea edx, [esp + 0x50]
push edx
mov eax, 0x9dd4
call fcn.0046c580
mov byte [esp + 0xc0], 9
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
push eax
push ebx
push ecx
push esi
call fcn.00465760
mov byte [esp + 0xd0], 1
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d65b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
add esi, 0x27c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
push 0x9dd6
mov byte [esp + 0xc4], 0xa
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d6ec
lea edx, [esp + 0x50]
push edx
mov eax, 0x9dd6
call fcn.0046c580
mov byte [esp + 0xc0], 0xb
mov ebx, dword [esp + 0x50]
push ebx
push esi
call fcn.00465760
lea eax, [ebx - 0x10]
add esp, 8
mov byte [esp + 0xc0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
add esi, 0x2c8
mov dword [esp + 0x50], esi
mov dword [esi + 0x40], 0x4d20dc
call fcn.0046c2d0
xor ebx, ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], 0x8007
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
push 0x9dce
mov byte [esp + 0xc4], 0xc
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d7cd
lea edx, [esp + 0x4c]
push edx
mov eax, 0x9dce
call fcn.0046c580
mov byte [esp + 0xc0], 0xd
mov ecx, dword [esp + 0x4c]
lea eax, [esi + 0x2c]
cmp ecx, ebx
je 0x40d7f4
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40d7e3
sub ecx, esi
sar ecx, 1
mov ebx, ecx
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0046c7e0
mov esi, dword [esp + 0x50]
call fcn.0046c2d0
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d82f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
mov dword [esi + 0x2f8], 0x474747
add esi, 0x314
mov dword [esi + 0x40], 0x4d20dc
call fcn.0046c2d0
xor ebx, ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 4], 3
mov dword [esi + 8], 0x8006
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov edx, dword [edi]
mov eax, dword [edx]
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push ebx
push ebx
mov ecx, esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
push 0x9d14
mov byte [esp + 0xc4], 0xe
call fcn.0046c4a0
mov ecx, eax
add esp, 4
cmp ecx, ebx
je 0x40d8dc
lea edx, [esp + 0x4c]
push edx
mov eax, 0x9d14
call fcn.0046c580
mov byte [esp + 0xc0], 0xf
mov ecx, dword [esp + 0x4c]
lea eax, [esi + 0x2c]
cmp ecx, ebx
je 0x40d909
lea edx, [ecx + 2]
mov dword [esp + 0x64], edx
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x40d8f6
sub ecx, dword [esp + 0x64]
sar ecx, 1
mov ebx, ecx
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0046c7e0
call fcn.0046c2d0
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d940
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x344], 0x474747
add ebx, 0x360
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov dword [ebx + 4], 3
mov edx, dword [edi]
mov eax, dword [edx]
push ebx
mov ecx, edi
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
push 0
push 0
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov eax, dword [edx + 0x18]
push 0
push 0
mov ecx, ebx
call eax
xor ecx, ecx
mov eax, ebx
call fcn.0045e6d0
push str.360leakrepair_onfixing_mutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x40db1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x40db23
cmp dword [esp + 0x60], 0
jne 0x40dc92
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40da06
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40da06
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40da2f
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40da2f
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40da58
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40da58
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebx + 4]
mov ecx, eax
and ecx, 1
je 0x40da7d
mov ecx, dword [ebx + 0x1c]
and eax, 0xfffffffe
mov dword [ebx + 4], eax
test ecx, ecx
je 0x40da7d
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push ebx
call eax
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 1
jne 0x40daa6
mov ecx, dword [edi + 0x1c]
or eax, 1
mov dword [edi + 4], eax
test ecx, ecx
je 0x40daa6
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push edi
call eax
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 1
jne 0x40dacb
mov ecx, dword [esi + 0x1c]
or eax, 1
mov dword [esi + 4], eax
test ecx, ecx
je 0x40dacb
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push esi
call eax
lea ecx, [esp + 0x64]
push ecx
mov ecx, 0x9df2
call fcn.0046c8c0
mov byte [esp + 0xc0], 0x12
mov eax, dword [eax]
push eax
push edi
call fcn.00465db0
mov byte [esp + 0xc0], 1
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40dd80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40dd80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40db4c
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40db4c
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40db75
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40db75
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40db9e
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40db9e
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebx + 4]
mov ecx, eax
and ecx, 1
je 0x40dbc3
mov ecx, dword [ebx + 0x1c]
and eax, 0xfffffffe
mov dword [ebx + 4], eax
test ecx, ecx
je 0x40dbc3
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push ebx
call eax
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 4]
mov ecx, eax
and ecx, 1
jne 0x40dbec
mov ecx, dword [edi + 0x1c]
or eax, 1
mov dword [edi + 4], eax
test ecx, ecx
je 0x40dbec
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push edi
call eax
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 1
jne 0x40dc11
mov ecx, dword [esi + 0x1c]
or eax, 1
mov dword [esi + 4], eax
test ecx, ecx
je 0x40dc11
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push esi
call eax
mov edx, dword [0x4ce67c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ce67c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x5c], esi
push 0x9df4
mov byte [esp + 0xc4], 0x10
call fcn.0046c4a0
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40dc56
lea edx, [esp + 0x5c]
push edx
mov eax, 0x9df4
call fcn.0046c580
mov esi, dword [esp + 0x5c]
push esi
push edi
mov byte [esp + 0xc8], 0x11
call fcn.00465db0
add esi, 0xfffffff0
mov byte [esp + 0xc0], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dd80
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x40dd80
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
je 0x40dcbb
mov ecx, dword [edx + 0x1c]
and eax, 0xfffffffe
mov dword [edx + 4], eax
test ecx, ecx
je 0x40dcbb
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [esi + 4]
mov ecx, eax
and ecx, 1
je 0x40dce0
mov ecx, dword [esi + 0x1c]
and eax, 0xfffffffe
mov dword [esi + 4], eax
test ecx, ecx
je 0x40dce0
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push esi
call eax
mov edx, dword [esp + 0x58]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
jne 0x40dd09
mov ecx, dword [edx + 0x1c]
or eax, 1
mov dword [edx + 4], eax
test ecx, ecx
je 0x40dd09
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov edx, dword [esp + 0x50]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
jne 0x40dd32
mov ecx, dword [edx + 0x1c]
or eax, 1
mov dword [edx + 4], eax
test ecx, ecx
je 0x40dd32
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov edx, dword [esp + 0x5c]
mov eax, dword [edx + 4]
mov ecx, eax
and ecx, 1
jne 0x40dd5b
mov ecx, dword [edx + 0x1c]
or eax, 1
mov dword [edx + 4], eax
test ecx, ecx
je 0x40dd5b
mov eax, dword [ecx]
push 0
push 1
push 0
push edx
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [ebx + 4]
mov ecx, eax
and ecx, 1
jne 0x40dd80
mov ecx, dword [ebx + 0x1c]
or eax, 1
mov dword [ebx + 4], eax
test ecx, ecx
je 0x40dd80
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0
push 1
push 0
push ebx
call eax
mov ecx, dword [0x4d01c0]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ecx
call esi
mov edx, dword [0x4d01c4]
push 0
push edx
call esi
mov esi, dword [esp + 0x68]
mov eax, dword [esi]
push 0x10
push 0xa0
push 0x12c
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push esi
call fcn.00461730
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4