Function at 0x414330
Capabilities:
Check if file exists
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5572ce
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x5b627c]
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 dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x414469
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
mov dword [ebp - 0x244], edi
test edi, edi
jne 0x4144a8
call fcn.00474150
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x414469
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], 0xf
mov byte [ebp - 0x1ec], al
call fcn.0041c540
push 3
push 0x56bd98
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c4], edi
mov dword [ebp - 0x1c0], 0xf
mov byte [ebp - 0x1d4], 0
call fcn.0041c540
mov byte [ebp - 4], 2
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0x40c]
push 0x14d
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.004066e0
mov esi, eax
push str.cefhelper.dll_module_is_nullptr
push esi
mov byte [ebp - 4], 3
call fcn.00407a90
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x40c]
call fcn.00407f30
lea ecx, [ebp - 0x1d4]
call fcn.004070a0
lea ecx, [ebp - 0x1ec]
call fcn.004070a0
xor edi, edi
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41448a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00465d1b
mov esp, ebp
pop ebp
ret
push str.StartEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
mov esi, esp
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x234], esi
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.0040c650
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x224]
push eax
call fcn.0045aa30
add esp, 8
cmp dword [ebp - 0x228], 0
mov byte [ebp - 4], 4
jne 0x41482f
call fcn.00474150
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4147fb
mov edx, 0x1113
mov eax, 0x1114
mov word [ebp - 0x144], dx
mov ecx, 0x1111
mov word [ebp - 0x142], ax
mov edi, 0x11ec
mov eax, 0x1110
mov esi, 0x11e0
mov word [ebp - 0x140], ax
mov ebx, 0xf
mov word [ebp - 0x13e], cx
mov eax, 0x1118
mov word [ebp - 0x13c], ax
mov eax, 0x1115
mov word [ebp - 0x13a], ax
mov eax, 0x1100
mov word [ebp - 0x138], ax
mov eax, 0x110c
mov word [ebp - 0x136], dx
mov edx, 0x11f1
mov word [ebp - 0x134], ax
mov eax, 0x1151
mov word [ebp - 0x132], ax
mov eax, 0x11e9
mov word [ebp - 0x130], cx
mov ecx, 0x11e1
mov word [ebp - 0x12e], cx
mov word [ebp - 0x12c], ax
mov eax, 0x11aa
mov word [ebp - 0x12a], ax
mov eax, 0x11d1
mov word [ebp - 0x128], ax
mov eax, 0x11f0
mov word [ebp - 0x126], ax
mov eax, 0x11f2
mov word [ebp - 0x124], cx
mov ecx, 0x11f3
mov word [ebp - 0x122], cx
mov word [ebp - 0x120], ax
mov eax, 0x11cc
mov word [ebp - 0x11e], ax
mov eax, 0x11f5
mov word [ebp - 0x11c], ax
mov eax, 0x11a9
mov word [ebp - 0x11a], ax
mov eax, 0x11e6
mov word [ebp - 0x118], ax
mov eax, 0x11fa
mov word [ebp - 0x116], cx
mov ecx, 0x11f4
mov word [ebp - 0x114], si
mov word [ebp - 0x112], di
mov word [ebp - 0x110], dx
mov word [ebp - 0x10e], cx
mov word [ebp - 0x10c], ax
mov eax, 0x11b2
mov word [ebp - 0x10a], cx
mov word [ebp - 0x108], ax
mov eax, 0x11fd
mov word [ebp - 0x106], ax
mov eax, 0x11e3
mov word [ebp - 0x104], ax
mov eax, 0x11b1
mov word [ebp - 0x102], ax
mov eax, 0x11f8
mov word [ebp - 0x100], ax
mov eax, 0x11f5
mov word [ebp - 0xfe], di
mov word [ebp - 0xfc], dx
mov word [ebp - 0xfa], ax
mov eax, 0x11e2
mov word [ebp - 0xf8], si
mov word [ebp - 0xf6], ax
mov eax, 0x119f
mov word [ebp - 0xf4], di
xor edi, edi
mov word [ebp - 0xf2], ax
mov ax, word [ebp - 0x144]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x144]
mov ecx, edi
and ecx, ebx
movzx esi, ax
cmp ecx, ebx
mov eax, 0xab341175
mov edx, 0x184da13
cmovae ecx, ebx
shl ecx, 2
call fcn.00466140
mov cx, ax
lea eax, [edi + 0x1175]
and cx, bx
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x144], cx
inc edi
cmp edi, 0x2a
jb 0x4146f0
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], ebx
mov byte [ebp - 0x21c], 0
call fcn.0041c540
push 3
push 0x56bd98
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x1f0], 0xf
mov byte [ebp - 0x204], 0
call fcn.0041c540
mov byte [ebp - 4], 6
call fcn.00474150
mov edi, eax
lea ecx, [ebp - 0x4a4]
push 0x155
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.004066e0
mov esi, eax
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 7
push eax
push esi
call fcn.00405390
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x4a4]
call fcn.00407f30
lea ecx, [ebp - 0x204]
call fcn.004070a0
lea ecx, [ebp - 0x21c]
call fcn.004070a0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41481c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41446b
push str.SetProductInfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 0x240], edi
push eax
call fcn.0040c650
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x23c], esi
cmp dword [esi - 4], 1
mov byte [ebp - 4], 8
jle 0x41487c
push dword [esi - 0xc]
lea ecx, [ebp - 0x23c]
call fcn.004125e0
mov esi, dword [ebp - 0x23c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.005145fc
add esp, 8
test eax, eax
js 0x414f45
cmp eax, dword [esi - 8]
jg 0x414f45
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x224]
push str.7z.dll
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00407e40
add esp, 0xc
mov byte [ebp - 4], 9
test edi, edi
je 0x414ed1
lea eax, [ebp - 0x238]
push eax
call fcn.00422620
mov ecx, eax
call fcn.004225f0
mov ecx, dword [eax]
mov byte [ebp - 4], 0xa
call fcn.00433910
mov edi, dword [ebp - 0x234]
mov cl, al
mov byte [ebp - 0x21d], cl
mov byte [ebp - 4], 9
test edi, edi
je 0x414929
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x414929
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x414923
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov cl, byte [ebp - 0x21d]
test cl, cl
je 0x414bef
call fcn.00474150
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x414bc4
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], al
call fcn.0041c540
push 3
push 0x56bd98
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
call fcn.0041c540
mov byte [ebp - 4], 0xc
call fcn.00474150
push 1
push 2
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x234], eax
call fcn.00406300
push 0xffffffffffffffff
push 0x56ba98
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0xd
call fcn.0041d800
push 0xffffffffffffffff
push 0x56ba9c
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x230], eax
call fcn.0041d800
push 0x64
mov edi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050fe00
add esp, 0xc
cmp edi, 0xffffffff
je 0x414ab1
mov ecx, dword [ebp - 0x230]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x414ab1
mov eax, dword [ebp - 0x164]
lea edx, [ecx + 1]
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0xf
mov byte [ebp - 0x1a4], 0
cmp eax, edx
jb 0x414f4f
sub edi, ecx
sub eax, edx
lea ecx, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x160], 0x10
lea eax, [ebp - 0x174]
cmovae eax, dword [ebp - 0x174]
push ecx
add eax, edx
lea ecx, [ebp - 0x1a4]
push eax
call fcn.0041c540
cmp dword [ebp - 0x190], 0x10
lea eax, [ebp - 0x1a4]
cmovae eax, dword [ebp - 0x1a4]
push eax
push 0x162
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00405da0
add esp, 0x10
lea ecx, [ebp - 0x1a4]
call fcn.004070a0
jmp 0x414ac7
push 0x162
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00405da0
add esp, 0xc
cmp dword [ebp - 0x148], 0x10
lea eax, [ebp - 0x15c]
cmovae eax, dword [ebp - 0x15c]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00407a90
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.00407a90
lea eax, [ebp - 0x2dc]
mov byte [ebp - 4], 0xe
push str.Unzip_new_kernel
push eax
call fcn.00407a90
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x2dc]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2dc]
call fcn.00407f30
mov edx, dword [ebp - 0x148]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x414b6b
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414b61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f54
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x414bc4
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414bba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f59
push edx
push ecx
call fcn.00465e7d
add esp, 8
push dword [ebp - 0x22c]
push esi
push 0x56b084
call dword [ebp - 0x240]
push dword [0x5b60b4]
push dword [ebp - 0x224]
call dword [ebp - 0x228]
mov edi, eax
jmp 0x414ed3
call fcn.00474150
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x414ea9
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], al
call fcn.0041c540
push 3
push 0x56bd98
lea ecx, [ebp - 0x18c]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
call fcn.0041c540
mov byte [ebp - 4], 0x10
call fcn.00474150
push 1
push 2
lea ecx, [ebp - 0x374]
mov dword [ebp - 0x230], eax
call fcn.00406300
push 0xffffffffffffffff
push 0x56ba98
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x11
call fcn.0041d800
push 0xffffffffffffffff
push 0x56ba9c
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x234], eax
call fcn.0041d800
push 0x64
mov edi, eax
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.0050fe00
add esp, 0xc
cmp edi, 0xffffffff
je 0x414d75
mov ecx, dword [ebp - 0x234]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x414d75
mov eax, dword [ebp - 0xe0]
lea edx, [ecx + 1]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0xf
mov byte [ebp - 0x1bc], 0
cmp eax, edx
jb 0x414f5e
sub edi, ecx
sub eax, edx
lea ecx, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xdc], 0x10
lea eax, [ebp - 0xf0]
cmovae eax, dword [ebp - 0xf0]
push ecx
add eax, edx
lea ecx, [ebp - 0x1bc]
push eax
call fcn.0041c540
cmp dword [ebp - 0x1a8], 0x10
lea eax, [ebp - 0x1bc]
cmovae eax, dword [ebp - 0x1bc]
push eax
push 0x166
lea eax, [ebp - 0xd8]
push str.__4d___s_
push eax
call fcn.00405da0
add esp, 0x10
lea ecx, [ebp - 0x1bc]
call fcn.004070a0
jmp 0x414d8e
push 0x166
lea eax, [ebp - 0xd8]
push str.__4d_
push eax
call fcn.00405da0
add esp, 0xc
cmp dword [ebp - 0x178], 0x10
lea eax, [ebp - 0x18c]
cmovae eax, dword [ebp - 0x18c]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.00407a90
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x374]
push eax
call fcn.00407a90
lea eax, [ebp - 0x374]
mov byte [ebp - 4], 0x12
push str.Unzip_old_kernel
push eax
call fcn.00407a90
mov ecx, dword [ebp - 0x230]
lea edx, [ebp - 0x374]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x374]
call fcn.00407f30
mov edx, dword [ebp - 0x178]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x414e35
mov ecx, dword [ebp - 0x18c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414e2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f63
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0xf
mov byte [ebp - 0x18c], 0
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x414e8e
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414e84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414f68
push edx
push ecx
call fcn.00465e7d
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
push dword [ebp - 0x22c]
push esi
push str.wdgame
call dword [ebp - 0x240]
push dword [0x5b605c]
push dword [ebp - 0x224]
call dword [ebp - 0x228]
mov edi, eax
jmp 0x414ed3
xor edi, edi
mov edx, dword [ebp - 0x22c]
mov eax, ebx
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414ef4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414f0f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x224]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41481e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x41446b
push 0x80070057
call fcn.0040c140
call fcn.0041bff0
call fcn.005143e9
call fcn.005143e9
call fcn.0041bff0
call fcn.005143e9
call fcn.005143e9
int3