Function at 0x432910
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5150d0
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x55d3e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 0x659]
mov dword [ebp - 0x664], edi
call fcn.004a2210
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [ebp - 0x659]
call fcn.004a22c0
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x587bb4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x433598
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x660]
push 0xc9
mov dword [ebp - 0x660], eax
call fcn.00410890
mov esi, dword [ebp - 0x660]
lea eax, [ebp - 0x218]
push esi
push eax
lea ecx, [ebp - 0x665]
call fcn.0042fd70
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4329e9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push dword [ebp + 8]
neg eax
mov ecx, 0x587878
push 0
sbb ebx, ebx
inc ebx
call fcn.0042f220
lea ecx, [ebp - 0x66c]
call fcn.004162f0
mov eax, dword [0x58732c]
test eax, eax
jne 0x432a43
push 0x10
call fcn.00475e4c
add esp, 4
test eax, eax
je 0x432a3c
mov ecx, eax
call fcn.00415c10
jmp 0x432a3e
xor eax, eax
mov dword [0x58732c], eax
mov ecx, eax
call fcn.00416030
push 1
call fcn.0041e380
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004bc5f0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.inst_downloaderinst_ui.log
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call fcn.00474a90
lea ecx, [ebp - 0x698]
call fcn.004084d0
push str.ThunderMissionDownloadingMutex
lea ecx, [ebp - 0x698]
call fcn.00408840
test eax, eax
jne 0x432b91
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433067
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xdb
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.00409f40
mov esi, eax
push str.Instance_exist__quit
push esi
call fcn.0040d7d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040ae60
lea ecx, [ebp - 0x640]
call fcn.0040a970
lea ecx, [ebp - 0x658]
call fcn.0040a970
xor edi, edi
jmp 0x4334d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bc5f0
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x104
push eax
push dword [0x587bb4]
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.00451ae0
add esp, 4
test eax, eax
jne 0x432c80
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433067
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xe1
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
mov esi, eax
push str.checkSign_fail...__quit
push esi
call fcn.0040d7d0
jmp 0x432e59
call fcn.0042f340
test eax, eax
jne 0x432d2d
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433067
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xe7
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
push str.Init_NetBridge_fail__quit
jmp 0x432e51
push edi
call fcn.0042a730
mov ecx, eax
call fcn.00434620
call fcn.00425f20
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test eax, eax
jne 0x432e8c
call fcn.0042a730
mov ecx, eax
call fcn.00436390
cmp dword [eax], 0
jne 0x432db6
lea ecx, [ebp - 0x660]
call fcn.00414400
push 0xcf
lea ecx, [ebp - 0x660]
call fcn.00410890
push 0x526c4c
push dword [ebp - 0x660]
call fcn.004e6962
xor ecx, ecx
add esp, 8
test eax, eax
sete cl
push ecx
call fcn.0041e3b0
push 0
push 0
push 0
push 0x526c54
push 0
call fcn.0041e3d0
lea ecx, [ebp - 0x660]
call fcn.0040e920
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433067
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0xf9
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
push str.Internet_connection_err___quit
mov esi, eax
push esi
call fcn.0040ada0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040ae60
lea ecx, [ebp - 0x658]
call fcn.0040a970
lea ecx, [ebp - 0x640]
call fcn.0040a970
xor edi, edi
jmp 0x4334d0
call fcn.00430950
call fcn.0042a730
mov ecx, eax
call fcn.004342b0
push eax
call fcn.00425f20
mov ecx, eax
call fcn.0044f1f0
push str.instonline
call fcn.00425f20
mov ecx, eax
call fcn.0044f200
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004bc5f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x587bb4]
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.00425f20
mov ecx, eax
call fcn.0044f170
call fcn.0042a730
mov ecx, eax
call fcn.00436420
push dword [eax]
call fcn.0041e3b0
sub esp, 0x28
mov eax, esp
push 0
push 0
push 0x526ca0
mov dword [eax + 0x24], 0
call fcn.00425f20
mov ecx, eax
call fcn.0044ed10
call fcn.0042a730
mov ecx, eax
call fcn.00436420
cmp dword [eax], 0
je 0x43306e
sub esp, 0x18
mov ecx, esp
push 3
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x526ca8
mov byte [ecx], 0
call fcn.0040c270
call fcn.00425f20
mov ecx, eax
call fcn.0044d600
test eax, eax
jne 0x43306e
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433046
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x10b
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
mov esi, eax
push str.dogsun_avoid__return
push esi
call fcn.0040ada0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040ae60
lea ecx, [ebp - 0x658]
call fcn.0040a970
lea ecx, [ebp - 0x640]
call fcn.0040a970
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.ds_limit
mov dword [eax + 0x24], 0
call fcn.00425f20
mov ecx, eax
call fcn.0044ed10
xor edi, edi
jmp 0x4334d0
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433154
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x113
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
mov esi, eax
push str.cmdline__by_force_cmd__:
push esi
call fcn.0040d7d0
mov eax, dword [ebp - 0x664]
mov ecx, 0x524b90
test eax, eax
cmovne ecx, eax
push ecx
push esi
call fcn.0040d7d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040ae60
lea ecx, [ebp - 0x658]
call fcn.0040a970
lea ecx, [ebp - 0x640]
call fcn.0040a970
call fcn.0042a730
mov ecx, eax
call fcn.00436420
cmp dword [eax], 0
je 0x43317a
call fcn.0042a730
mov ecx, eax
call fcn.004363a0
cmp dword [eax], 0
je 0x43334f
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x433249
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x119
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
mov esi, eax
push str.Need_init_patch
push esi
call fcn.0040ada0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040ae60
lea ecx, [ebp - 0x658]
call fcn.0040a970
lea ecx, [ebp - 0x640]
call fcn.0040a970
call fcn.0042f770
mov dword [ebp - 0x660], eax
test eax, eax
jne 0x433273
sub esp, 0x28
mov ecx, esp
push eax
push eax
push str.run_patch_fail
mov dword [ecx + 0x24], eax
call fcn.00425f20
mov ecx, eax
call fcn.0044ed10
call fcn.00474650
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x43334f
push 0x40
push str.d:jenkins.jenkinsworkspacemaster_luinst_uiinst_uiinst.cpp
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], al
call fcn.0040c270
push 3
push 0x524880
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], 0
call fcn.0040c270
call fcn.00474650
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x11e
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.00409f40
mov esi, eax
push str.Run_patch_ret_:
push esi
call fcn.0040ada0
add esp, 8
mov ecx, esi
push dword [ebp - 0x660]
call fcn.0040ec60
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.0040ae60
lea ecx, [ebp - 0x658]
call fcn.0040a970
lea ecx, [ebp - 0x640]
call fcn.0040a970
call fcn.0042a730
mov ecx, eax
call fcn.004363b0
cmp dword [eax], 0
je 0x433381
sub esp, 0x28
mov eax, esp
push 0
push 0
push str.has_installed
mov dword [eax + 0x24], 0
call fcn.00425f20
mov ecx, eax
call fcn.0044ed10
push dword [ebp + 0x14]
push dword [ebp - 0x664]
call fcn.00431970
add esp, 8
mov dword [ebp - 0x664], eax
call fcn.0042ef10
mov edi, dword [0x587774]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5878b0]
test esi, esi
je 0x4333ff
cmp dword [esi + 4], 0
jle 0x4333cd
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x5878b0]
test esi, esi
je 0x4333ff
mov eax, dword [esi]
test eax, eax
je 0x4333e6
push eax
call fcn.004e6ad7
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004759bb
add esp, 8
push edi
mov dword [0x5878b0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x5878ac]
test esi, esi
je 0x433458
mov eax, dword [esi]
test eax, eax
je 0x43342f
push eax
call fcn.004e6ad7
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x433446
push eax
call fcn.004e6ad7
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004759bb
add esp, 8
mov esi, dword [0x5878a4]
test esi, esi
je 0x43348a
cmp dword [esi], 0
je 0x43348a
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x433474
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x433467
mov esi, dword [0x55cff0]
mov ecx, dword [0x55cff4]
cmp esi, ecx
jae 0x4334ba
nop word [eax + eax]
mov eax, dword [esi]
test eax, eax
je 0x4334b3
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x55cff4]
add esi, 4
cmp esi, ecx
jb 0x4334a0
mov ecx, 0x587878
call fcn.00431ec0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edi, dword [ebp - 0x664]
lea ecx, [ebp - 0x698]
call fcn.00408570
lea ecx, [ebp - 0x66c]
call fcn.00416330
test ebx, ebx
je 0x4334f0
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x104
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push eax
push dword [0x587bb4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x4335a2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x664]
push 0xc9
mov dword [ebp - 0x664], eax
call fcn.00410890
mov esi, dword [ebp - 0x664]
lea eax, [ebp - 0x628]
push esi
push eax
lea ecx, [ebp - 0x665]
call fcn.00430070
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43356d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x659]
call fcn.004a2290
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 - 0x10]
xor ecx, ebp
call fcn.00475dd9
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00407af0
push 0x80004005
call fcn.00407af0
int3