Function at 0x43d810
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x660]
sub esp, 0x660
push 0xffffffffffffffff
push 0x4a2d99
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4d404c]
xor eax, ebp
mov dword [ebp + 0x65c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 0x668]
lea ecx, [edi + 0x84]
mov ebx, dword [ebp + 0x66c]
mov dword [ebp - 0x14], edi
call fcn.00407260
mov dword [ebp - 4], 0
lea eax, [edi + 0x24]
push 0x60
push 0
push eax
mov byte [edi + 0x9c], 1
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.0047a5f0
add esp, 0xc
lea ecx, [ebp]
push esi
call fcn.00407280
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004070b0
test al, al
je 0x43da0e
mov eax, dword [0x4d7578]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x18], 0x4d7578
test eax, eax
je 0x43d8ff
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
mov ecx, 0x4d7554
call fcn.004070b0
test al, al
jne 0x43d93e
mov ecx, 0x4d7554
call fcn.004073c0
lea edx, [ebp]
cmp edx, eax
je 0x43d9f3
call fcn.004073c0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x43d935
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x43d9eb
push 0x20c
lea eax, [ebp + 0x430]
push 0
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp + 0x430]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x43d9f3
xor eax, eax
push 0x412
push eax
mov word [ebp + 0x63a], ax
lea eax, [ebp + 0x1c]
push eax
call fcn.0047a5f0
add esp, 0xc
lea eax, [ebp + 0x1c]
push 0x208
push eax
lea eax, [ebp + 0x430]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x43d9d4
test eax, eax
je 0x43d9d4
add eax, eax
cmp eax, 0x412
jae 0x43db9a
xor ecx, ecx
mov word [ebp + eax + 0x1c], cx
lea eax, [ebp + 0x1c]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 0x1c]
jmp 0x43d9ea
lea eax, [ebp + 0x430]
push eax
call fcn.004075d0
add esp, 4
push eax
lea eax, [ebp + 0x430]
push eax
lea ecx, [ebp]
call fcn.00407470
mov byte [ebp - 4], 1
mov eax, dword [0x4d7578]
test eax, eax
je 0x43da07
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp + 0x18], 0
lea ecx, [ebp]
call fcn.004070b0
test al, al
jne 0x43db59
mov ecx, ebx
call fcn.004070b0
test al, al
jne 0x43db59
push ebx
lea eax, [ebp]
push eax
lea eax, [ebp + 0x644]
push eax
call fcn.0040e130
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp]
push eax
call fcn.004071e0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x644]
call fcn.00407180
lea eax, [ebp + 0x63c]
mov dword [ebp + 0x63c], 0x43002e
push eax
mov dword [ebp + 0x640], 0x650068
mov dword [ebp + 0x644], 0x6b0063
mov dword [ebp + 0x648], 0x740053
mov dword [ebp + 0x64c], 0x740061
mov dword [ebp + 0x650], 0x64002e
mov dword [ebp + 0x654], 0x740061
mov dword [ebp + 0x658], 0x61
call fcn.004075d0
add esp, 4
lea ecx, [ebp]
mov ebx, eax
call fcn.004073c0
mov esi, eax
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [ebp - 0x10], ecx
cmp ebx, eax
ja 0x43db15
lea eax, [ecx + ebx]
mov dword [esi + 0x10], eax
cmp edx, 8
jb 0x43dae6
mov esi, dword [esi]
push ebx
lea eax, [ebp + 0x63c]
push eax
lea eax, [esi + ecx*2]
push eax
call fcn.004077e0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], 0
push eax
mov eax, dword [ebp - 0x10]
add eax, ebx
lea eax, [esi + eax*2]
push eax
call fcn.004077d0
add esp, 0x14
jmp 0x43db2d
push ebx
lea eax, [ebp + 0x63c]
mov byte [ebp - 0x10], 0
push eax
push dword [ebp - 0x10]
lea ecx, [ebp]
push ebx
call fcn.00407c00
lea ecx, [ebp]
call fcn.004073c0
lea esi, [edi + 0x84]
cmp esi, eax
je 0x43db59
call fcn.004073c0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x43db4e
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
push edx
call fcn.00407470
mov ecx, edi
call fcn.0043dc60
mov byte [ebp - 4], 0
lea ecx, [ebp]
call fcn.00407180
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x65c]
xor ecx, ebp
call fcn.00477737
lea esp, [ebp + 0x660]
pop ebp
ret 0xc
call fcn.00477d91
int3