Function at 0x41fa90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b155d
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x4e5728]
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
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00472f00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, 3
lea eax, [ebp - 0x218]
dec esi
push eax
call edi
test esi, esi
jg 0x41faf3
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fb27
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004083b0
push 0xa
push str._netul.dll
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00408120
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41fc8c
call fcn.0043c150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41fd8c
push 0x70
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcutils.cc
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], al
call fcn.004082b0
push 3
push 0x4baf68
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.004082b0
mov byte [ebp - 4], 2
call fcn.0043c150
mov edi, eax
lea ecx, [ebp - 0x2f8]
push 0x105
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00403c10
mov esi, eax
push str.dll_is_not_exist__dll_path:
push esi
mov byte [ebp - 4], 3
call fcn.00404ba0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov eax, 0x4baf6c
cmovae ecx, dword [ebp - 0x230]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.0040abe0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2f8]
call fcn.00404e00
lea ecx, [ebp - 0x248]
call fcn.00404580
lea ecx, [ebp - 0x260]
call fcn.00404580
xor bl, bl
jmp 0x41fd92
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.004566f0
add esp, 4
test eax, eax
jne 0x41fd90
call fcn.0043c150
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41fd8c
push 0x70
push str.d:jenkins.jenkinsworkspacepay_groupmulti_wechatmulti_wechat_clientclientclientmulti_wechat_srcutils.cc
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.004082b0
push 3
push 0x4baf68
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 4
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.004082b0
mov byte [ebp - 4], 5
call fcn.0043c150
mov edi, eax
lea ecx, [ebp - 0x2f8]
push 0x10a
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.00403c10
mov esi, eax
push str.InitNet_failed
push esi
mov byte [ebp - 4], 6
call fcn.00404ba0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x2f8]
call fcn.00404e00
lea ecx, [ebp - 0x260]
call fcn.00404580
lea ecx, [ebp - 0x248]
call fcn.00404580
xor bl, bl
jmp 0x41fd92
mov bl, 1
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41fdce
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fdc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fdec
push edx
push ecx
call fcn.004678ef
add esp, 8
mov al, bl
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.00467bb3
mov esp, ebp
pop ebp
ret
call fcn.00476379
int3