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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56398c
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 0x451258
mov eax, dword [eax]
push eax
call fcn.00474bc0
test eax, eax
je 0x451eba
cmp dword [edi + 0x74], 8
lea ecx, [edi + 0x60]
jb 0x451272
mov ecx, dword [edi + 0x60]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x45127c
mov eax, dword [edi]
push 0
push ecx
push eax
call fcn.004750b0
test eax, eax
jns 0x45136d
call fcn.0047a530
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x451eba
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.004210f0
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.004210f0
mov byte [ebp - 4], 1
call fcn.0047a530
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 0x451eba
cmp dword [edi + 0x74], 8
lea edx, [edi + 0x60]
jb 0x451379
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 0x4513a0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xd0]
call fcn.004211e0
push 1
push 0x573c0c
lea ecx, [ebp - 0xd0]
mov dword [ebp - 4], 3
call fcn.004327d0
mov eax, dword [str.YxhGamebox.exe]
mov ecx, 0x7867
xor eax, 0x7860
mov word [ebp - 0xa8], ax
mov eax, ecx
xor ax, word [0x573b02]
mov word [ebp - 0xa6], ax
mov eax, dword [0x573b04]
xor cx, word [0x573b0a]
xor eax, 0x786a
mov word [ebp - 0xa4], ax
mov eax, 0x7864
xor ax, word [0x573b06]
mov word [ebp - 0xa2], ax
mov eax, dword [0x573b08]
xor eax, 0x786b
mov word [ebp - 0xa0], ax
mov eax, dword [0x573b0c]
xor eax, 0x786a
mov word [ebp - 0x9e], cx
mov word [ebp - 0x9c], ax
mov ecx, 0x786f
mov eax, 0x7865
xor ax, word [0x573b0e]
mov word [ebp - 0x9a], ax
mov eax, dword [0x573b10]
xor eax, 0x7862
mov word [ebp - 0x98], ax
mov eax, 0x7861
xor ax, word [0x573b12]
mov word [ebp - 0x96], ax
mov eax, dword [0x573b14]
xor eax, 0x786c
mov word [ebp - 0x94], ax
mov eax, ecx
xor ax, word [0x573b16]
xor cx, word [0x573b1a]
mov word [ebp - 0x92], ax
mov eax, dword [0x573b18]
xor eax, 0x7866
mov word [ebp - 0x90], ax
mov eax, 0x7869
xor ax, word [0x573b1c]
xor edi, edi
mov word [ebp - 0x8e], cx
mov word [ebp - 0x8c], ax
mov ax, word [ebp - 0xa8]
lea edx, [edi + 0xf]
nop word [eax + eax]
mov ax, word [ebp + edi*2 - 0xa8]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0x2c2f7860
cmovae ecx, edx
mov edx, 0x972a468a
shl ecx, 2
call fcn.0046c530
mov cx, ax
mov edx, 0xf
and cx, 0xf
lea eax, [edi + 0x7860]
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0xa8], cx
inc edi
cmp edi, 0xf
jb 0x4514f0
lea ecx, [ebp - 0xa8]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451547
sub ecx, edx
lea eax, [ebp - 0xa8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.004327d0
lea eax, [ebp - 0xb8]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
call fcn.00418e90
mov ecx, eax
test ecx, ecx
je 0x451ef0
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 0x576f30
push eax
call fcn.00417340
mov eax, dword [ebp - 0x1a0]
add esp, 0x20
xor edi, edi
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x194], eax
mov eax, 0xd99
mov word [ebp - 0x88], ax
mov eax, 0xdb8
mov word [ebp - 0x86], ax
mov eax, 0xda2
mov word [ebp - 0x84], ax
mov eax, 0xda9
mov word [ebp - 0x82], ax
mov eax, 0xdbe
mov word [ebp - 0x80], ax
mov eax, 0xdba
mov word [ebp - 0x7e], ax
mov eax, 0xd86
mov word [ebp - 0x7c], ax
mov eax, 0xdad
mov word [ebp - 0x7a], ax
mov eax, 0xd8e
mov word [ebp - 0x78], ax
mov eax, 0xd95
mov word [ebp - 0x76], ax
mov eax, 0xd8f
mov word [ebp - 0x74], ax
mov eax, 0xdef
mov word [ebp - 0x72], ax
mov ax, word [ebp - 0x88]
nop word [eax + 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, 0x381dae2d
cmovae ecx, eax
mov eax, 0x8a910dda
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi + 0xdda]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x88], cx
inc edi
cmp edi, 0xc
jb 0x451680
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.004211e0
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
mov ecx, 0x1dc4
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x130]
xor edi, edi
mov dword [ebp - 0x194], eax
mov eax, 0x1df1
mov word [ebp - 0x2c], ax
mov eax, 0x1dc0
mov word [ebp - 0x2a], ax
mov eax, 0x1dc1
mov word [ebp - 0x28], ax
mov eax, 0x1de8
mov word [ebp - 0x26], ax
mov eax, 0x1dc9
mov word [ebp - 0x24], ax
mov eax, 0x1da2
mov word [ebp - 0x22], cx
mov word [ebp - 0x20], ax
mov word [ebp - 0x1e], cx
mov ax, word [ebp - 0x2c]
nop dword [eax]
mov ax, word [ebp + edi*2 - 0x2c]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x5b169ff
cmovae ecx, eax
mov eax, 0x57be1dba
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi + 0x1dba]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x2c], cx
inc edi
cmp edi, 8
jb 0x451790
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 0x451853
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
mov eax, 0xe903
xor edi, edi
mov word [ebp - 0x70], ax
mov eax, 0xe931
mov word [ebp - 0x6e], ax
mov eax, 0xe92f
mov word [ebp - 0x6c], ax
mov eax, 0xe928
mov word [ebp - 0x6a], ax
mov eax, 0xe923
mov word [ebp - 0x68], ax
mov eax, 0xe977
mov word [ebp - 0x66], ax
mov eax, 0xe90d
mov word [ebp - 0x64], ax
mov eax, 0xe93d
mov word [ebp - 0x62], ax
mov eax, 0xe929
mov word [ebp - 0x60], ax
mov eax, 0xe936
mov word [ebp - 0x5e], ax
mov eax, 0xe953
mov word [ebp - 0x5c], ax
mov ax, word [ebp - 0x70]
nop dword [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, 0x22ef975
cmovae ecx, eax
mov eax, 0xbb27e950
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi - 0x16b0]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x70], cx
inc edi
cmp edi, 0xb
jb 0x4518c0
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 0x451953
mov eax, dword [eax]
mov dword [ebp - 0x194], eax
mov eax, 0x7996
mov ecx, 0x79a8
mov word [ebp - 0x58], ax
xor edi, edi
mov word [ebp - 0x56], cx
mov eax, 0x79a5
mov word [ebp - 0x54], ax
mov eax, 0x79a0
mov word [ebp - 0x52], ax
mov eax, 0x79b7
mov word [ebp - 0x50], cx
mov word [ebp - 0x4e], ax
mov eax, 0x7985
mov word [ebp - 0x4c], ax
mov eax, 0x798c
mov word [ebp - 0x4a], ax
mov eax, 0x79ca
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x58]
mov ax, word [ebp + edi*2 - 0x58]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x1dec9e2
cmovae ecx, eax
mov eax, 0xfa0379c0
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi + 0x79c0]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x58], cx
inc edi
cmp edi, 9
jb 0x4519a5
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.004211e0
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, 0x9794
mov word [ebp - 0x1c], ax
mov eax, 0x97b4
mov word [ebp - 0x1a], ax
mov eax, 0x97b5
mov word [ebp - 0x18], ax
mov eax, 0x97af
mov word [ebp - 0x16], ax
mov eax, 0x97cd
mov word [ebp - 0x14], ax
mov ax, word [ebp - 0x1c]
mov ax, word [ebp + edi*2 - 0x1c]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0x1b2f0a4b
cmovae ecx, eax
mov eax, 0xcd6997c0
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi - 0x6840]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x1c], cx
inc edi
cmp edi, 5
jb 0x451a92
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.00453e60
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 0x451b30
mov edi, dword [edi]
cmp eax, 8
jae 0x451b45
movups xmm0, xmmword [edi]
mov dword [ebp - 0x30], 7
movups xmmword [ebp - 0x44], xmm0
jmp 0x451b86
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.00420c10
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.00516c00
mov eax, dword [ebp - 0x194]
add esp, 0xc
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], eax
push 1
push 0x573c0c
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.004327d0
push 0x17
push 0x576d4c
lea ecx, [ebp - 0x44]
call fcn.004327d0
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.004211e0
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 word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x451c10
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xe8]
call fcn.004211e0
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0045f000
mov edx, dword [ebp - 0xd4]
add esp, 8
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x451c8a
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451c80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451efa
push edx
push ecx
call fcn.0046c26f
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 0x451ceb
mov ecx, dword [ebp - 0x148]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x451ce1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451eff
push edx
push ecx
call fcn.0046c26f
add esp, 8
call fcn.0047a530
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x451e63
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.004210f0
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.004210f0
mov byte [ebp - 4], 0xb
call fcn.0047a530
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 0x451e0a
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451e00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f04
push edx
push ecx
call fcn.0046c26f
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 0x451e63
mov ecx, dword [ebp - 0x160]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x451e59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451f09
push edx
push ecx
call fcn.0046c26f
add esp, 8
call fcn.00475090
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 0x451eaf
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 0x451ec8
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.0046c10d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410d90
call fcn.0051a76c
call fcn.0051a76c
call fcn.0051a76c
call fcn.0051a76c
int3