Function at 0x457f50
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b0cc
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x5c524c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x268], esi
call fcn.0051e890
add esp, 0xc
mov dword [ebp - 0x270], 1
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x104
lea ecx, [ebp - 0x261]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00455080
push eax
lea ecx, [ebp - 0x261]
call fcn.004543b0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x458012
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x5798f8
jmp 0x458068
lea ecx, [ebp - 0x261]
call fcn.00454ab0
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x458051
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0041cc20
mov dword [ebp - 4], 0
call fcn.00482a90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x458201
push 0x5d
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxpush_jkw.cc
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], al
call fcn.0041cb30
push 3
push 0x579d18
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.0041cb30
mov byte [ebp - 4], 2
call fcn.00482a90
mov edi, eax
lea ecx, [ebp - 0x308]
push 0xf6
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00406db0
mov esi, eax
push str.box_push::LaunchJkwMainProcess__path
push esi
mov byte [ebp - 4], 3
call fcn.00408110
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov eax, 0x579b6c
cmovae ecx, dword [ebp - 0x230]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00405440
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x308]
call fcn.0040ac30
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x4581a2
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x458198
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45828e
push edx
push ecx
call fcn.004747df
add esp, 8
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4581fb
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4581f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458293
push edx
push ecx
call fcn.004747df
add esp, 8
mov esi, dword [ebp - 0x268]
xor bl, bl
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x458234
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00465c90
add esp, 8
mov bl, al
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x458270
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x458266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x458298
push edx
push ecx
call fcn.004747df
add esp, 8
mov al, bl
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.0047467d
mov esp, ebp
pop ebp
ret
call fcn.00522e79
call fcn.00522e79
call fcn.00522e79
int3