Function at 0x42dc20
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5664d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1cc
mov eax, dword [0x5c324c]
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 ebx, ecx
mov dword [ebp - 0x11c], 0
call fcn.0040d850
mov edx, dword [0x5cbcec]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dc80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
mov eax, 1
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 4], 0
call fcn.0050d900
test eax, eax
je 0x42dd5e
mov edx, dword [0x5cbd10]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42dce4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cc50
mov dword [ebp - 4], 1
mov dword [ebp - 0x11c], 3
call fcn.00425500
mov esi, dword [eax + 0x28]
test esi, esi
je 0x42dd21
lock inc dword [esi + 4]
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], esi
mov eax, 7
mov dword [ebp - 4], 2
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0050d900
test eax, eax
je 0x42dd64
mov byte [ebp - 0x109], 0
jmp 0x42dd6b
mov esi, dword [ebp - 0x110]
mov byte [ebp - 0x109], 1
mov ecx, dword [ebp - 0x118]
or edi, 0xffffffff
test cl, 4
je 0x42ddab
and ecx, 0xfffffffb
mov dword [ebp - 0x118], ecx
test esi, esi
je 0x42ddab
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42ddab
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x42dda5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x118]
test cl, 2
je 0x42ddc7
and ecx, 0xfffffffd
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x28]
call fcn.004077c0
mov ecx, dword [ebp - 0x118]
and ecx, 0xfffffffe
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x118], ecx
lea ecx, [ebp - 0x40]
call fcn.004077c0
cmp byte [ebp - 0x109], 0
je 0x42ddf2
call fcn.0040b210
call fcn.0040c4d0
call fcn.0040c2c0
mov edx, dword [0x5cbd00]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42de16
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cc50
mov dword [ebp - 4], 3
call fcn.00425500
mov esi, dword [eax + 0x28]
test esi, esi
je 0x42de49
lock inc dword [esi + 4]
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
call fcn.0050d900
test eax, eax
sete byte [ebp - 0x109]
test esi, esi
je 0x42de91
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42de91
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x42de91
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42ded2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42dec8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5bf
push edx
push ecx
call fcn.00472cbf
add esp, 8
cmp byte [ebp - 0x109], 0
je 0x42dee0
call fcn.0040dc40
call fcn.00413ec0
mov edx, dword [0x5cbcec]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42df04
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041cc50
mov ecx, dword [ebx + 0x24]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 5
call fcn.0050d900
mov edx, dword [ebp - 0x14]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x42df73
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42df69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42e5c4
push edx
push ecx
call fcn.00472cbf
add esp, 8
test esi, esi
jne 0x42e5a3
lea eax, [ebp - 0x110]
push eax
call fcn.00463670
mov ecx, dword [ebx + 0x1c]
add ecx, 0x28
push ecx
push eax
call fcn.00421310
mov edx, dword [ebp - 0x110]
add esp, 0xc
mov byte [ebp - 0x109], al
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42dfc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [ebp - 0x109]
test al, al
je 0x42e024
call fcn.00425500
mov eax, dword [eax + 0x2c]
sub eax, 0x10
push eax
call fcn.0040e810
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x110], esi
mov eax, dword [ebx + 0x1c]
push 5
push 0
push esi
push dword [eax + 0x28]
mov dword [ebp - 4], 6
push 0x577d0c
push 0
call fcn.0041f720
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42e5a3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42e5a3
push 0x5778f8
lea ecx, [ebp - 0x110]
call fcn.00406970
push 0x5778f8
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 7
call fcn.00406970
push str.main_show
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 8
call fcn.00406970
mov byte [ebp - 4], 9
call fcn.0045e480
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x120]
mov edx, dword [eax]
push ecx
push 1
lea ecx, [ebp - 0x124]
push ecx
mov ecx, eax
call dword [edx]
mov edx, dword [ebp - 0x124]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e0a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x120]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e0c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x110]
mov eax, edi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e0eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42e2ac
push dword [0x5c3108]
add eax, 0x44
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004084c0
add esp, 0xc
mov dword [ebp - 4], 0xa
call fcn.00415a60
push dword [ebp - 0x11c]
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42e1ce
push dword [ebp - 0x11c]
call fcn.0047cd10
add esp, 4
test eax, eax
je 0x42e1ce
cmp dword [edi], 0
jne 0x42e1ab
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x42e1c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42e1ab
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x42e1c4
cmp dword [edi + 4], 0
je 0x42e1c4
cmp dword [edi + 0xc], 0
je 0x42e1c4
mov eax, 1
jmp 0x42e1c6
xor eax, eax
test eax, eax
jne 0x42e285
call fcn.00480fd0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42e285
push 0x61
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_control.cc
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041cb60
push 3
push 0x577d18
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041cb60
mov byte [ebp - 4], 0xc
call fcn.00480fd0
mov edi, eax
lea ecx, [ebp - 0x1d8]
push 0x338
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406db0
mov esi, eax
push str.InitNet_fail
push esi
mov byte [ebp - 4], 0xd
call fcn.00408110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1d8]
call fcn.0040ac30
lea ecx, [ebp - 0x40]
call fcn.00407770
lea ecx, [ebp - 0x28]
call fcn.00407770
mov edx, dword [ebp - 0x11c]
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e2ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0x108]
call fcn.004ed320
push 0x5c3110
lea ecx, [ebp - 0x140]
mov dword [ebp - 4], 0xe
call fcn.004ed860
push ecx
push esp
mov byte [ebp - 4], 0xf
call fcn.005034d0
add esp, 4
lea ecx, [ebp - 0x110]
call fcn.00420a90
mov eax, dword [ebp - 0x110]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x120], eax
test eax, eax
je 0x42e30b
lea ecx, [eax + 4]
call fcn.004f2620
mov eax, dword [ebp - 0x120]
mov esi, dword [ebx + 0x5c]
mov dword [ebx + 0x5c], eax
test esi, esi
je 0x42e334
lea ecx, [esi + 4]
call fcn.004fcf90
test al, al
je 0x42e334
lea eax, [esi + 4]
xor ecx, ecx
test eax, eax
cmove esi, ecx
push esi
call fcn.004f52d0
add esp, 4
mov esi, dword [ebp - 0x110]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x42e361
lea ecx, [esi + 4]
call fcn.004fcf90
test al, al
je 0x42e361
lea eax, [esi + 4]
xor ecx, ecx
test eax, eax
cmove esi, ecx
push esi
call fcn.004f52d0
add esp, 4
mov eax, dword [ebx + 0x1c]
mov byte [ebp - 4], 0xf
mov eax, dword [eax + 0x48]
sub eax, 0x10
push eax
call fcn.0040e810
lea esi, [eax + 0x10]
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0x12
push eax
call fcn.004631d0
push dword [eax]
mov byte [ebp - 4], 0x13
push str.LastRunTime
push esi
push SysReAllocStringLen
call fcn.004687c0
mov edx, dword [ebp - 0x110]
add esp, 0x18
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e3c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, ebx
call fcn.00424440
push 0xe
xor eax, eax
mov dword [ebp - 0x48], 0
push str.install_launch
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.0041cc50
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebx + 0x24]
or eax, 8
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x14
call fcn.0050d900
test eax, eax
je 0x42e42a
mov eax, dword [ebx + 0x1c]
mov byte [ebp - 0x109], 1
mov eax, dword [eax + 0x80]
cmp dword [eax - 0xc], 0
jne 0x42e431
mov byte [ebp - 0x109], 0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0x12
call fcn.004077c0
cmp byte [ebp - 0x109], 0
je 0x42e4a3
mov eax, dword [ebx + 0x1c]
push 0x57d0cc
push 0x408
mov dword [ebp - 0x110], eax
call fcn.00472fb3
add esp, 8
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x42e47d
mov ecx, eax
call fcn.0044ad90
mov ecx, eax
jmp 0x42e47f
xor ecx, ecx
mov byte [ebp - 4], 0x12
mov dword [ebx + 0x44], ecx
test ecx, ecx
je 0x42e4a3
mov edx, dword [ebp - 0x110]
lea eax, [edx + 0x84]
push eax
lea eax, [edx + 0x80]
push eax
call fcn.0044bb50
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [eax + 0x68]
cmp dword [eax - 0xc], 0
jl 0x42e4d7
push str.wan.ludashi
push eax
call fcn.0051d0d2
add esp, 8
test eax, eax
je 0x42e4d7
mov ecx, dword [ebp - 0x110]
sub eax, dword [ecx + 0x68]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42e53f
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [eax + 0x68]
cmp dword [eax - 0xc], 0
jl 0x42e50b
push str.yxtg.taojike
push eax
call fcn.0051d0d2
add esp, 8
test eax, eax
je 0x42e50b
mov ecx, dword [ebp - 0x110]
sub eax, dword [ecx + 0x68]
sar eax, 1
cmp eax, 0xffffffff
jne 0x42e53f
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x110], eax
mov eax, dword [eax + 0x68]
cmp dword [eax - 0xc], 0
jl 0x42e551
push str.fishwan
push eax
call fcn.0051d0d2
add esp, 8
test eax, eax
je 0x42e551
mov ecx, dword [ebp - 0x110]
sub eax, dword [ecx + 0x68]
sar eax, 1
cmp eax, 0xffffffff
je 0x42e551
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x42e569
push 0
call fcn.00443850
push 0
jmp 0x42e561
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x42e569
push 1
call fcn.00443850
push 1
mov ecx, dword [ebx + 0x48]
call fcn.00443990
lea ecx, [ebp - 0x140]
call fcn.004fd9c0
mov byte [ebp - 4], 0xf
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x42e58d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x140]
call fcn.004f0160
lea ecx, [ebp - 0x108]
call fcn.004efc90
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.00472b5d
mov esp, ebp
pop ebp
ret
call fcn.005213e9
call fcn.005213e9
int3