Function at 0x459330
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.004544f0
push eax
lea ecx, [ebp - 0x261]
call fcn.00454300
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4593f2
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x5798f8
jmp 0x459448
lea ecx, [ebp - 0x261]
call fcn.00454da0
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 0x459431
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 0x4595e1
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 0x101
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00406db0
mov esi, eax
push str.box_push::UninstallJkw__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 0x459582
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x459578
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45966e
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 0x4595db
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4595d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459673
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 0x459614
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 0x459650
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x459646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x459678
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