Function at 0x403720
Capabilities:
Check if file exists
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x48f30b
mov eax, dword fs:[0]
push eax
sub esp, 0xc30
mov eax, dword [0x4b99e4]
xor eax, esp
mov dword [esp + 0xc2c], eax
push ebx
push esi
push edi
mov eax, dword [0x4b99e4]
xor eax, esp
push eax
lea eax, [esp + 0xc40]
mov dword fs:[0], eax
push str.BrowserSupportMoudle.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x4039b7
push 0x7fe
push eax
lea ecx, [esp + 0x446]
push ecx
mov word [esp + 0x448], ax
call fcn.0044c250
add esp, 0xc
lea edx, [esp + 0x43c]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x23e]
push ecx
mov word [esp + 0x240], ax
call fcn.0044c250
push 0x208
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.0044c250
add esp, 0x18
push 0x104
lea eax, [esp + 0x30]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.....Program_
lea ecx, [esp + 0x30]
push ecx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.BrowserSupportMoudle.dll
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x23c]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x234]
push ecx
call ebx
lea edx, [esp + 0x2c]
test eax, eax
je 0x40384f
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edx
call esi
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0x43c]
push ecx
mov edi, eax
call esi
mov eax, edi
jmp 0x4039b7
push 0x208
push 0
push edx
call fcn.0044c250
push 0x208
lea eax, [esp + 0x244]
push 0
push eax
call fcn.0044c250
add esp, 0x18
push 0x497b54
lea ecx, [esp + 0x14]
call fcn.00403330
lea ecx, [esp + 0x10]
push ecx
push str.Path
push str.SOFTWAREThunder_NetworkThunderOem_thunder_backwnd
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc58], 0
call fcn.00403660
add esp, 0x10
push 0x497ad4
lea edx, [esp + 0x30]
push edx
call esi
push str.BrowserSupportMoudle.dll
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x23c]
push ecx
call edi
lea edx, [esp + 0x234]
push edx
call ebx
test eax, eax
lea eax, [esp + 0x2c]
je 0x40390d
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call esi
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea edx, [esp + 0x43c]
push edx
mov edi, eax
call esi
lea ecx, [esp + 0x10]
call fcn.004022e0
mov eax, edi
jmp 0x4039b7
push 0x208
push 0
push eax
call fcn.0044c250
push 0x208
lea ecx, [esp + 0x244]
push 0
push ecx
call fcn.0044c250
lea edx, [esp + 0x28]
push edx
push str.Path
push str.SoftwareThunder_NetworkThunder
push SysReAllocString
call fcn.00403660
add esp, 0x28
push 0x497ad4
lea eax, [esp + 0x30]
push eax
call esi
push str.BrowserSupportMoudle.dll
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x23c]
push edx
call edi
lea eax, [esp + 0x234]
push eax
call ebx
test eax, eax
je 0x4039ac
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x2c]
push ecx
call esi
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
lea eax, [esp + 0x43c]
push eax
call esi
lea ecx, [esp + 0x10]
call fcn.004022e0
mov eax, edi
jmp 0x4039b7
lea ecx, [esp + 0x10]
call fcn.004022e0
xor eax, eax
mov ecx, dword [esp + 0xc40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc2c]
xor ecx, esp
call fcn.0044c23d
add esp, 0xc3c
ret