Function at 0x10012680
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc24
mov eax, dword [0x100a20a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20c
lea eax, [ebp - 0x258]
mov dword [ebp - 0xac8], 0
push 0
push eax
mov ebx, edx
mov dword [ebp - 0xac4], 0
mov esi, ecx
mov dword [ebp - 0xabc], 0
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xb30]
add esp, 0xc
mov dword [ebx + 0x90], 0
test eax, eax
jne 0x10012744
lea eax, [ebp - 0xa8c]
mov dword [ebp - 0xa8c], esi
mov esi, dword [0x100a3548]
mov ecx, esi
push eax
call dword [0x100a8504]
call esi
mov esi, eax
test esi, esi
jns 0x10012726
mov ecx, ebx
call fcn.100135a0
mov ecx, esi
call fcn.10017740
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa88]
mov dword [ebx + 0xb30], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebx + 0xb3c], eax
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a350c]
mov ecx, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x258]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], 0x20c
call dword [0x100a8504]
call esi
test eax, eax
jns 0x10012790
push 0x1000436c
lea eax, [ebp - 0x254]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
xor eax, eax
mov word [ebp - 0x4e], ax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebx + 0x680], esi
test esi, esi
jne 0x100127e0
mov ecx, ebx
call fcn.100135a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x241
neg eax
sbb eax, eax
and eax, 0xfff93dc4
add eax, 0x80070241
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
mov ecx, 0x1000436c
lea eax, [ebp - 0x254]
jmp 0x100127f0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10012816
test dx, dx
je 0x10012812
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10012816
add eax, 4
add ecx, 4
test dx, dx
jne 0x100127f0
xor ecx, ecx
jmp 0x1001281b
sbb ecx, ecx
or ecx, 1
mov eax, dword [ebx + 0x8c]
neg ecx
sbb ecx, ecx
and eax, 0xfffffeff
and ecx, 0xffffff00
add ecx, 0x100
or ecx, eax
mov dword [ebx + 0x8c], ecx
test ecx, 0x100
je 0x10012865
push 0x10004388
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebx + 0x11ac]
mov esi, eax
push ecx
mov ecx, esi
call dword [0x100a8504]
call esi
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a350c]
mov ecx, esi
mov dword [ebp - 0xa74], eax
lea eax, [ebp - 0xabc]
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0xa74]
push eax
mov dword [ebp - 0xa70], 0xb
mov dword [ebp - 0xa68], 4
call dword [0x100a8504]
call esi
test eax, eax
js 0x100128b9
cmp dword [ebp - 0xabc], 0
jne 0x100134af
push 0x1000439c
push dword [ebx + 0x680]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0xa78], edi
test edi, edi
je 0x100134af
mov edx, dword [0x100a34dc]
mov esi, 0xc0000001
mov dword [ebp - 0xa64], edx
test edx, edx
je 0x10012707
mov eax, dword [ebx + 0xb30]
xor ecx, ecx
mov dword [ebp - 0xa90], ecx
mov dword [ebp - 0xa8c], ecx
mov dword [ebp - 0xa88], ecx
mov dword [ebp - 0xa84], ecx
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa7c], ecx
mov dword [ebp - 0xa94], ecx
or ecx, 1
mov dword [ebp - 0xa9c], eax
lea eax, [ebp - 0xa9c]
mov dword [ebp - 0xa98], ecx
mov ecx, edx
push eax
call dword [0x100a8504]
call dword [ebp - 0xa64]
mov ecx, dword [ebp - 0xa94]
mov esi, eax
mov dword [ebx], ecx
test esi, esi
js 0x10012707
push 0x7f4
lea eax, [ebp - 0xa4c]
mov dword [ebp - 0xb14], 0x10010b40
push 0
push eax
mov dword [ebp - 0xb10], 0x1000f9c0
mov dword [ebp - 0xb0c], 0x10010b90
mov dword [ebp - 0x20], 0x5002
mov dword [ebp - 0x1c], 0x5001
mov dword [ebp - 0x18], 0x4002
mov dword [ebp - 0x14], 0x3004
mov dword [ebp - 0x10], 0x2003
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xb34]
add esp, 0xc
mov dword [ebp - 0xa58], eax
mov eax, dword [ebx + 0xb38]
mov dword [ebp - 0xa54], eax
mov eax, dword [ebx + 0xb3c]
mov dword [ebp - 0xa50], eax
lea eax, [ebp - 0xa60]
push eax
mov dword [ebp - 0xa60], 0xfffffffe
mov dword [ebp - 0xa5c], 0x808
call dword [sym.imp.USER32.dll_DisplayConfigGetDeviceInfo]
test eax, eax
jne 0x10012a2d
cmp dword [ebp - 0x708], 0x4b0
lea eax, [ebp - 0x720]
jne 0x10012a2f
mov ecx, dword [ebp - 0x71c]
cmp ecx, 0x1002
je 0x10012a23
cmp ecx, 0x4d4f4351
jne 0x10012a2f
mov eax, dword [eax + 0x18]
mov esi, 3
jmp 0x10012a3f
xor eax, eax
xor esi, esi
test eax, eax
je 0x10012a3a
mov eax, dword [eax + 0x18]
jmp 0x10012a3f
mov eax, 0x3e8
xor ecx, ecx
cmp eax, 0x4b0
mov eax, dword [ebx + 0x8c]
setge cl
and eax, 0xffffffbf
dec ecx
and ecx, 0x40
or ecx, eax
mov dword [ebx + 0x8c], ecx
test dword [ebx + 0x8c], 0x100
lea ecx, [ebx + 0x8c8]
mov eax, dword [ebx + 0xb30]
mov dword [ebp - 0xa90], eax
mov eax, dword [ebp + esi*4 - 0x20]
mov dword [ebp - 0xa64], eax
mov dword [ebp - 0xa88], eax
lea eax, [ebp - 0xb14]
mov dword [ebp - 0xa8c], 8
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
jne 0x10012ad7
lea eax, [ebp - 0xa90]
mov ecx, edi
push eax
call dword [0x100a8504]
call edi
mov edi, eax
test edi, edi
jns 0x10012b1f
inc esi
cmp esi, 5
jae 0x10012b37
mov edi, dword [ebp - 0xa78]
jmp 0x10012a5e
mov esi, dword [ebx + 0x11ac]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebx + 0xb34]
mov dword [ebp - 0x10], 1
push eax
lea eax, [ebp - 0xa90]
mov dword [ebp - 0x1c], 0
push eax
mov ecx, esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call dword [0x100a8504]
call esi
mov edi, eax
test edi, edi
js 0x10013509
mov eax, dword [ebp - 0xa90]
mov dword [ebx + 0xb1c], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebx + 0x1184], eax
test edi, edi
js 0x10013509
and dword [ebx + 0x8c], 0xffffffdf
cmp dword [ebx + 0x1184], 1
jbe 0x10012ba4
mov dword [ebx + 0x1174], 0
mov dword [ebx + 0x1178], 0
mov dword [ebp - 0xaf8], 0
mov dword [ebp - 0xaf4], 0
mov dword [ebp - 0xaf0], 0
mov dword [ebp - 0xaec], 0
mov dword [ebp - 0xae8], 0
mov dword [ebp - 0xae4], 0
jmp 0x10012d0b
push 0x30
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x10012bd1
mov ecx, ebx
call fcn.100135a0
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov esi, dword [0x100a3520]
mov ecx, esi
mov dword [ebp - 0xab8], eax
lea eax, [ebp - 0xab8]
push eax
mov dword [ebp - 0xab4], 0
mov dword [ebp - 0xab0], 0
mov dword [ebp - 0xaac], 0
mov dword [ebp - 0xaa8], 0
mov dword [ebp - 0xaa4], 0
mov dword [ebp - 0xaa0], 8
call dword [0x100a8504]
call esi
mov esi, eax
test esi, esi
js 0x10012707
mov dword [edi + 0x2c], 0
test byte [ebx + 0x8c], 0x20
mov eax, dword [ebp - 0xa98]
mov dword [ebp - 0xaf8], eax
mov eax, dword [ebp - 0xa94]
mov dword [ebp - 0xaf4], eax
mov eax, dword [ebp - 0xa90]
mov dword [ebp - 0xaf0], eax
mov eax, dword [ebp - 0xa8c]
mov dword [ebp - 0xaec], eax
mov eax, dword [ebp - 0xa88]
mov dword [ebp - 0xae8], eax
mov eax, dword [ebp - 0xa84]
mov dword [ebx + 0x1174], edi
mov dword [ebx + 0x1178], edi
mov dword [ebp - 0xae4], eax
je 0x10012cb2
mov eax, dword [ebp - 0xa80]
mov dword [ebp - 0xad8], eax
mov eax, dword [ebp - 0xa7c]
mov dword [ebp - 0xad4], eax
mov eax, dword [ebp - 0xa9c]
mov dword [edi], eax
mov eax, dword [ebp - 0xa98]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xa94]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa90]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0xa8c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xa88]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0xa84]
mov dword [edi + 0x18], eax
test byte [ebx + 0x8c], 0x20
je 0x10012d0b
mov eax, dword [ebp - 0xa80]
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0xa7c]
mov dword [edi + 0x24], eax
xor eax, eax
lea esi, [ebx + 0x68c]
push 0x23c
push eax
push esi
mov dword [ebp - 0xbb4], eax
mov dword [ebp - 0xbb0], eax
mov dword [ebp - 0xb4c], eax
mov dword [ebp - 0xb48], eax
mov dword [ebp - 0xb44], eax
mov dword [ebp - 0xb40], eax
mov dword [ebp - 0xb20], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xa64]
add esp, 0xc
and dword [ebp - 0xadc], 2
mov dword [ebp - 0xb00], eax
lea eax, [ebp - 0xc20]
mov dword [ebp - 0xafc], eax
lea eax, [ebp - 0xb08]
mov dword [ebp - 0xc20], 0x10010610
mov dword [ebp - 0xc1c], 0x100106e0
mov dword [ebp - 0xc18], 0x10010970
mov dword [ebp - 0xc14], 0x100109f0
mov dword [ebp - 0xc08], 0x1000f500
mov dword [ebp - 0xc10], 0x1000fdf0
mov dword [ebp - 0xc0c], 0x1000ff90
mov dword [ebp - 0xc04], 0x10010330
mov dword [ebp - 0xc00], 0x10010520
mov dword [ebp - 0xbfc], 0x10010c00
mov dword [ebp - 0xbe8], 0x10010ca0
mov dword [ebp - 0xbe4], 0x10010e50
mov dword [ebp - 0xbe0], 0x10010f80
mov dword [ebp - 0xbdc], 0x100110b0
mov dword [ebp - 0xbd8], 0x10011100
mov dword [ebp - 0xbd4], 0x10011280
mov dword [ebp - 0xbd0], 0
mov dword [ebp - 0xbf8], 0
mov dword [ebp - 0xbf4], 0
mov dword [ebp - 0xbf0], 0
mov dword [ebp - 0xbec], 0
mov dword [ebp - 0xbcc], 0x1000fef0
mov dword [ebp - 0xbc0], 0x10011000
mov dword [ebp - 0xbbc], 0x100111b0
mov dword [ebp - 0xbb8], 0x10011330
mov dword [ebp - 0xbc8], 0x10011570
mov dword [ebp - 0xbc4], 0x100115b0
mov dword [ebp - 0xbac], 0x100116c0
mov dword [ebp - 0xba8], 0x10011740
mov dword [ebp - 0xba4], 0x100117f0
mov dword [ebp - 0xba0], 0x10011860
mov dword [ebp - 0xb9c], 0x100118d0
mov dword [ebp - 0xb98], 0x100119b0
mov dword [ebp - 0xb64], 0x10011a20
mov dword [ebp - 0xb94], 0x10011b90
mov dword [ebp - 0xb90], 0x10011c20
mov dword [ebp - 0xb8c], 0x10011c70
mov dword [ebp - 0xb88], 0x10011ce0
mov dword [ebp - 0xb84], 0x10011d20
mov dword [ebp - 0xb7c], 0x10011dc0
mov dword [ebp - 0xb80], 0x10011e90
mov dword [ebp - 0xb78], 0x10011f70
mov dword [ebp - 0xb74], 0x10012000
mov dword [ebp - 0xb70], 0x100120a0
mov dword [ebp - 0xb6c], 0x10012260
mov dword [ebp - 0xb68], 0x10010780
mov dword [ebp - 0xb60], 0x10010950
mov dword [ebp - 0xb5c], 0x10011d80
mov dword [ebp - 0xb58], 0x100117b0
mov dword [ebp - 0xb54], fcn.10011460
mov dword [ebp - 0xb50], 0x10010950
mov dword [ebp - 0xb3c], 0x10012180
mov dword [ebp - 0xb38], 0x10010ef0
mov dword [ebp - 0xb34], 0x10012420
mov dword [ebp - 0xb30], 0x10011950
mov dword [ebp - 0xb2c], 0x10011ae0
mov dword [ebp - 0xb28], 0x10010150
mov dword [ebp - 0xb24], 0x10010160
mov dword [ebp - 0xb08], ebx
mov dword [ebp - 0xb04], 8
mov dword [ebp - 0xae0], esi
mov esi, dword [ebx + 0x8cc]
mov ecx, esi
push eax
push dword [ebx + 0xb1c]
call dword [0x100a8504]
call esi
mov esi, eax
test esi, esi
js 0x100134e2
mov ecx, dword [ebx + 0x1184]
cmp ecx, 0x4001
jb 0x10013048
cmp dword [ebx + 0x8a4], 0
je 0x10013048
cmp dword [ebx + 0x8a0], 0
je 0x10013048
cmp dword [ebx + 0x8a8], 0
je 0x10013048
cmp dword [ebx + 0x89c], 0
je 0x10013048
cmp dword [ebx + 0x8ac], 0
je 0x10013048
cmp ecx, 0x4001
jbe 0x10013041
cmp dword [ebx + 0x8b4], 0
je 0x10013048
cmp dword [ebx + 0x8b8], 0
je 0x10013048
mov edx, 1
jmp 0x1001304a
xor edx, edx
xor eax, eax
mov dword [ebx + 0x1188], edx
cmp ecx, 0x4002
jb 0x10013100
cmp dword [ebx + 0x6d0], eax
jne 0x10013072
cmp dword [ebx + 0x874], eax
je 0x10013072
xor ecx, ecx
jmp 0x10013077
mov ecx, 1
cmp dword [ebx + 0x6d4], eax
jne 0x1001308b
cmp dword [ebx + 0x878], eax
je 0x1001308b
xor eax, eax
jmp 0x10013090
mov eax, 1
cmp dword [ebx + 0x6cc], 0
jne 0x100130a6
cmp dword [ebx + 0x870], 0
je 0x100130a6
or eax, ecx
jmp 0x100130ab
mov eax, 1
cmp dword [ebx + 0x720], 0
jne 0x100130c1
cmp dword [ebx + 0x88c], 0
je 0x100130c1
xor ecx, ecx
jmp 0x100130c6
mov ecx, 1
or eax, ecx
test edx, edx
je 0x10013100
cmp dword [ebx + 0x730], 0
jne 0x100130de
cmp dword [ebx + 0x89c], 0
jne 0x100130e3
mov eax, 1
cmp dword [ebx + 0x72c], 0
jne 0x100130f9
cmp dword [ebx + 0x8ac], 0
je 0x100130f9
xor ecx, ecx
jmp 0x100130fe
mov ecx, 1
or eax, ecx
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x100134e2
test dword [ebx + 0x8c], 0x100
mov eax, dword [ebp - 0xb08]
mov dword [ebx + 0x684], eax
mov eax, 0x10012580
jne 0x10013136
mov eax, 0x100125c0
mov dword [ebx + 0x120c], eax
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a350c]
mov ecx, esi
mov dword [ebp - 0xa74], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0xa6c], eax
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xa74]
push eax
mov dword [ebp - 0xa70], 3
mov dword [ebp - 0xa68], 0x18
call dword [0x100a8504]
call esi
test eax, eax
js 0x100134cc
mov edi, dword [ebp - 0x38]
add edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
adc eax, dword [ebp - 0x3c]
add edi, dword [ebp - 0x48]
adc eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], eax
jne 0x100131bb
cmp edi, 0x7fff0000
jbe 0x10013265
lea eax, [ebp - 0xa78]
mov dword [ebp - 0xa64], 0
push eax
push 0x10004090
push 0x80000002
mov dword [ebp - 0xacc], 4
mov dword [ebp - 0xa78], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1001324b
lea eax, [ebp - 0xacc]
push eax
lea eax, [ebp - 0xa64]
push eax
lea eax, [ebp - 0xad0]
push eax
push 0
push 0x1000435c
push dword [ebp - 0xa78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xa78]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1001324b
cmp dword [ebp - 0xad0], 4
jne 0x1001324b
mov eax, 0xffff0000
cmp dword [ebp - 0xa64], esi
je 0x10013250
mov eax, 0x7fff0000
jmp 0x10013250
mov eax, 0xffff0000
cmp dword [ebp - 0x10], 0
jb 0x10013265
ja 0x1001325c
cmp edi, eax
jb 0x10013265
mov edi, eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a350c]
mov ecx, esi
mov dword [ebp - 0xa74], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xa6c], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xa74]
push eax
mov dword [ebx + 0x1148], edi
mov dword [ebx + 0x114c], 0
mov dword [ebp - 0xa70], 5
mov dword [ebp - 0xa68], 0xc
call dword [0x100a8504]
call esi
test eax, eax
js 0x10013491
mov eax, dword [ebp - 0x2c]
mov edx, 0x100043a8
mov dword [ebx + 0x1160], eax
mov ecx, 0xb
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x1164], eax
mov eax, dword [ebp - 0x24]
and eax, 1
mov dword [ebx + 0x1168], eax
lea eax, [ebp - 0xac8]
push 8
push eax
call fcn.10047ae0
add esp, 8
test eax, eax
jne 0x10013315
mov dword [ebp - 0xac8], 0x2000000
mov dword [ebp - 0xac4], eax
mov eax, dword [ebx + 0x1148]
lea edi, [ebx + 0x8d4]
mov dword [ebx + 0x1150], eax
lea esi, [ebx + 0x68c]
mov eax, dword [ebx + 0x114c]
mov ecx, 0x8f
mov dword [ebx + 0x1154], eax
mov eax, dword [ebx + 0x8c8]
mov dword [ebx + 0xb10], eax
mov eax, dword [ebx + 0x8cc]
mov dword [ebx + 0xb14], eax
mov eax, dword [ebx + 0x8d0]
mov dword [ebx + 0xb18], eax
mov eax, dword [ebx + 0xb30]
mov dword [ebp - 0xa74], eax
lea eax, [ebx + 0x119c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x100a350c]
mov ecx, esi
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0xa74]
push eax
mov dword [ebp - 0xa70], 0xf
mov dword [ebp - 0xa68], 4
call dword [0x100a8504]
call esi
test eax, eax
js 0x100134af
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a350c]
mov ecx, esi
mov dword [ebp - 0xa74], eax
lea eax, [ebx + 0x1190]
mov dword [ebp - 0xa6c], eax
lea eax, [ebp - 0xa74]
push eax
mov dword [ebp - 0xa70], 0x11
mov dword [ebp - 0xa68], 0xc
call dword [0x100a8504]
call esi
test eax, eax
js 0x100134af
cmp dword [ebx + 0x684], 0
mov dword [ebx + 0x11a0], 0
je 0x1001347e
cmp dword [ebx + 0x8bc], 0
je 0x1001347e
mov eax, dword [ebx + 0xb34]
mov esi, dword [0x100a3568]
mov ecx, esi
mov dword [ebp - 0xa90], eax
mov eax, dword [ebx + 0xb38]
mov dword [ebp - 0xa8c], eax
mov eax, dword [ebx]
mov dword [ebp - 0xa88], eax
lea eax, [ebp - 0xa90]
push eax
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa84], 0x10012520
mov dword [ebp - 0xa80], ebx
call dword [0x100a8504]
call esi
test eax, eax
jns 0x10013472
mov ecx, ebx
call fcn.100135a0
mov eax, dword [ebp - 0xa7c]
mov dword [ebx + 0x11a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1160], 0
mov dword [ebx + 0x1164], 0
mov dword [ebx + 0x1168], 0
mov ecx, ebx
call fcn.100135a0
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1148], 0
mov dword [ebx + 0x114c], 0
jmp 0x100134af
cmp esi, 0x88760870
jne 0x100134ef
mov esi, 0x80004005
mov ecx, ebx
call fcn.100135a0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b610
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.100135a0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009b610
mov esp, ebp
pop ebp
ret