Function at 0x1004b08
Capabilities:
Query or enumerate registry value
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xc394
call fcn.01009450
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push 0x1002080
push 0x80000002
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10051ac
mov edi, 0x410
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 8
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push 0x1002070
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
push ebx
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push 0x100205c
push dword [esi + 0xc]
jne 0x1004cd8
call fcn.010076a1
push dword [ebp - 0x14]
push 0x1002054
push dword [esi + 0xc]
call fcn.010076a1
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
lea eax, [esi + 0x191a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x191a]
push eax
push 1
push ebx
push 0x1002048
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x118]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x118]
push eax
push 1
push ebx
push 0x1002040
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x518]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x518]
push eax
push 1
push ebx
push 0x1002038
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x1118]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x1118]
push eax
push 1
push ebx
push 0x1002020
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x918]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x918]
push eax
push 1
push ebx
push 0x1002018
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0xd18]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0xd18]
push eax
push 1
push ebx
push 0x1002010
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x1d1a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x1d1a]
push eax
push 1
push ebx
push 0x1002008
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x211a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x211a]
push eax
push 1
push ebx
push 0x1001ff8
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1004e9b
call fcn.010076a1
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x1004d13
push dword [ebp - 0x10]
push 0x1002054
push dword [esi + 0xc]
call fcn.010076a1
add esp, 0xc
jmp 0x1004d22
push 0x1001fec
push dword [esi + 0xc]
call fcn.010076a1
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push 0x1001fe4
push ebx
push 0x1002080
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push 0x1002070
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esi + 0x191a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x191a]
push eax
push 1
push ebx
push 0x1002048
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x118]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x118]
push eax
push 1
push ebx
push 0x1002040
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x518]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x518]
push eax
push 1
push ebx
push 0x1002038
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x1118]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x1118]
push eax
push 1
push ebx
push 0x1002020
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x918]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x918]
push eax
push 1
push ebx
push 0x1002018
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0xd18]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0xd18]
push eax
push 1
push ebx
push 0x1002010
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x1d1a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x1d1a]
push eax
push 1
push ebx
push 0x1002008
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x211a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x211a]
push eax
push 1
push ebx
push 0x1001ff8
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], 0xffffffff
je 0x1004e9b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0xffffffff
je 0x1004eaa
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
lea eax, [esi + 0x291c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1005195
lea eax, [ebp - 0xc394]
push 0x1001fa4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0xc394]
pop ecx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1004eef
push ebx
sub eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 0x14]
lea eax, [ebp - 0xc394]
push 0x1001f8c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1004f31
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x191a]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f78
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1004f71
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x118]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f68
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1004fb1
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x518]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1004ff1
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x1118]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f34
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005031
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x918]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f24
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005071
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0xd18]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f14
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10050b1
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x1518]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f04
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10050f1
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x1d1a]
push eax
lea eax, [ebp - 0xc394]
push 0x1001ef0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005131
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x211a]
push eax
lea eax, [ebp - 0xc394]
push 0x1001ed8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005171
sub eax, ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1005656
push 0x100205c
push dword [esi + 0xc]
call fcn.010076a1
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.RPCRT4.dll_UuidCreate]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x10051ef
push dword [ebp - 0x14]
push 0x1002054
push dword [esi + 0xc]
call fcn.010076a1
add esp, 0xc
jmp 0x10051fe
push 0x1001fec
push dword [esi + 0xc]
call fcn.010076a1
pop ecx
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0xf003f
push ebx
push 0x1001fe4
push ebx
push 0x1002080
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call edi
inc eax
push eax
push dword [ebp - 0x14]
push 1
push ebx
push 0x1002070
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x191a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x191a]
push eax
push 1
push ebx
push 0x1002048
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x118]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x118]
push eax
push 1
push ebx
push 0x1002040
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x518]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x518]
push eax
push 1
push ebx
push 0x1002038
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x1118]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x1118]
push eax
push 1
push ebx
push 0x1002020
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x918]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x918]
push eax
push 1
push ebx
push 0x1002018
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0xd18]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0xd18]
push eax
push 1
push ebx
push 0x1002010
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x1d1a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x1d1a]
push eax
push 1
push ebx
push 0x1002008
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x211a]
push eax
call edi
inc eax
push eax
lea eax, [esi + 0x211a]
push eax
push 1
push ebx
push 0x1001ff8
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 8], 0xffffffff
je 0x100536b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x80
push 1
push ebx
push ebx
push 0xc0000000
lea eax, [esi + 0x291c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x1005656
lea eax, [ebp - 0xc394]
push 0x1001fa4
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0xc394]
pop ecx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10053b0
push ebx
sub eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 0x14]
lea eax, [ebp - 0xc394]
push 0x1001f8c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10053f2
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x191a]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f78
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005432
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x118]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f68
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005472
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x518]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f54
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10054b2
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x1118]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f34
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10054f2
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x918]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f24
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005532
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0xd18]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f14
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005572
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x1518]
push eax
lea eax, [ebp - 0xc394]
push 0x1001f04
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10055b2
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x1d1a]
push eax
lea eax, [ebp - 0xc394]
push 0x1001ef0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10055f2
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
lea eax, [esi + 0x211a]
push eax
lea eax, [ebp - 0xc394]
push 0x1001ed8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc394]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1005632
sub eax, ecx
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
lea eax, [ebp - 0xc394]
push eax
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1001ec8
push dword [esi + 0xc]
mov dword [ebp - 0x18], ebx
call fcn.010076a1
pop ecx
pop ecx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.RPCRT4.dll_UuidToStringA]
test eax, eax
jne 0x1005699
push dword [ebp - 0x18]
push 0x1002054
push dword [esi + 0xc]
call fcn.010076a1
add esp, 0xc
jmp 0x10056a8
push 0x1001fec
push dword [esi + 0xc]
call fcn.010076a1
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret