Function at 0x10003f16
Capabilities:
Set file attributes
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x10032138]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov edx, ecx
mov dword [ebp - 0x30], eax
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov ebx, 0x8008000d
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x5c], esi
test edi, edi
je 0x1000b212
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x3c]
push ecx
push 0xc
lea eax, [eax*2 + 2]
pop ecx
mov dword [ebp - 0x64], eax
mul ecx
push edx
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x3c], esi
call fcn.1000351f
mov ebx, eax
test ebx, ebx
js 0x1000af91
push dword [ebp - 0x3c]
call fcn.10001501
pop ecx
mov dword [ebp - 0x50], eax
test eax, eax
je 0x1000afc2
push dword [ebp - 0x3c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [edi], esi
je 0x100042d1
lea eax, [ebp - 0x2c]
push eax
push 0x100
push dword [edi]
call fcn.100032b7
mov ebx, eax
test ebx, ebx
js 0x1000afcc
mov edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x2c]
mov dword [edx], esi
mov dword [edx + 4], ecx
mov eax, dword [edi]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
lea esi, [ecx + 6]
lea esi, [eax + esi*2]
xor eax, eax
inc eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x40], eax
cmp dword [edi + 4], 0
je 0x10004054
lea eax, [ebp - 0x2c]
push eax
push 0x100
push dword [edi + 4]
call fcn.100032b7
mov ebx, eax
test ebx, ebx
js 0x1000afff
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
imul edx, edx, 0xc
mov ecx, dword [ebp - 0x2c]
mov dword [edx + eax], 1
mov dword [edx + eax + 4], ecx
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x50]
mov dword [edx + edi + 8], eax
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x30]
lea esi, [esi + ecx*2]
add esi, 0xc
inc eax
mov dword [ebp - 8], esi
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp dword [edi + 8], ecx
ja 0x1000b022
mov eax, dword [0x100320c8]
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100042e1
xor edi, edi
cmp word [ecx], di
je 0x100042e1
mov edi, dword [edx]
mov dword [ebp - 0x64], edi
test esi, esi
je 0x10004092
lea eax, [esi + 8]
add dword [edi + 0x14], eax
inc dword [edi + 0x10]
mov esi, dword [edi + 0x14]
mov edi, dword [ebp - 0x28]
push 0x78
pop eax
add esi, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x3c], esi
mov edx, eax
mov esi, 0x738
lea eax, [ebp - 0x24]
sub esi, eax
cmp edx, 7
je 0x100040c7
lea eax, [esi + edx*4]
lea ecx, [ebp - 0x24]
add ecx, eax
mov eax, dword [edi]
mov eax, dword [ecx + eax]
mov dword [ebp + edx*4 - 0x24], eax
inc edx
cmp edx, 8
jl 0x100040b1
mov esi, dword [ebp - 0x3c]
push esi
call fcn.10001501
mov edi, dword [ebp - 0x64]
pop ecx
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1000b133
push esi
xor ecx, ecx
push ecx
push eax
call sub.msvcrt.dll_memset
mov edx, dword [ebp - 0x30]
lea ecx, [esi + edx]
add esp, 0xc
mov dword [ebp - 0x2c], ecx
cmp edx, ecx
ja 0x1000b6d3
lea eax, [edx + 0x78]
cmp eax, ecx
ja 0x1000b6d3
cmp esi, 0x78
jb 0x1000b6d3
push UnregisterTraceGuids
mov esi, edi
pop ecx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x78]
test esi, esi
je 0x1000b6ad
cmp esi, edx
jb 0x1000b6ad
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [eax + reloc.ADVAPI32.dll_TraceMessage]
lea eax, [ecx + esi]
cmp eax, dword [ebp - 0x2c]
ja 0x1000b6ad
mov edi, dword [ebp - 0x3c]
cmp ecx, edi
ja 0x1000b6ad
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
ja 0x1000b21f
test esi, esi
je 0x1000b687
cmp esi, edx
jb 0x1000b687
lea eax, [edi + edx]
cmp esi, eax
ja 0x1000b687
mov eax, dword [ecx]
mov ecx, dword [eax + reloc.ADVAPI32.dll_TraceMessage]
lea eax, [ecx + esi]
cmp eax, dword [ebp - 0x2c]
ja 0x1000b687
cmp ecx, edi
ja 0x1000b687
cmp dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x28]
ja 0x1000b242
test esi, esi
je 0x1000b661
cmp esi, edx
jb 0x1000b661
mov edx, dword [ebp - 0x2c]
cmp esi, edx
ja 0x1000b661
mov eax, dword [ecx]
mov ecx, dword [eax + reloc.ADVAPI32.dll_TraceMessage]
lea eax, [ecx + esi]
cmp eax, edx
ja 0x1000b661
cmp ecx, edi
ja 0x1000b661
cmp dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x28]
ja 0x1000b264
mov ecx, 0xa0
mov dword [ebp - 0x44], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [edx]
push dword [ecx + eax]
mov ecx, edx
call fcn.10003980
mov ecx, dword [ebp - 0x28]
push 0x18
push eax
mov dword [ebp - 0x38], eax
call fcn.10003770
test eax, eax
jne 0x10004238
mov ecx, dword [ebp - 0x44]
add ecx, 8
mov dword [ebp - 0x44], ecx
cmp ecx, 0x738
jge 0x100042f1
mov edx, dword [ebp - 0x28]
jmp 0x10004200
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx]
mov eax, dword [ebp + ecx*4 - 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1000b287
mov eax, ecx
sub eax, 0
je 0x1000b35e
sub eax, 3
je 0x1000b313
dec eax
dec eax
jne 0x1000b2bb
test esi, esi
je 0x1000b3fe
cmp esi, dword [ebp - 0x30]
jb 0x1000b3fe
mov ecx, dword [ebp - 0x2c]
cmp esi, ecx
ja 0x1000b3fe
mov edx, dword [ebp - 0x10]
lea eax, [edx + esi]
cmp eax, ecx
ja 0x1000b3fe
cmp edx, edi
ja 0x1000b3fe
mov ecx, dword [ebp - 0x28]
push edx
push esi
push dword [ebp - 0x38]
call fcn.10003834
add esi, eax
test eax, eax
je 0x1000b44a
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x4c]
sub edx, eax
add dword [ebp - 0x34], eax
mov dword [ebp + ecx*4 - 0x24], edx
mov edx, dword [ebp - 0x38]
push dword [edx + 8]
mov ecx, dword [ebp - 0x28]
jmp 0x10004207
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
jmp 0x10003fff
mov eax, dword [ebp - 0x5c]
jmp 0x10004340
cmp eax, 0x100320c8
jne 0x1000b701
jmp 0x1000b719
test esi, esi
je 0x1000b63b
mov edx, dword [ebp - 0x30]
cmp esi, edx
jb 0x1000b63b
lea eax, [edi + edx]
cmp esi, eax
ja 0x1000b63b
mov ecx, dword [ebp - 8]
lea eax, [ecx + esi]
mov dword [ebp - 0x44], ecx
cmp eax, dword [ebp - 0x2c]
ja 0x1000b63b
cmp ecx, edi
ja 0x1000b63b
test ecx, ecx
je 0x100042dc
add dword [ebp - 0x34], 8
lea eax, [esi + 8]
mov dword [esi], 7
mov dword [esi + 4], ecx
mov dword [ebp - 0x5c], eax
xor esi, esi
cmp dword [ebp - 0x40], esi
jbe 0x100043b4
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], edx
test eax, eax
je 0x1000b518
cmp eax, dword [ebp - 0x30]
jb 0x1000b518
cmp eax, dword [ebp - 0x2c]
ja 0x1000b518
add eax, ecx
cmp eax, dword [ebp - 0x2c]
ja 0x1000b518
cmp ecx, edi
ja 0x1000b518
push ecx
push dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
push edx
call fcn.1000354d
add dword [ebp - 0x5c], eax
test eax, eax
je 0x1000b4e6
mov ecx, dword [ebp - 0x44]
add dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x4c]
sub ecx, eax
push 0xc
pop eax
add edx, eax
mov eax, dword [ebp - 0x5c]
inc esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], edx
cmp esi, dword [ebp - 0x40]
jb 0x1000434d
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
cmp ecx, edi
jne 0x1000b608
push edi
push edx
call fcn.10003422
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
mov eax, dword [0x100320c8]
mov esi, dword [ebp - 0x60]
cmp eax, 0x100320c8
je 0x100043e5
test byte [eax + 0x1c], 4
jne 0x1000b49c
xor eax, eax
push eax
push 0x80
push 2
push 1
call fcn.10006681
push eax
xor eax, eax
push eax
push 0xc0000000
push esi
call sub.KERNEL32.dll_CreateFileW
mov esi, eax
cmp esi, reloc.ADVAPI32.dll_TraceMessage
je 0x1000b5c3
push 0x2080
push dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x48], eax
call sub.KERNEL32.dll_SetFileAttributesW
test eax, eax
je 0x1000b4b5
xor eax, eax
push eax
lea eax, [ebp - 0x48]
push eax
push edi
push dword [ebp - 0x30]
push esi
call sub.KERNEL32.dll_WriteFile
test eax, eax
je 0x1000b57e
cmp dword [ebp - 0x48], edi
jne 0x1000b549
xor eax, eax
mov ebx, eax
push esi
call sub.KERNEL32.dll_CloseHandle
push dword [ebp - 0x30]
call fcn.10001485
pop ecx
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1000446d
push eax
call fcn.10001485
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100024c8
leave
ret 8
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000446d
test byte [eax + 0x1c], 1
je 0x1000446d
push 0x1000c288
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
jmp 0x1000446d
mov ebx, 0x8007000e
jmp 0x1000446d
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000445f
test byte [eax + 0x1c], 1
je 0x1000445f
push 0x1000c288
push 0xc
pop ecx
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
jmp 0x1000445f
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000445f
test byte [eax + 0x1c], 1
je 0x1000445f
push 0x1000c288
push 0xd
jmp 0x1000afef
mov edi, eax
imul edi, edi, 0xc
add edi, dword [ebp - 0x50]
mov edx, ecx
lea ecx, [eax + 2]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], ecx
cmp ecx, dword [ebp - 0x64]
ja 0x1000b1e1
mov eax, dword [eax + 0xc]
add eax, edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x4c], eax
test ecx, ecx
jne 0x1000b060
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x34], 3
jmp 0x1000b08c
cmp ecx, 1
jne 0x1000b075
mov dword [ebp - 0x3c], 4
mov dword [ebp - 0x34], 5
jmp 0x1000b08c
cmp ecx, 2
jne 0x1000b1b6
mov dword [ebp - 0x3c], 6
mov dword [ebp - 0x34], 7
lea ecx, [ebp - 0x2c]
push ecx
push 0x100
push dword [eax]
call fcn.100032b7
mov ebx, eax
test ebx, ebx
js 0x1000b190
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov eax, dword [edx]
push 0xc
mov dword [edi + 8], eax
pop eax
add edi, eax
lea eax, [ebp - 0x2c]
push eax
lea esi, [esi + ecx*2]
push 0x100
push dword [edx + 4]
add esi, 0xc
inc dword [ebp - 0x40]
inc dword [ebp - 0x38]
call fcn.100032b7
mov ebx, eax
test ebx, ebx
js 0x1000b16a
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x44]
mov dword [edi], eax
mov eax, dword [ebp - 0x4c]
mov dword [edi + 4], ecx
mov eax, dword [eax + 4]
lea esi, [esi + ecx*2]
mov ecx, dword [ebp - 0x38]
add esi, 0xc
inc dword [ebp - 0x40]
mov dword [edi + 8], eax
inc ecx
push 0xc
pop eax
add edi, eax
inc dword [ebp - 0x48]
add edx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 8], esi
mov dword [ebp - 0x44], edx
jae 0x10004062
jmp 0x1000b038
mov ebx, 0x8008000e
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000445f
test byte [eax + 0x1c], 1
je 0x1000445f
push esi
push 0x1000c288
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fead
jmp 0x1000445f
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000445f
test byte [eax + 0x1c], 1
je 0x1000445f
push 0x1000c288
push 0x11
jmp 0x1000afef
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000445f
test byte [eax + 0x1c], 1
je 0x1000445f
push 0x1000c288
push 0x10
jmp 0x1000afef
mov ebx, 0x80070057
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000445f
test byte [eax + 0x1c], 1
je 0x1000445f
push 0x1000c288
push 0xf
jmp 0x1000afef
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004067
test byte [eax + 0x1c], 2
je 0x10004067
push 0x1000c288
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
jmp 0x10004062
mov esi, dword [ebp - 8]
mov eax, dword [0x100320c8]
jmp 0x1000406a
xor eax, eax
mov dword [esi], eax
mov eax, dword [ecx]
mov eax, dword [eax + reloc.ADVAPI32.dll_TraceMessage]
mov dword [esi + 4], eax
add esi, 8
mov dword [ebp - 0x54], esi
add esi, eax
mov dword [ebp - 0x34], 0x80
jmp 0x10004162
mov dword [esi], 6
mov eax, dword [ecx]
mov eax, dword [eax + reloc.ADVAPI32.dll_TraceMessage]
mov dword [esi + 4], eax
add esi, 8
mov dword [ebp - 0x58], esi
add esi, eax
add dword [ebp - 0x34], 8
jmp 0x100041a6
add dword [ebp - 0x34], 8
mov dword [esi], 3
mov eax, dword [edx]
mov eax, dword [eax + reloc.ADVAPI32.dll_TraceMessage]
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov dword [ebp - 0x68], ecx
lea esi, [eax + ecx]
jmp 0x100041e9
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x100042c6
test byte [eax + 0x1c], 2
je 0x100042c6
push dword [edx + 4]
push 0x1000c288
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001334b
jmp 0x100042c3
dec eax
jne 0x1000b3d7
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x1000b3b1
cmp eax, dword [ebp - 0x30]
jb 0x1000b3b1
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
ja 0x1000b3b1
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x3c]
cmp eax, ecx
ja 0x1000b3b1
mov eax, dword [ebp - 0xc]
cmp eax, edi
ja 0x1000b3b1
mov ecx, dword [ebp - 0x28]
push eax
push dword [ebp - 0x58]
push edx
call fcn.1002b2e3
add dword [ebp - 0x58], 0x10
jmp 0x100042ac
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x1000b424
cmp eax, dword [ebp - 0x30]
jb 0x1000b424
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
ja 0x1000b424
mov edx, dword [ebp - 0x18]
add eax, edx
cmp eax, ecx
ja 0x1000b424
cmp edx, edi
ja 0x1000b424
mov ecx, dword [ebp - 0x28]
push edx
push dword [ebp - 0x68]
push dword [ebp - 0x38]
call fcn.1002b386
add dword [ebp - 0x68], eax
jmp 0x100042ac
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x1000b476
cmp eax, dword [ebp - 0x30]
jb 0x1000b476
mov ecx, dword [ebp - 0x2c]
cmp eax, ecx
ja 0x1000b476
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x3c]
cmp eax, ecx
ja 0x1000b476
mov eax, dword [ebp - 0x24]
cmp eax, edi
ja 0x1000b476
mov ecx, dword [ebp - 0x28]
push eax
push dword [ebp - 0x54]
push edx
call fcn.1002b209
push 0xc
pop ecx
add dword [ebp - 0x54], ecx
jmp 0x100042ac
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x1a
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push ecx
push 0x1000c288
push 0x1d
jmp 0x1000b508
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x1c
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x1b
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
mov ecx, dword [ebp - 0x38]
push dword [ecx + 4]
push 0x1000c288
push UnregisterTraceGuids
jmp 0x1000b508
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x19
jmp 0x1000b539
push edi
push esi
push 0x1000c288
push reloc.ADVAPI32.dll_GetTraceEnableLevel
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fe35
jmp 0x100043e5
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000442a
test byte [eax + 0x1c], 2
je 0x1000442a
push 0x1000c288
push reloc.ADVAPI32.dll_GetTraceLoggerHandle
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
jmp 0x1000442a
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push esi
push 0x1000c288
push reloc.ADVAPI32.dll_GetTraceEnableFlags
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fead
jmp 0x10004456
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push reloc.ADVAPI32.dll_RegisterTraceGuidsW
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
jmp 0x10004456
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004450
test byte [eax + 0x1c], 1
je 0x10004450
push dword [ebp - 0x48]
push edi
push 0x1000c288
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fb46
jmp 0x10004450
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000b5aa
test byte [eax + 0x1c], 1
je 0x1000b5aa
push ebx
push 0x1000c288
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001334b
test ebx, ebx
jle 0x10004450
and ebx, 0x1000ffff
or ebx, 0x80080000
jmp 0x10004450
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000b5ef
test byte [eax + 0x1c], 1
je 0x1000b5ef
push ebx
push 0x1000c288
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001334b
test ebx, ebx
jle 0x10004456
and ebx, 0x1000ffff
or ebx, 0x80080000
jmp 0x10004456
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push ecx
push edi
push 0x1000c288
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fb46
jmp 0x10004456
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push reloc.ADVAPI32.dll_UnregisterTraceGuids
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x17
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x16
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x10004456
test byte [eax + 0x1c], 1
je 0x10004456
push 0x1000c288
push 0x15
jmp 0x1000b539
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1000b6f7
test byte [eax + 0x1c], 1
je 0x1000b6f7
push 0x1000c288
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
mov ebx, 0x8007006f
jmp 0x10004456
test byte [eax + 0x1c], 1
je 0x1000b719
push 0x1000c288
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000c7e1
mov eax, 0x80080057
jmp 0x1000446f