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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55770c
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x5b228c]
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.0050b0c0
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.004451c0
push eax
lea ecx, [ebp - 0x261]
call fcn.00444d30
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x447922
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x564bc8
jmp 0x447978
lea ecx, [ebp - 0x261]
call fcn.00444b40
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 0x447961
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00417590
mov dword [ebp - 4], 0
call fcn.0046f390
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x447b11
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.004174a0
push 3
push 0x566dd4
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.004174a0
mov byte [ebp - 4], 2
call fcn.0046f390
mov edi, eax
lea ecx, [ebp - 0x308]
push 0xf1
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00404570
mov esi, eax
push str.push_jkw::LaunchJkwMainProcess__path
push esi
mov byte [ebp - 4], 3
call fcn.00405960
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov eax, 0x566aa0
cmovae ecx, dword [ebp - 0x230]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00403250
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x308]
call fcn.00405d60
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x447ab2
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447aa8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447b9e
push edx
push ecx
call fcn.004610ef
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 0x447b0b
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x447b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ba3
push edx
push ecx
call fcn.004610ef
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 0x447b44
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00453dd0
add esp, 8
mov bl, al
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x447b80
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x447b76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x447ba8
push edx
push ecx
call fcn.004610ef
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.00460f8d
mov esp, ebp
pop ebp
ret
call fcn.0050f6a9
call fcn.0050f6a9
call fcn.0050f6a9
int3