Function at 0x4512b0
Capabilities:
Delete file
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563a2c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp dword [edi + 0x5c], 8
lea eax, [edi + 0x48]
mov dword [ebp - 0x1a4], edi
mov byte [ebp - 0x195], 0
jb 0x4512f8
mov eax, dword [eax]
push eax
call fcn.00474c20
test eax, eax
je 0x451f5a
cmp dword [edi + 0x74], 8
lea ecx, [edi + 0x60]
jb 0x451312
mov ecx, dword [edi + 0x60]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x45131c
mov eax, dword [edi]
push 0
push ecx
push eax
call fcn.00475110
test eax, eax
jns 0x45140d
call fcn.0047a580
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x451f5a
push 0x5d
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxpush_jkw.cc
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], 0xf
mov byte [ebp - 0x190], al
call fcn.004211a0
push 3
push 0x572a44
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0xf
mov byte [ebp - 0x178], 0
call fcn.004211a0
mov byte [ebp - 4], 1
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0x23c]
push 0x7d
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0040b1c0
mov esi, eax
push str.DownloadAndUnzipResZip__TrayUnzip7zFile__un_zip_failed_path:
push esi
mov byte [ebp - 4], 2
call fcn.0040c570
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x23c]
call fcn.0040cbc0
lea ecx, [ebp - 0x178]
call fcn.0040bb80
lea ecx, [ebp - 0x190]
call fcn.0040bb80
jmp 0x451f5a
cmp dword [edi + 0x74], 8
lea edx, [edi + 0x60]
jb 0x451419
mov edx, dword [edi + 0x60]
mov ecx, edx
mov dword [ebp - 0xc0], 0
xor eax, eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451440
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.00421290
push 1
push 0x573c2c
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 3
call fcn.00432890
mov eax, dword [str.YxhGamebox.exe]
mov ecx, 0x2425
xor eax, 0x2420
mov word [ebp - 0xa8], ax
mov eax, 0x2420
xor ax, word [0x573b22]
mov word [ebp - 0xa6], ax
mov eax, dword [0x573b24]
xor eax, 0x2427
mov word [ebp - 0xa4], ax
mov eax, 0x2426
xor ax, word [0x573b26]
mov word [ebp - 0xa2], ax
mov eax, dword [0x573b28]
xor eax, 0x2422
mov word [ebp - 0xa0], ax
mov eax, 0x2429
xor ax, word [0x573b2a]
mov word [ebp - 0x9e], ax
mov eax, dword [0x573b2c]
xor eax, 0x2428
mov word [ebp - 0x9c], ax
mov eax, ecx
xor ax, word [0x573b2e]
mov word [ebp - 0x9a], ax
mov eax, dword [0x573b30]
xor cx, word [0x573b36]
xor eax, 0x2429
mov word [ebp - 0x98], ax
mov eax, 0x242d
xor ax, word [0x573b32]
mov word [ebp - 0x96], ax
mov eax, dword [0x573b34]
xor eax, 0x242a
mov word [ebp - 0x94], ax
mov eax, dword [0x573b38]
xor eax, 0x2423
mov word [ebp - 0x92], cx
mov word [ebp - 0x90], ax
mov eax, 0x2423
xor ax, word [0x573b3a]
mov word [ebp - 0x8e], ax
mov eax, 0x242a
xor ax, word [0x573b3c]
xor edi, edi
mov word [ebp - 0x8c], ax
mov ax, word [ebp - 0xa8]
lea edx, [edi + 0xf]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0xa8]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xdff72421
cmovae ecx, edx
mov edx, 0xf5de9170
shl ecx, 2
call fcn.0046c590
mov cx, ax
mov edx, 0xf
and cx, 0xf
lea eax, [edi + 0x2421]
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0xa8], cx
inc edi
cmp edi, 0xf
jb 0x451590
lea ecx, [ebp - 0xa8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4515e7
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00432890
lea eax, [ebp - 0xb8]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x451f90
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x1a0], eax
movzx eax, word [ebp - 0xac]
push eax
movzx eax, word [ebp - 0xae]
push eax
movzx eax, word [ebp - 0xb0]
push eax
movzx eax, word [ebp - 0xb2]
push eax
movzx eax, word [ebp - 0xb6]
push eax
movzx eax, word [ebp - 0xb8]
push eax
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 4
push 0x576f40
push eax
call fcn.00417390
mov eax, dword [ebp - 0x1a0]
mov ecx, 0xd286
add esp, 0x20
xor edi, edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x194], eax
mov eax, 0xd2a9
mov word [ebp - 0x88], ax
mov eax, 0xd296
mov word [ebp - 0x86], cx
mov word [ebp - 0x84], ax
mov eax, 0xd291
mov word [ebp - 0x82], ax
mov eax, 0xd28a
mov word [ebp - 0x80], cx
mov ecx, 0xd289
mov word [ebp - 0x7e], cx
mov word [ebp - 0x7c], ax
mov eax, 0xd2a2
mov word [ebp - 0x7a], ax
mov eax, 0xd29c
mov word [ebp - 0x78], cx
mov word [ebp - 0x76], ax
mov eax, 0xd281
mov word [ebp - 0x74], ax
mov eax, 0xd2fc
mov word [ebp - 0x72], ax
mov ax, word [ebp - 0x88]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x88]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xa160cb65
cmovae ecx, eax
mov eax, 0xadfed2e5
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi - 0x2d1b]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x88], cx
inc edi
cmp edi, 0xc
jb 0x451710
mov eax, dword [ebp - 0x194]
add eax, eax
push eax
push dword [ebp - 0x1a0]
lea eax, [ebp - 0x88]
push 1
push eax
push str.SoftwareYxhGamebox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 6
xor eax, eax
mov dword [ebp - 0x120], 0
push str.normal
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
call fcn.00421290
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x130]
xor edi, edi
mov dword [ebp - 0x194], eax
mov eax, 0xa231
mov word [ebp - 0x2c], ax
mov eax, 0xa209
mov word [ebp - 0x2a], ax
mov eax, 0xa20d
mov word [ebp - 0x28], ax
mov eax, 0xa2de
mov word [ebp - 0x26], ax
mov eax, 0xa2fd
mov word [ebp - 0x24], ax
mov eax, 0xa2f8
mov word [ebp - 0x22], ax
mov eax, 0xa2ef
mov word [ebp - 0x20], ax
mov eax, 0xa28a
mov word [ebp - 0x1e], ax
mov ax, word [ebp - 0x2c]
mov ax, word [ebp + edi*2 - 0x2c]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x4ebd0c92
cmovae ecx, eax
mov eax, 0xe9a5a27d
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi - 0x5d83]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x2c], cx
inc edi
cmp edi, 8
jb 0x451821
mov eax, dword [ebp - 0x120]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add eax, eax
push eax
push dword [ebp - 0x194]
lea eax, [ebp - 0x2c]
push 1
push eax
push str.SoftwareYxhGamebox
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [ebp - 0xbc], 8
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0xc0]
cmovae ecx, dword [ebp - 0xd0]
add eax, eax
push eax
push ecx
push 1
push 0
push str.SoftwareYxhGamebox
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [ebp - 0x1a4]
cmp dword [ecx + 0x74], 8
mov eax, dword [ecx + 0x70]
mov dword [ebp - 0x19c], eax
lea eax, [ecx + 0x60]
mov dword [ebp - 0x194], eax
jb 0x4518e4
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
mov eax, 0x4b63
xor edi, edi
mov word [ebp - 0x70], ax
mov eax, 0x4b5c
mov word [ebp - 0x6e], ax
mov eax, 0x4b44
mov word [ebp - 0x6c], ax
mov eax, 0x4b4d
mov word [ebp - 0x6a], ax
mov word [ebp - 0x68], ax
mov eax, 0x4b15
mov word [ebp - 0x66], ax
mov eax, 0x4b6b
mov word [ebp - 0x64], ax
mov eax, 0x4b2f
mov word [ebp - 0x62], ax
mov eax, 0x4b36
mov word [ebp - 0x60], ax
mov eax, 0x4b21
mov word [ebp - 0x5e], ax
mov eax, 0x4b47
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x70]
nop dword [eax + eax]
mov ax, word [ebp + edi*2 - 0x70]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xf4744b3
cmovae ecx, eax
mov eax, 0xe4b04b39
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi + 0x4b39]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x70], cx
inc edi
cmp edi, 0xb
jb 0x451950
mov eax, dword [ebp - 0x19c]
add eax, eax
push eax
push dword [ebp - 0x194]
lea eax, [ebp - 0x70]
push 1
push eax
push str.SoftwareYxhGamebox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax + 0x28]
add eax, 0x18
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x194], eax
cmp dword [eax + 0x14], 8
jb 0x4519e3
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
mov eax, 0xd266
xor edi, edi
mov word [ebp - 0x58], ax
mov eax, 0xd254
mov word [ebp - 0x56], ax
mov eax, 0xd25f
mov word [ebp - 0x54], ax
mov eax, 0xd25d
mov word [ebp - 0x52], ax
mov eax, 0xd255
mov word [ebp - 0x50], ax
mov eax, 0xd24e
mov word [ebp - 0x4e], ax
mov eax, 0xd27d
mov word [ebp - 0x4c], ax
mov eax, 0xd272
mov word [ebp - 0x4a], ax
mov eax, 0xd239
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x58]
nop word [eax + eax]
mov ax, word [ebp + edi*2 - 0x58]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xfd7d2970
cmovae ecx, eax
mov eax, 0xe3afd231
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi - 0x2dcf]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x58], cx
inc edi
cmp edi, 9
jb 0x451a40
mov eax, dword [ebp - 0x19c]
add eax, eax
push eax
push dword [ebp - 0x194]
lea eax, [ebp - 0x58]
push 1
push eax
push str.SoftwareYxhGamebox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 1
xor eax, eax
mov dword [ebp - 0x108], 0
push 0x572ba0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
call fcn.00421290
cmp dword [ebp - 0x104], 8
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x118]
xor edi, edi
mov dword [ebp - 0x19c], eax
mov eax, 0x84b4
mov word [ebp - 0x1c], ax
mov eax, 0x849d
mov word [ebp - 0x1a], ax
mov eax, 0x849f
mov word [ebp - 0x18], ax
mov eax, 0x8481
mov word [ebp - 0x16], ax
mov eax, 0x84ee
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x1c]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x1c]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xbbb2c1e5
cmovae ecx, eax
mov eax, 0x48c384e9
shl ecx, 2
call fcn.0046c590
mov cx, ax
lea eax, [edi - 0x7b17]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x1c], cx
inc edi
cmp edi, 5
jb 0x451b30
mov eax, dword [ebp - 0x108]
add eax, eax
push eax
push dword [ebp - 0x19c]
lea eax, [ebp - 0x1c]
push 1
push eax
push str.SoftwareYxhGamebox
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, dword [ebp - 0x1a4]
add edi, 0x60
push edi
call fcn.00453f10
mov eax, dword [edi + 0x10]
add esp, 4
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x194], eax
jb 0x451bce
mov edi, dword [edi]
cmp eax, 8
jae 0x451be3
movups xmm0, xmmword [edi]
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
jmp 0x451c24
mov esi, eax
lea ecx, [ebp - 0x44]
mov eax, SysReAllocString
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00420cc0
mov ecx, eax
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x44], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.00516c90
mov eax, dword [ebp - 0x194]
add esp, 0xc
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
push 1
push 0x573c2c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00432890
push 0x17
push 0x576d5c
lea ecx, [ebp - 0x44]
call fcn.00432890
xor eax, eax
mov dword [ebp - 0x138], 0
push eax
push 0x5726b4
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x134], 7
mov word [ebp - 0x148], ax
call fcn.00421290
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 8
cmovae edx, dword [ebp - 0x44]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451cb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.00421290
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0045f080
mov edx, dword [ebp - 0xd4]
add esp, 8
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x451d2a
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451d20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f9a
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x134]
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x451d8b
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451d81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f9f
push edx
push ecx
call fcn.0046c2cf
add esp, 8
call fcn.0047a580
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x451f03
push 0x5d
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxpush_jkw.cc
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], 0xf
mov byte [ebp - 0x160], al
call fcn.004211a0
push 3
push 0x572c38
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
call fcn.004211a0
mov byte [ebp - 4], 0xb
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0x2d4]
push 0xae
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0040b1c0
mov esi, eax
push str.SimplePushWnd::OnDownloadEnd._install_succ_launch_helper
push esi
mov byte [ebp - 4], 0xc
call fcn.0040c570
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, 0x572928
cmovae ecx, dword [ebp - 0x44]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00409810
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2d4]
call fcn.0040cbc0
mov edx, dword [ebp - 0xec]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x451eaa
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451ea0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451fa4
push edx
push ecx
call fcn.0046c2cf
add esp, 8
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0xf
mov byte [ebp - 0x100], 0
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x451f03
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451ef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451fa9
push edx
push ecx
call fcn.0046c2cf
add esp, 8
call fcn.004750f0
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x195], 1
call fcn.0040bbd0
lea ecx, [ebp - 0x118]
call fcn.0040bbd0
lea ecx, [ebp - 0x130]
call fcn.0040bbd0
mov edx, dword [ebp - 0x1a0]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x451f4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd0]
call fcn.0040bbd0
mov eax, dword [ebp - 0x1a4]
cmp dword [eax + 0x14], 8
jb 0x451f68
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, byte [ebp - 0x195]
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.0046c16d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410dc0
call fcn.0051a7fc
call fcn.0051a7fc
call fcn.0051a7fc
call fcn.0051a7fc
int3