Function at 0x40d3a6
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov eax, dword [0x530f98]
xor eax, ebp
mov dword [esp + 0x50], eax
xor esi, esi
lea eax, [esp + 0x20]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 8], esi
lea ebx, [esp + 0x10]
mov dword [ebx + 4], esi
mov dword [ebx], esi
mov dword [ebx + 8], esi
push ebx
push eax
call fcn.0040ca08
movzx eax, byte [ebx + 0xb]
mov edx, eax
test al, al
jns 0x40d3ec
mov edx, dword [esp + 0x14]
test edx, edx
je 0x40d594
test al, al
jns 0x40d3fc
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
lea edi, [esp + 4]
mov ecx, edi
push edx
push ebx
call fcn.00430400
cmp byte [edi + 0xb], 0
mov eax, edi
jns 0x40d418
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
movzx eax, byte [esi + 0xb]
mov edx, esi
test al, al
jns 0x40d42e
mov edx, dword [esi]
mov eax, dword [esi + 4]
lea esi, [esp + 0x44]
mov ecx, edi
push eax
push edx
push esi
call fcn.00430ee0
lea edi, [esp + 0x38]
mov ecx, edi
push str.Software360Chromechrome
call fcn.0040394a
cmp byte [edi + 0xb], 0
jns 0x40d456
mov edi, dword [esp + 0x38]
lea ebx, [esp + 0x2c]
mov ecx, ebx
push 0x20019
push edi
push 0x80000001
call fcn.004405b0
cmp dword [ebx], 0
je 0x40d4bc
lea ecx, [esp + 0x2c]
push str.nosign_sygyzy
call fcn.00440760
test al, al
jne 0x40d4bc
movzx eax, byte [esp + 0x2b]
test al, al
jns 0x40d490
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x40d4bc
push esi
call fcn.0043ece0
add esp, 4
test al, al
je 0x40d4bc
cmp byte [esp + 0x4f], 0
jns 0x40d4ac
mov esi, dword [esp + 0x44]
xor eax, eax
inc eax
push eax
push 0
push eax
push esi
call fcn.004438e0
add esp, 0x10
mov eax, dword [ebp + 8]
mov edi, eax
mov al, byte [eax + 0xb]
test al, al
mov ecx, dword [edi + 4]
movzx edx, al
mov esi, edx
cmovs esi, ecx
cmp esi, 0xb
mov esi, edi
jne 0x40d4f7
mov ecx, esi
push 0xb
push str.antilsp.dll
push 0xffffffffffffffff
push 0
call fcn.0042a6da
test eax, eax
je 0x40d517
mov al, byte [esi + 0xb]
mov ecx, dword [esi + 4]
movzx edx, al
test al, al
cmovs edx, ecx
cmp edx, 0xc
jne 0x40d544
mov ecx, esi
push 0xc
push 0x4e3a30
push 0xffffffffffffffff
push 0
call fcn.0042a6da
test eax, eax
jne 0x40d544
lea esi, [esp + 0x44]
push esi
call fcn.0043ece0
add esp, 4
test al, al
je 0x40d544
cmp byte [esp + 0x4f], 0
jns 0x40d533
mov esi, dword [esp + 0x44]
push esi
call fcn.004433d0
add esp, 4
test eax, eax
je 0x40d5ce
cmp byte [esp + 0x4f], 0
jns 0x40d551
mov eax, dword [esp + 0x44]
jmp 0x40d555
lea eax, [esp + 0x44]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
lea ecx, [esp + 0x2c]
call fcn.00440720
cmp byte [esp + 0x43], 0
jns 0x40d57e
push dword [esp + 0x38]
call fcn.004af3c6
add esp, 4
lea ecx, [esp + 0x44]
call fcn.004304c0
lea ecx, [esp + 4]
call fcn.004304c0
mov al, byte [esp + 0x1b]
test al, al
jns 0x40d5a4
push dword [esp + 0x10]
call fcn.004af3c6
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x40d5b7
push dword [esp + 0x20]
call fcn.004af3c6
add esp, 4
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.004af401
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
jmp 0x40d562