Function at 0x1000476d
Capabilities:
Check if file exists
Delete registry value

Disassembly:
push 0x1d4
mov eax, 0x10030cad
call fcn.1001860a
xor ebx, ebx
push ebx
mov esi, ecx
push ebx
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], ebx
call fcn.1000d77b
push 2
pop edi
lea eax, [ebp - 0x1e0]
push eax
mov dword [ebp - 4], edi
call fcn.100095ba
lea ecx, [ebp - 0xc0]
push ecx
push esi
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x8c], 1
call fcn.1000961e
test al, al
je 0x10004803
push str.caseId:__state:1
lea ecx, [ebp - 0x30]
call fcn.100018fe
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x8c], 3
call fcn.10003353
pop ecx
mov byte [ebp - 0x85], bl
test al, al
jne 0x1000480a
mov byte [ebp - 0x85], 1
test byte [ebp - 0x8c], 2
je 0x10004825
and dword [ebp - 0x8c], 0xfffffffd
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.10001a6f
mov dword [ebp - 4], edi
test byte [ebp - 0x8c], 1
je 0x10004843
and dword [ebp - 0x8c], 0xfffffffe
lea eax, [ebp - 0x1e0]
call fcn.1000be00
cmp byte [ebp - 0x85], bl
je 0x1000486b
cmp dword [esi + 0x18], 0x10
jb 0x10004856
mov esi, dword [esi + 4]
jmp 0x10004859
add esi, 4
push esi
push str.invalid_result_json:_s
call fcn.10015732
pop ecx
pop ecx
jmp 0x10004ed2
lea eax, [ebp - 0xc0]
push eax
mov edx, str.state
call fcn.1000da19
mov esi, eax
call fcn.1000cdc3
cmp eax, ebx
je 0x10004ed2
lea eax, [ebp - 0xc0]
push eax
mov edx, str.caseId
call fcn.1000da19
push eax
lea ecx, [ebp - 0x68]
call fcn.1000cccc
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 5
call fcn.10002acf
pop ecx
mov byte [ebp - 4], 6
cmp dword [eax + 0x18], 8
jb 0x100048c8
mov eax, dword [eax + 4]
jmp 0x100048cb
add eax, 4
lea ecx, [ebp - 0x4c]
push ecx
mov edi, str.Softwareprojonepodlpworkflowcases_
mov edx, eax
mov ecx, edi
call fcn.10007de8
pop ecx
push ebx
push 1
lea esi, [ebp - 0x14c]
mov byte [ebp - 4], 8
call fcn.10001b40
cmp dword [ebp - 0x38], ebx
jne 0x1000499f
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x30]
call fcn.10002acf
pop ecx
mov byte [ebp - 4], 9
cmp dword [eax + 0x18], 8
jb 0x10004920
mov eax, dword [eax + 4]
jmp 0x10004923
add eax, 4
lea ecx, [ebp - 0xdc]
push ecx
mov edx, eax
mov ecx, edi
call fcn.10007de8
pop ecx
push 0xffffffffffffffff
lea ecx, [ebp - 0x4c]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 0xa
call fcn.10001aba
push ebx
push 1
lea esi, [ebp - 0xdc]
call fcn.10001b40
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.10001b40
cmp dword [ebp - 0x38], ebx
jne 0x1000499d
mov eax, dword [ebp - 0x90]
cmp dword [eax + 0x18], 0x10
jb 0x10004978
mov eax, dword [eax + 4]
jmp 0x1000497b
add eax, 4
push eax
push str.case_info_missing:_s
call fcn.10015732
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x4c]
call fcn.10001b40
push 0
push 1
jmp 0x10004eca
xor ebx, ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10002acf
cmp dword [eax + 0x18], 8
pop ecx
jb 0x100049ba
mov eax, dword [eax + 4]
jmp 0x100049bd
add eax, 4
push eax
push edi
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0xdc]
call fcn.10001b40
push ebx
push ebx
lea eax, [ebp - 0xa8]
call fcn.1000d77b
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 0xd
call fcn.100011d6
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x1e0]
mov byte [ebp - 4], 0xe
or dword [ebp - 0x8c], 4
push eax
call fcn.100095ba
lea ecx, [ebp - 0xa8]
push ecx
push esi
mov dword [ebp - 4], 0xf
or dword [ebp - 0x8c], 8
push eax
call fcn.1000961e
test al, al
je 0x10004a69
push str.type:
lea ecx, [ebp - 0x30]
call fcn.100018fe
push 0x10
pop eax
mov dword [ebp - 4], eax
or dword [ebp - 0x8c], eax
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x30]
call fcn.10003353
pop ecx
mov byte [ebp - 0x85], bl
test al, al
jne 0x10004a70
mov byte [ebp - 0x85], 1
test byte [ebp - 0x8c], 0x10
je 0x10004a8a
and dword [ebp - 0x8c], 0xffffffef
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.10001a6f
test byte [ebp - 0x8c], 8
je 0x10004aa5
and dword [ebp - 0x8c], 0xfffffff7
lea eax, [ebp - 0x1e0]
call fcn.1000be00
mov dword [ebp - 4], 0xd
test byte [ebp - 0x8c], 4
je 0x10004ac2
push ebx
push edi
lea ecx, [ebp - 0xdc]
call fcn.10001a6f
cmp byte [ebp - 0x85], bl
je 0x10004b03
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x10004ad6
lea eax, [ebp - 0x48]
push eax
push str.invalid_info_json:_s
call fcn.1001585a
pop ecx
pop ecx
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.1000c982
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.10001b40
push ebx
push edi
jmp 0x10004eca
push str.type
lea ecx, [ebp - 0xdc]
call fcn.100018fe
sub esp, 0x1c
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ebp - 0x90], esp
push 0x10033877
call fcn.100018fe
lea eax, [ebp - 0xdc]
push eax
lea esi, [ebp - 0xa8]
lea ebx, [ebp - 0x84]
call fcn.1000133f
add esp, 0x20
push 0
push 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0x13
call fcn.10001a6f
lea eax, [ebp - 0xc0]
mov esi, str.state
push eax
mov edx, esi
call fcn.1000da19
sub esp, 0x18
mov ebx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.1000c7ee
lea eax, [ebp - 0xa8]
push eax
mov edx, esi
mov byte [ebp - 4], 0x14
call fcn.1000da19
mov edi, eax
mov byte [ebp - 4], 0x13
call fcn.1000ca05
lea eax, [ebp - 0xa8]
mov esi, str.attachment
push eax
mov edx, esi
call fcn.1000da19
cmp byte [eax + 8], 4
jne 0x10004d59
push str.wfctDecMail
lea eax, [ebp - 0x84]
call fcn.10006b9a
pop ecx
test al, al
jne 0x10004d59
lea eax, [ebp - 0xa8]
push eax
mov edx, esi
call fcn.1000da19
push eax
lea ecx, [ebp - 0x30]
call fcn.1000cccc
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x1c], 0
jbe 0x10004d4d
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x114]
call fcn.10002acf
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10004c11
mov eax, dword [eax + 4]
jmp 0x10004c14
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
push 1
lea esi, [ebp - 0x114]
mov edi, eax
call fcn.10001b40
test edi, edi
je 0x10004d18
lea eax, [ebp - 0xa8]
mov esi, 0x10034008
push eax
mov edx, esi
call fcn.1000da19
cmp byte [eax + 8], 4
je 0x10004c6b
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x90], esp
push 0x3e9
call fcn.1000c73f
mov byte [ebp - 4], 0x16
jmp 0x10004d31
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xf8]
call fcn.10002acf
pop ecx
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x18], 8
jb 0x10004c8a
mov eax, dword [eax + 4]
jmp 0x10004c8d
add eax, 4
push eax
lea ebx, [ebp - 0x130]
call fcn.10015f8f
pop ecx
mov edi, eax
lea eax, [ebp - 0xa8]
push eax
mov edx, esi
mov byte [ebp - 4], 0x18
call fcn.1000da19
push eax
lea ecx, [ebp - 0x114]
call fcn.1000cccc
mov ecx, edi
mov byte [ebp - 4], 0x19
call fcn.10006b78
mov bl, al
neg bl
sbb bl, bl
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x114]
inc bl
call fcn.10001a6f
push esi
push 1
lea ecx, [ebp - 0x130]
call fcn.10001a6f
push esi
push 1
lea esi, [ebp - 0xf8]
call fcn.10001b40
test bl, bl
je 0x10004d4d
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x90], esp
push 0x3ea
call fcn.1000c73f
mov byte [ebp - 4], 0x1a
jmp 0x10004d31
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x90], esp
push 0x3e9
call fcn.1000c73f
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0xa8]
push eax
mov edx, str.state
call fcn.1000da19
mov edi, eax
mov byte [ebp - 4], 0x15
call fcn.1000ca05
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10001a6f
push 0
push 0
lea eax, [ebp - 0x30]
call fcn.1000d77b
lea eax, [ebp - 0xc0]
mov edi, str.reason
push eax
mov edx, edi
mov byte [ebp - 4], 0x1e
call fcn.1000da19
push eax
lea ecx, [ebp - 0x30]
call fcn.1000cab1
mov bl, al
neg bl
sbb bl, bl
lea esi, [ebp - 0x30]
inc bl
mov byte [ebp - 4], 0x13
call fcn.1000c982
test bl, bl
je 0x10004dd9
lea eax, [ebp - 0xc0]
push eax
mov edx, edi
call fcn.1000da19
sub esp, 0x18
mov ebx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.1000c7ee
lea eax, [ebp - 0xa8]
push eax
mov edx, edi
mov byte [ebp - 4], 0x1f
call fcn.1000da19
mov edi, eax
mov byte [ebp - 4], 0x13
call fcn.1000ca05
push 0
push 0
lea eax, [ebp - 0x30]
call fcn.1000d77b
lea eax, [ebp - 0xc0]
mov edi, str.addition
push eax
mov edx, edi
mov byte [ebp - 4], 0x22
call fcn.1000da19
push eax
lea ecx, [ebp - 0x30]
call fcn.1000cab1
mov bl, al
neg bl
sbb bl, bl
lea esi, [ebp - 0x30]
inc bl
mov byte [ebp - 4], 0x13
call fcn.1000c982
test bl, bl
je 0x10004e59
lea eax, [ebp - 0xc0]
push eax
mov edx, edi
call fcn.1000da19
sub esp, 0x18
mov ebx, esp
mov dword [ebp - 0x90], esp
push eax
call fcn.1000c7ee
lea eax, [ebp - 0xa8]
push eax
mov edx, edi
mov byte [ebp - 4], 0x23
call fcn.1000da19
mov edi, eax
mov byte [ebp - 4], 0x13
call fcn.1000ca05
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0xf8]
call fcn.1000de3d
mov byte [ebp - 4], 0x24
cmp dword [eax + 0x18], 0x10
jb 0x10004e7a
mov eax, dword [eax + 4]
jmp 0x10004e7d
add eax, 4
cmp dword [ebp - 0x6c], 0x10
mov ecx, dword [ebp - 0x80]
jae 0x10004e89
lea ecx, [ebp - 0x80]
mov edx, eax
call fcn.10002cec
xor edi, edi
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xf8]
call fcn.10001a6f
push edi
push ebx
lea ecx, [ebp - 0x84]
call fcn.10001a6f
lea esi, [ebp - 0xa8]
mov byte [ebp - 4], 8
call fcn.1000c982
push edi
push ebx
lea esi, [ebp - 0x4c]
call fcn.10001b40
push edi
push ebx
lea ecx, [ebp - 0x68]
call fcn.10001a6f
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xc0]
call fcn.1000c982
call fcn.1001868d
ret