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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5636f2
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5c324c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x68], 0
push eax
call fcn.00425500
mov ecx, eax
call fcn.004254d0
mov dword [ebp - 4], 0
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x41083c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00439210
test al, al
mov eax, dword [ebp - 0x64]
je 0x410245
add eax, 0x3c
push str.cef69
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004084c0
add esp, 0xc
mov byte [ebp - 4], 2
jmp 0x41025e
add eax, 0x3c
push str.cef
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004084c0
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x5c]
call fcn.00407d40
mov edx, dword [ebp - 0x48]
or edi, 0xffffffff
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410288
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x64]
call fcn.004391d0
mov esi, dword [ebp - 0x5c]
test al, al
je 0x410404
push dword [0x5c307c]
mov eax, dword [ebp - 0x64]
add eax, 0x44
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004084c0
push dword [0x5c307c]
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004084c0
add esp, 0x18
push dword [eax]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x58]
mov ecx, edi
mov dword [ebp - 0x48], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4102f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4103e6
call fcn.00480fd0
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4103bc
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041cb60
push 3
push 0x577c8c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041cb60
mov byte [ebp - 4], 6
call fcn.00480fd0
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x100]
push 0x5b5
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406db0
mov edi, eax
push str.ExtractPepflashplayer_Packall_Move_PepFalsh_Success
push edi
mov byte [ebp - 4], 7
call fcn.00408110
mov eax, dword [ebp - 0x58]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.0040ac30
lea ecx, [ebp - 0x28]
call fcn.00407770
lea ecx, [ebp - 0x40]
call fcn.00407770
or edi, 0xffffffff
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4103da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x48], 1
jmp 0x4107de
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410404
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [0x5c308c]
mov eax, dword [ebp - 0x64]
add eax, 0x44
mov dword [ebp - 0x48], 0
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004084c0
add esp, 0xc
mov edi, dword [0x5ca968]
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x4104a0
push 0x5c30c0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x5ca968], edi
jne 0x41048c
push 0x1c
call fcn.00472c8f
add esp, 4
mov dword [ebp - 0x50], eax
test eax, eax
je 0x41047d
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
jmp 0x41047f
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x50]
lock or dword [ecx], edx
mov dword [0x5ca968], eax
push 0x5c30c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x5ca968]
mov dword [ebp - 0x44], edi
push dword [ebp - 0x54]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410702
push dword [ebp - 0x54]
call fcn.0047cd10
add esp, 4
test eax, eax
je 0x410702
cmp dword [edi], 0
jne 0x410534
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x41054d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call edi
mov ecx, dword [ebp - 0x44]
push str.HttpUninit
push dword [ecx]
mov dword [ecx + 4], eax
call edi
mov ecx, dword [ebp - 0x44]
push str.zlib_uncompress
push dword [ecx]
mov dword [ecx + 8], eax
call edi
mov ecx, dword [ebp - 0x44]
push str.zlib_compress
push dword [ecx]
mov dword [ecx + 0x10], eax
call edi
mov ecx, dword [ebp - 0x44]
push str.zlib_compressBound
push dword [ecx]
mov dword [ecx + 0x14], eax
call edi
mov edi, dword [ebp - 0x44]
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x410534
call eax
mov dword [edi + 0xc], eax
cmp dword [edi + 8], 0
je 0x41054d
cmp dword [edi + 4], 0
je 0x41054d
cmp dword [edi + 0xc], 0
je 0x41054d
mov eax, 1
jmp 0x41054f
xor eax, eax
test eax, eax
je 0x410702
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, dword [str.pepflashplayer.dll]
mov dword [ebp - 0x58], eax
mov ecx, dword [esi - 0x10]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x410586
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x41059e
call fcn.00415b90
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x410846
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x68], 2
mov dword [ebp - 0x44], eax
test edi, edi
jne 0x4105ba
xor ecx, ecx
jmp 0x4105cf
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4105c0
sub ecx, edx
sar ecx, 1
push ecx
push edi
push dword [esi - 0xc]
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0040e880
mov eax, dword [ebp - 0x64]
add eax, 0x94
push 2
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004638b0
push dword [ebp - 0x58]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
push 0x186a0
push 0
push ecx
push eax
call fcn.0041afe0
mov edx, dword [ebp - 0x50]
add esp, 0x34
test eax, eax
mov byte [ebp - 4], 0xc
sete byte [ebp - 0x49]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410634
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410652
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x49], 0
je 0x4106f6
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 0x4107c0
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.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], 0xe
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041cb60
mov byte [ebp - 4], 0xf
call fcn.00480fd0
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x100]
push 0x5c7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406db0
mov edi, eax
push str.SyncHttpDownloadFile_pepflash_fail_
push edi
mov byte [ebp - 4], 0x10
call fcn.00408110
mov eax, dword [ebp - 0x50]
jmp 0x410797
mov dword [ebp - 0x48], 1
jmp 0x4107c0
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 0x4107bd
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.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], 9
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041cb60
mov byte [ebp - 4], 0xa
call fcn.00480fd0
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x100]
push 0x5bf
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406db0
mov edi, eax
push str.InitNet_fail
push edi
mov byte [ebp - 4], 0xb
call fcn.00408110
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
add esp, 8
mov ecx, eax
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.0040ac30
lea ecx, [ebp - 0x40]
call fcn.00407770
lea ecx, [ebp - 0x28]
call fcn.00407770
or edi, 0xffffffff
mov edx, dword [ebp - 0x54]
mov eax, edi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4107de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4107f9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x41081e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x41081e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x41081e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472b5d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040e300
push 0x80004005
call fcn.0040e300
int3