Function at 0x10012eb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [0x100a80a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x27c]
mov dword [ebp - 0xae8], 0
push 0
push eax
mov ebx, edx
mov dword [ebp - 0xae4], 0
mov esi, ecx
mov dword [ebp - 0xadc], 0
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xb30]
add esp, 0xc
mov dword [ebx + 0x90], 0
test eax, eax
jne 0x10012f74
lea eax, [ebp - 0xab4]
mov dword [ebp - 0xab4], esi
mov esi, dword [0x100a9564]
mov ecx, esi
push eax
call dword [0x100ae518]
call esi
mov esi, eax
test esi, esi
jns 0x10012f56
mov ecx, ebx
call fcn.10013e50
mov ecx, esi
call fcn.10017f50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1500
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xab0]
mov dword [ebx + 0xb30], eax
mov eax, dword [ebp - 0xaa4]
mov dword [ebx + 0xb3c], eax
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a951c]
mov ecx, esi
mov dword [ebp - 0xad8], eax
lea eax, [ebp - 0x280]
mov dword [ebp - 0xad0], eax
lea eax, [ebp - 0xad8]
push eax
mov dword [ebp - 0xad4], 1
mov dword [ebp - 0xacc], 0x20c
mov dword [ebp - 0x280], 0
call dword [0x100ae518]
call esi
test eax, eax
jns 0x10012fd9
push 0x10004358
lea eax, [ebp - 0x27c]
push 0x104
push eax
call dword [sym.imp.msvcrt.dll_wcscpy_s]
add esp, 0xc
xor eax, eax
push 8
push eax
mov word [ebp - 0x76], ax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebx + 0x680], eax
test eax, eax
jne 0x10013017
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10013017
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx + 0x680], eax
mov esi, dword [ebx + 0x680]
test esi, esi
jne 0x10013052
mov ecx, ebx
call fcn.10013e50
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.100a1500
mov esp, ebp
pop ebp
ret
mov ecx, 0x10004358
lea eax, [ebp - 0x27c]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10013086
test dx, dx
je 0x10013082
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10013086
add eax, 4
add ecx, 4
test dx, dx
jne 0x10013060
xor ecx, ecx
jmp 0x1001308b
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 0x100130d5
push 0x10004374
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebx + 0x11ac]
mov esi, eax
push ecx
mov ecx, esi
call dword [0x100ae518]
call esi
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a951c]
mov ecx, esi
mov dword [ebp - 0xa9c], eax
lea eax, [ebp - 0xadc]
mov dword [ebp - 0xa94], eax
lea eax, [ebp - 0xa9c]
push eax
mov dword [ebp - 0xa98], 0xb
mov dword [ebp - 0xa90], 4
call dword [0x100ae518]
call esi
test eax, eax
js 0x10013129
cmp dword [ebp - 0xadc], 0
jne 0x10013d5d
push 0x10004388
push dword [ebx + 0x680]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [ebp - 0xaa0], edi
test edi, edi
je 0x10013d5d
mov edx, dword [0x100a94ec]
mov esi, 0xc0000001
mov dword [ebp - 0xa8c], edx
test edx, edx
je 0x10012f37
mov eax, dword [ebx + 0xb30]
xor ecx, ecx
mov dword [ebp - 0xab8], ecx
mov dword [ebp - 0xab4], ecx
mov dword [ebp - 0xab0], ecx
mov dword [ebp - 0xaac], ecx
mov dword [ebp - 0xaa8], ecx
mov dword [ebp - 0xaa4], ecx
mov dword [ebp - 0xabc], ecx
or ecx, 1
mov dword [ebp - 0xac4], eax
lea eax, [ebp - 0xac4]
mov dword [ebp - 0xac0], ecx
mov ecx, edx
push eax
call dword [0x100ae518]
call dword [ebp - 0xa8c]
mov ecx, dword [ebp - 0xabc]
mov esi, eax
mov dword [ebx], ecx
test esi, esi
js 0x10012f37
push 0x7f4
lea eax, [ebp - 0xa74]
mov dword [ebp - 0xb34], 0x100111f0
push 0
push eax
mov dword [ebp - 0xb30], 0x10010000
mov dword [ebp - 0xb2c], 0x10011240
mov dword [ebp - 0x44], 0xf000
mov dword [ebp - 0x40], 0xe000
mov dword [ebp - 0x3c], 0xd000
mov dword [ebp - 0x38], 0xc001
mov dword [ebp - 0x34], 0xb003
mov dword [ebp - 0x30], 0xa002
mov dword [ebp - 0x2c], 0x9001
mov dword [ebp - 0x28], 0x8001
mov dword [ebp - 0x24], 0x7001
mov dword [ebp - 0x20], 0x6003
mov dword [ebp - 0x1c], 0x5002
mov dword [ebp - 0x18], 0x5001
mov dword [ebp - 0x14], 0x4002
mov dword [ebp - 0x10], 0x3004
mov dword [ebp - 0xc], 0x2003
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xb34]
add esp, 0xc
mov ecx, dword [ebx + 0xb38]
mov dword [ebp - 0xa80], eax
mov eax, dword [ebx + 0xb3c]
mov dword [ebp - 0xa78], eax
lea eax, [ebp - 0xa88]
push eax
mov dword [ebp - 0xa88], 0xfffffffe
mov dword [ebp - 0xa84], 0x808
mov dword [ebp - 0xa7c], ecx
call dword [sym.imp.USER32.dll_DisplayConfigGetDeviceInfo]
test eax, eax
je 0x100132b8
mov eax, 0x3e8
jmp 0x1001332d
mov eax, dword [ebp - 0x730]
mov esi, dword [ebp - 0x744]
cmp eax, 0x4b0
jne 0x100132e2
cmp esi, 0x1002
je 0x100132db
cmp esi, 0x4d4f4351
jne 0x100132e2
mov esi, 0xd
jmp 0x1001332f
lea eax, [ebp - 0xa8c]
push eax
call dword [sym.imp.api_ms_win_appmodel_unlock_l1_1_0.dll_IsDeveloperModeEnabled]
test eax, eax
js 0x100132fc
cmp dword [ebp - 0xa8c], 0
jne 0x10013327
cmp esi, 0x1002
jne 0x1001330b
call fcn.1000f4c0
jmp 0x10013327
cmp esi, 0x10de
jne 0x1001331a
call fcn.1000f590
jmp 0x10013327
cmp esi, 0x8086
jne 0x10013327
call fcn.1000f3f0
mov eax, dword [ebp - 0x730]
xor esi, esi
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 - 0xab8], eax
mov eax, dword [ebp + esi*4 - 0x44]
mov dword [ebp - 0xa8c], eax
mov dword [ebp - 0xab0], eax
lea eax, [ebp - 0xb34]
mov dword [ebp - 0xab4], 8
mov dword [ebp - 0xaa4], 0
mov dword [ebp - 0xaac], eax
mov dword [ebp - 0xaa8], ecx
jne 0x100133cb
lea eax, [ebp - 0xab8]
mov ecx, edi
push eax
call dword [0x100ae518]
call edi
mov edi, eax
test edi, edi
jns 0x10013422
inc esi
cmp esi, 0xf
jae 0x10013db7
mov edi, dword [ebp - 0xaa0]
jmp 0x1001334e
mov esi, dword [ebx + 0x11ac]
lea eax, [ebp - 0xad8]
push eax
lea eax, [ebx + 0xb34]
mov dword [ebp - 0xacc], 1
push eax
lea eax, [ebp - 0xab8]
mov dword [ebp - 0xad8], 0
push eax
mov ecx, esi
mov dword [ebp - 0xad0], 0
mov dword [ebp - 0xad4], 0
call dword [0x100ae518]
call esi
mov edi, eax
test edi, edi
js 0x10013db7
mov eax, dword [ebp - 0xab8]
and dword [ebx + 0x8c], 0xffffffdf
mov dword [ebx + 0xb1c], eax
mov eax, dword [ebp - 0xaa4]
mov dword [ebx + 0x1184], eax
cmp eax, 1
jbe 0x1001349b
mov dword [ebx + 0x1174], 0
mov dword [ebx + 0x1178], 0
mov dword [ebp - 0xb18], 0
mov dword [ebp - 0xb14], 0
mov dword [ebp - 0xb10], 0
mov dword [ebp - 0xb0c], 0
mov dword [ebp - 0xb08], 0
mov dword [ebp - 0xb04], 0
jmp 0x100135b7
push 0x30
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x100134c8
mov ecx, ebx
call fcn.10013e50
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1500
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov esi, dword [0x100a9530]
mov ecx, esi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 8
call dword [0x100ae518]
call esi
mov esi, eax
test esi, esi
js 0x10012f37
mov dword [edi + 0x2c], 0
test byte [ebx + 0x8c], 0x20
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xb14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xb10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xb0c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb08], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x1174], edi
mov dword [ebx + 0x1178], edi
mov dword [ebp - 0xb04], eax
je 0x10013579
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xaf8], eax
mov dword [ebp - 0xaf4], ecx
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x18], eax
test byte [ebx + 0x8c], 0x20
je 0x100135b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
xor eax, eax
lea esi, [ebx + 0x68c]
push 0x23c
push eax
push esi
mov dword [ebp - 0xbd4], eax
mov dword [ebp - 0xbd0], eax
mov dword [ebp - 0xb6c], eax
mov dword [ebp - 0xb68], eax
mov dword [ebp - 0xb64], eax
mov dword [ebp - 0xb60], eax
mov dword [ebp - 0xb40], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0xa8c]
add esp, 0xc
and dword [ebp - 0xafc], 2
mov dword [ebp - 0xb20], eax
lea eax, [ebp - 0xc40]
mov dword [ebp - 0xb1c], eax
lea eax, [ebp - 0xb28]
mov dword [ebp - 0xc40], 0x10010c80
mov dword [ebp - 0xc3c], 0x10010d60
mov dword [ebp - 0xc38], 0x10011000
mov dword [ebp - 0xc34], 0x10011090
mov dword [ebp - 0xc28], 0x1000faf0
mov dword [ebp - 0xc30], 0x10010430
mov dword [ebp - 0xc2c], 0x100105e0
mov dword [ebp - 0xc24], 0x10010990
mov dword [ebp - 0xc20], 0x10010b90
mov dword [ebp - 0xc1c], 0x100112b0
mov dword [ebp - 0xc08], 0x10011360
mov dword [ebp - 0xc04], 0x10011520
mov dword [ebp - 0xc00], 0x10011660
mov dword [ebp - 0xbfc], 0x100117a0
mov dword [ebp - 0xbf8], 0x100117f0
mov dword [ebp - 0xbf4], 0x10011980
mov dword [ebp - 0xbf0], 0
mov dword [ebp - 0xc18], 0
mov dword [ebp - 0xc14], 0
mov dword [ebp - 0xc10], 0
mov dword [ebp - 0xc0c], 0
mov dword [ebp - 0xbec], 0x10010530
mov dword [ebp - 0xbe0], 0x100116f0
mov dword [ebp - 0xbdc], 0x100118b0
mov dword [ebp - 0xbd8], 0x10011a40
mov dword [ebp - 0xbe8], 0x10011c80
mov dword [ebp - 0xbe4], 0x10011cd0
mov dword [ebp - 0xbcc], 0x10011df0
mov dword [ebp - 0xbc8], 0x10011e80
mov dword [ebp - 0xbc4], 0x10011f30
mov dword [ebp - 0xbc0], 0x10011fb0
mov dword [ebp - 0xbbc], 0x10012020
mov dword [ebp - 0xbb8], 0x10012110
mov dword [ebp - 0xb84], 0x10012180
mov dword [ebp - 0xbb4], 0x10012310
mov dword [ebp - 0xbb0], 0x100123a0
mov dword [ebp - 0xbac], 0x10012400
mov dword [ebp - 0xba8], 0x10012480
mov dword [ebp - 0xba4], 0x100124d0
mov dword [ebp - 0xb9c], 0x10012590
mov dword [ebp - 0xba0], 0x10012660
mov dword [ebp - 0xb98], 0x10012740
mov dword [ebp - 0xb94], 0x100127d0
mov dword [ebp - 0xb90], 0x10012880
mov dword [ebp - 0xb8c], 0x10012a60
mov dword [ebp - 0xb88], 0x10010e10
mov dword [ebp - 0xb80], 0x10010fe0
mov dword [ebp - 0xb7c], 0x10012540
mov dword [ebp - 0xb78], 0x10011ef0
mov dword [ebp - 0xb74], fcn.10011b70
mov dword [ebp - 0xb70], 0x10010fe0
mov dword [ebp - 0xb5c], 0x10012970
mov dword [ebp - 0xb58], 0x100115d0
mov dword [ebp - 0xb54], 0x10012c20
mov dword [ebp - 0xb50], 0x100120a0
mov dword [ebp - 0xb4c], 0x10012250
mov dword [ebp - 0xb48], 0x100107a0
mov dword [ebp - 0xb44], 0x100107b0
mov dword [ebp - 0xb28], ebx
mov dword [ebp - 0xb24], 8
mov dword [ebp - 0xb00], esi
mov esi, dword [ebx + 0x8cc]
mov ecx, esi
push eax
push dword [ebx + 0xb1c]
call dword [0x100ae518]
call esi
mov esi, eax
test esi, esi
js 0x10013d90
mov ecx, dword [ebx + 0x1184]
cmp ecx, 0x4001
jb 0x100138f4
cmp dword [ebx + 0x8a4], 0
je 0x100138f4
cmp dword [ebx + 0x8a0], 0
je 0x100138f4
cmp dword [ebx + 0x8a8], 0
je 0x100138f4
cmp dword [ebx + 0x89c], 0
je 0x100138f4
cmp dword [ebx + 0x8ac], 0
je 0x100138f4
cmp ecx, 0x4001
jbe 0x100138ed
cmp dword [ebx + 0x8b4], 0
je 0x100138f4
cmp dword [ebx + 0x8b8], 0
je 0x100138f4
mov edx, 1
jmp 0x100138f6
xor edx, edx
xor eax, eax
mov dword [ebx + 0x1188], edx
cmp ecx, 0x4002
jb 0x100139ac
cmp dword [ebx + 0x6d0], eax
jne 0x1001391e
cmp dword [ebx + 0x874], eax
je 0x1001391e
xor ecx, ecx
jmp 0x10013923
mov ecx, 1
cmp dword [ebx + 0x6d4], eax
jne 0x10013937
cmp dword [ebx + 0x878], eax
je 0x10013937
xor eax, eax
jmp 0x1001393c
mov eax, 1
cmp dword [ebx + 0x6cc], 0
jne 0x10013952
cmp dword [ebx + 0x870], 0
je 0x10013952
or eax, ecx
jmp 0x10013957
mov eax, 1
cmp dword [ebx + 0x720], 0
jne 0x1001396d
cmp dword [ebx + 0x88c], 0
je 0x1001396d
xor ecx, ecx
jmp 0x10013972
mov ecx, 1
or eax, ecx
test edx, edx
je 0x100139ac
cmp dword [ebx + 0x730], 0
jne 0x1001398a
cmp dword [ebx + 0x89c], 0
jne 0x1001398f
mov eax, 1
cmp dword [ebx + 0x72c], 0
jne 0x100139a5
cmp dword [ebx + 0x8ac], 0
je 0x100139a5
xor ecx, ecx
jmp 0x100139aa
mov ecx, 1
or eax, ecx
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
test eax, eax
jne 0x10013d90
test dword [ebx + 0x8c], 0x100
mov eax, dword [ebp - 0xb28]
mov dword [ebx + 0x684], eax
mov eax, 0x10012d90
jne 0x100139e2
mov eax, 0x10012de0
mov dword [ebx + 0x1218], eax
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a951c]
mov ecx, esi
mov dword [ebp - 0xa9c], eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0xa94], eax
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0xa9c]
push eax
mov dword [ebp - 0xa98], 3
mov dword [ebp - 0xa90], 0x18
call dword [0x100ae518]
call esi
test eax, eax
js 0x10013d7a
mov edi, dword [ebp - 0x60]
add edi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
adc eax, dword [ebp - 0x64]
add edi, dword [ebp - 0x70]
adc eax, dword [ebp - 0x6c]
mov dword [ebp - 0xacc], eax
jne 0x10013a6a
cmp edi, 0x7fff0000
jbe 0x10013b13
lea eax, [ebp - 0xaa0]
mov dword [ebp - 0xa8c], 0
push eax
push 0x10004068
push 0x80000002
mov dword [ebp - 0xaec], 4
mov dword [ebp - 0xaa0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10013af5
lea eax, [ebp - 0xaec]
push eax
lea eax, [ebp - 0xa8c]
push eax
lea eax, [ebp - 0xaf0]
push eax
push 0
push 0x10004348
push dword [ebp - 0xaa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xaa0]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10013af5
cmp dword [ebp - 0xaf0], 4
jne 0x10013af5
cmp dword [ebp - 0xa8c], esi
je 0x10013af5
mov eax, 0x7fff0000
jmp 0x10013b07
cmp dword [ebp - 0xacc], 0
mov eax, 0xffff0000
ja 0x10013b07
cmp edi, eax
jb 0x10013b13
mov edi, eax
mov dword [ebp - 0xacc], 0
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a951c]
mov ecx, esi
mov dword [ebp - 0xa9c], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0xa94], eax
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0xa9c]
push eax
mov dword [ebx + 0x1148], edi
mov dword [ebx + 0x114c], 0
mov dword [ebp - 0xa98], 5
mov dword [ebp - 0xa90], 0xc
call dword [0x100ae518]
call esi
test eax, eax
js 0x10013d3f
mov eax, dword [ebp - 0x54]
mov edx, 0x10004394
mov dword [ebx + 0x1160], eax
mov ecx, 0xb
mov eax, dword [ebp - 0x50]
mov dword [ebx + 0x1164], eax
mov eax, dword [ebp - 0x4c]
and eax, 1
mov dword [ebx + 0x1168], eax
lea eax, [ebp - 0xae8]
push 8
push eax
call fcn.10048e50
add esp, 8
test eax, eax
jne 0x10013bc3
mov dword [ebp - 0xae8], 0x2000000
mov dword [ebp - 0xae4], eax
mov eax, dword [ebx + 0x1148]
lea edi, [ebx + 0x8d4]
mov ecx, dword [ebx + 0x114c]
lea esi, [ebx + 0x68c]
mov dword [ebx + 0x1150], 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 [ebx + 0x1154], ecx
mov ecx, 0x8f
mov dword [ebp - 0xa9c], eax
lea eax, [ebx + 0x119c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x100a951c]
mov ecx, esi
mov dword [ebp - 0xa94], eax
lea eax, [ebp - 0xa9c]
push eax
mov dword [ebp - 0xa98], 0xf
mov dword [ebp - 0xa90], 4
call dword [0x100ae518]
call esi
test eax, eax
js 0x10013d5d
mov eax, dword [ebx + 0xb30]
mov esi, dword [0x100a951c]
mov ecx, esi
mov dword [ebp - 0xa9c], eax
lea eax, [ebx + 0x1190]
mov dword [ebp - 0xa94], eax
lea eax, [ebp - 0xa9c]
push eax
mov dword [ebp - 0xa98], 0x11
mov dword [ebp - 0xa90], 0xc
call dword [0x100ae518]
call esi
test eax, eax
js 0x10013d5d
cmp dword [ebx + 0x684], 0
mov dword [ebx + 0x11a0], 0
je 0x10013d2c
cmp dword [ebx + 0x8bc], 0
je 0x10013d2c
mov eax, dword [ebx + 0xb34]
mov ecx, dword [ebx + 0xb38]
mov esi, dword [0x100a9584]
mov dword [ebp - 0xab8], eax
mov eax, dword [ebx]
mov dword [ebp - 0xab0], eax
lea eax, [ebp - 0xab8]
mov dword [ebp - 0xab4], ecx
mov ecx, esi
push eax
mov dword [ebp - 0xaa4], 0
mov dword [ebp - 0xaac], 0x10012d20
mov dword [ebp - 0xaa8], ebx
call dword [0x100ae518]
call esi
test eax, eax
jns 0x10013d20
mov ecx, ebx
call fcn.10013e50
mov eax, dword [ebp - 0xaa4]
mov dword [ebx + 0x11a8], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1500
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.10013e50
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1500
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x1148], 0
mov dword [ebx + 0x114c], 0
jmp 0x10013d5d
cmp esi, 0x88760870
jne 0x10013d9d
mov esi, 0x80004005
mov ecx, ebx
call fcn.10013e50
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a1500
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.10013e50
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a1500
mov esp, ebp
pop ebp
ret