Function at 0x1007e4c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1240
call fcn.10212f90
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
mov dword [ebp - 0x11bc], ecx
mov dword [ebp - 0x11c4], esi
mov dword [ebp - 0x11ac], ebx
test eax, 0xfffffffc
je 0x1007ea5a
mov eax, dword [0x1025a378]
cmp eax, 0xffffffff
je 0x1007e56a
cmp dword [0x1025a37c], 0xffffffff
je 0x1007e56a
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov dword [ebp - 0x11b0], 0
mov dword [ebp - 0x11d0], edi
test edi, edi
jne 0x1007e574
mov ecx, dword [0x1025a380]
test ecx, ecx
je 0x1007e574
lea eax, [ebp - 0x11b0]
push eax
call ecx
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push dword [0x1025a378]
call esi
push dword [ebp - 0x11b0]
push dword [0x1025a37c]
call esi
mov esi, dword [ebp - 0x11c4]
jmp 0x1007e574
mov dword [ebp - 0x11d0], 0
push 1
push dword [esi]
lea eax, [ebp - 0x11cc]
mov ecx, 0x1025a3a8
push eax
call fcn.10004c40
push 0x10ab
mov dword [ebp - 0x11b4], 0
call fcn.10213511
add esp, 4
test eax, eax
je 0x1007f421
lea ecx, [eax + 0x23]
xor edx, edx
and ecx, 0xffffffe0
mov dword [ebp - 0x11a8], edx
or esi, 0xffffffff
mov dword [ecx - 4], eax
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
mov dword [ecx + 8], ecx
mov word [ecx + 0xc], 0x101
mov eax, dword [ebx + 4]
mov dword [ebp - 0x11b8], ecx
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1007e9f3
mov esi, dword [ecx + edx*4]
lea eax, [edx*4]
test esi, esi
je 0x1007e639
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1007e61c
call fcn.10003ae0
cmp dword [eax + 0x140], 2
jne 0x1007e611
mov eax, dword [eax + 0x3c]
jmp 0x1007e613
xor eax, eax
test eax, eax
je 0x1007e61c
push esi
call eax
jmp 0x1007e623
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1007e639
test al, 0x10
jne 0x1007e639
mov edi, 1
mov dword [ebp - 0x11c8], edi
jmp 0x1007e645
mov dword [ebp - 0x11c8], 2
xor edi, edi
push 0x1044
lea eax, [ebp - 0x1168]
mov dword [ebp - 0x1198], 0
push 0
push eax
mov dword [ebp - 0x1194], 0
mov dword [ebp - 0x1190], 0
mov dword [ebp - 0x118c], 0
mov dword [ebp - 0x1188], 0
mov dword [ebp - 0x1184], 0
mov dword [ebp - 0x1180], 0
mov dword [ebp - 0x117c], 0
mov dword [ebp - 0x1178], 0
mov dword [ebp - 0x1174], 0
mov dword [ebp - 0x1170], 0
mov dword [ebp - 0x116c], 0
call fcn.102134e7
mov ecx, dword [ebp - 0x11a8]
add esp, 0xc
mov esi, dword [ebx]
lea eax, [ecx*4]
add esi, eax
lea ecx, [ebp - 0x11b8]
push esi
lea eax, [ebp - 0x1220]
push eax
call fcn.10020fd0
mov ebx, dword [ebp - 0x1218]
cmp byte [ebx + 0xd], 0
jne 0x1007e74b
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x1007f417
mov ecx, dword [esi]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1007e736
test dx, dx
je 0x1007e732
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1007e736
add ecx, 4
add eax, 4
test dx, dx
jne 0x1007e710
xor eax, eax
jmp 0x1007e73b
sbb eax, eax
or eax, 1
test eax, eax
js 0x1007e74b
cmp ebx, dword [ebp - 0x11b8]
jne 0x1007e9cb
test edi, edi
je 0x1007ebb4
mov ebx, dword [ebp - 0x11ac]
lea eax, [ebp - 0x1198]
mov ecx, dword [ebp - 0x11a8]
push 0
push eax
mov eax, dword [ebx]
lea esi, [ecx*4]
push dword [eax + esi]
call fcn.100e7230
mov eax, dword [ebx]
add esp, 0xc
push dword [eax + esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
call fcn.10003980
test eax, eax
je 0x1007f417
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x11a4]
push esi
mov dword [ebp - 0x11a4], eax
call fcn.10004a70
test al, al
jne 0x1007e7df
test esi, esi
jne 0x1007e7be
xor ecx, ecx
jmp 0x1007e7d2
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007e7c3
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x11a4]
call fcn.10004050
mov edi, dword [ebp - 0x11a4]
mov esi, dword [edi - 0xc]
test esi, esi
js 0x1007f42b
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or ecx, eax
jge 0x1007e813
push esi
lea ecx, [ebp - 0x11a4]
call fcn.10003eb0
mov edi, dword [ebp - 0x11a4]
lea eax, [esi + 1]
push eax
push edi
call fcn.10201330
add esp, 8
cmp esi, dword [edi - 8]
jg 0x1007f42b
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
call fcn.10003980
test eax, eax
je 0x1007f417
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x119c]
mov dword [ebp - 0x119c], eax
lea eax, [ebp - 0x944]
push eax
call fcn.10004a70
test al, al
jne 0x1007e892
lea ecx, [ebp - 0x944]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007e870
sub ecx, edx
lea eax, [ebp - 0x944]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x119c]
call fcn.10004050
mov esi, dword [ebp - 0x119c]
mov ebx, dword [esi - 0xc]
test ebx, ebx
js 0x1007f42b
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or ecx, eax
jge 0x1007e8c6
push ebx
lea ecx, [ebp - 0x119c]
call fcn.10003eb0
mov esi, dword [ebp - 0x119c]
lea eax, [ebx + 1]
push eax
push esi
call fcn.10201330
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x1007f42b
mov ecx, dword [ebp + 8]
xor eax, eax
add ecx, 0x20
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov eax, dword [ecx]
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x11a4]
push eax
lea eax, [ebp - 0x122c]
push eax
call fcn.10020fd0
mov ebx, dword [ebp - 0x1224]
cmp byte [ebx + 0xd], 0
jne 0x1007e931
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x11a4]
push eax
lea ecx, [ecx + 0x20]
call fcn.10023540
test al, al
jne 0x1007e931
mov ecx, dword [ebp + 8]
jmp 0x1007e937
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x20]
cmp ebx, dword [ebp - 0x11a0]
je 0x1007ea6d
mov eax, dword [ecx + 0x18]
add ecx, 0x18
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x119c]
push eax
lea eax, [ebp - 0x1238]
push eax
call fcn.10020fd0
mov ebx, dword [ebp - 0x1230]
cmp byte [ebx + 0xd], 0
jne 0x1007e988
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x119c]
push eax
lea ecx, [ecx + 0x18]
call fcn.10023540
test al, al
je 0x1007e98e
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 0x18]
cmp ebx, dword [ebp - 0x11a0]
je 0x1007ea6d
or ebx, 0xffffffff
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007e9b4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1007e9cb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or esi, 0xffffffff
mov ebx, dword [ebp - 0x11ac]
mov edx, dword [ebp - 0x11a8]
inc edx
mov dword [ebp - 0x11a8], edx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x1007e5e2
push dword [ebp - 0x11d0]
mov ecx, 0x1025a378
call fcn.10009a80
mov eax, dword [ebp - 0x11b8]
push dword [eax + 4]
lea eax, [ebp - 0x11b8]
push eax
mov ecx, eax
call fcn.10079b20
mov eax, dword [ebp - 0x11b8]
mov ecx, dword [eax - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f421
push 0x10ab
push ecx
call fcn.102134ff
mov edx, dword [ebp - 0x11cc]
add esp, 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1007ea5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x11ac]
mov ebx, dword [ecx]
mov ecx, dword [ebp - 0x11a8]
lea eax, [ecx*4]
add ebx, eax
lea ecx, [ebp - 0x11b8]
push ebx
lea eax, [ebp - 0x1208]
mov dword [ebp - 0x11c0], ebx
push eax
call fcn.10020fd0
mov eax, dword [ebp - 0x1200]
mov dword [ebp - 0x11a0], eax
cmp byte [eax + 0xd], 0
jne 0x1007eace
add eax, 0x10
lea ecx, [ebp - 0x11b8]
push eax
push ebx
call fcn.10023540
test al, al
jne 0x1007eace
mov eax, dword [ebp - 0x11a0]
jmp 0x1007eb6b
cmp dword [ebp - 0x11b4], 0xf7c5e
je 0x1007f426
mov eax, dword [ebp - 0x11b8]
push 0x10ab
mov dword [ebp - 0x11a0], eax
call fcn.10213511
add esp, 4
test eax, eax
je 0x1007f421
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
mov eax, dword [ebp - 0x11c0]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10004ba0
add eax, 0x10
push 0x34
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x14]
push 0
push eax
call fcn.102134e7
push 0x1040
lea eax, [ebx + 0x48]
push 0
push eax
call fcn.102134e7
mov eax, dword [ebp - 0x11a0]
lea ecx, [ebp - 0x11b8]
add esp, 0x1c
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 0
push ebx
push dword [ebp - 0x1204]
push dword [ebp - 0x1208]
call fcn.10007940
push 0x1074
lea ecx, [ebp - 0x1198]
add eax, 0x14
push ecx
push eax
call fcn.102134e1
or ebx, 0xffffffff
add esp, 0xc
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1007eb9d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1007ebb4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x11ac]
mov ecx, dword [ebp - 0x11a8]
push 1
mov eax, dword [eax]
push dword [eax + ecx*4]
lea eax, [ebp - 0x11b0]
mov ecx, 0x1025a3a8
push eax
call fcn.10004c40
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x11b0]
mov edx, eax
mov dword [ebp - 0x38], 7
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1007ebf7
sub edx, esi
lea ecx, [ebp - 0x4c]
sar edx, 1
push edx
push eax
call fcn.10008240
mov eax, dword [ebp - 0x11c4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov word [ebp - 0x34], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007ec31
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.10008240
mov edi, dword [ebp - 0x20]
mov eax, edi
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
cmp edx, eax
jbe 0x1007ec7f
mov eax, esi
sub eax, edx
cmp eax, ecx
jb 0x1007ec7f
lea eax, [ebp - 0x34]
cmp edi, 8
jb 0x1007ec71
mov eax, dword [ebp - 0x34]
push ecx
push eax
push 0
lea ecx, [ebp - 0x4c]
call fcn.10051a40
jmp 0x1007ec94
lea eax, [ebp - 0x4c]
cmp esi, 8
jb 0x1007ec8a
mov eax, dword [ebp - 0x4c]
push edx
push eax
lea ecx, [ebp - 0x34]
call fcn.10007e60
mov edx, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x10], ecx
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 8], eax
xor eax, eax
mov word [edx], ax
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x64]
push 0x8000
push eax
call fcn.10094570
mov edx, dword [ebp - 8]
add esp, 0xc
cmp edx, 8
jb 0x1007ed25
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007ed1b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f421
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1007ed73
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007ed69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f421
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1007edc1
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1007edb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007f421
push edx
push ecx
call fcn.102134ff
add esp, 8
push 9
xor eax, eax
mov dword [ebp - 0xc], 0
push str.proc_file
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.10008240
mov edi, dword [ebp - 0x11bc]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x11fc]
add edi, 8
push eax
mov ecx, edi
call fcn.10021060
mov esi, dword [ebp - 0x11f4]
cmp byte [esi + 0xd], 0
jne 0x1007ee3b
cmp dword [esi + 0x24], 0x10
lea edx, [esi + 0x10]
jb 0x1007ee17
mov edx, dword [esi + 0x10]
cmp dword [ebp - 0x50], 0x10
lea ecx, [ebp - 0x64]
jb 0x1007ee23
mov ecx, dword [ebp - 0x64]
push dword [esi + 0x20]
push edx
push dword [ebp - 0x54]
push ecx
call fcn.1000c3c0
add esp, 0x10
test eax, eax
jns 0x1007eeb8
cmp dword [edi + 4], 0x5555555
je 0x1007f426
mov ebx, dword [edi]
push 0x30
call fcn.10213511
mov edi, eax
add esp, 4
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x10]
call fcn.1000cc60
push 0x40
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10213511
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x28], eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
push edi
push dword [ebp - 0x11f8]
mov dword [edi + 8], ebx
push dword [ebp - 0x11fc]
mov word [edi + 0xc], 0
mov edi, dword [ebp - 0x11bc]
add edi, 8
mov ecx, edi
call fcn.10007940
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x1214]
lea ebx, [esi + 0x28]
push eax
mov ecx, ebx
call fcn.100210f0
mov esi, dword [ebp - 0x120c]
cmp byte [esi + 0xd], 0
jne 0x1007ef09
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x1007eee5
mov edx, dword [esi + 0x10]
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
jb 0x1007eef1
mov ecx, dword [ebp - 0x1c]
push dword [esi + 0x20]
push edx
push dword [ebp - 0xc]
push ecx
call fcn.100215c0
add esp, 0x10
test eax, eax
jns 0x1007ef9a
cmp dword [ebx + 4], 0x3ffffff
je 0x1007f426
mov esi, dword [ebx]
push 0x40
call fcn.10213511
mov edx, eax
add esp, 4
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov ecx, dword [ebp - 0x1c]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edx + 0x18], ecx
mov ecx, ebx
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [edx + 0x24], eax
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
push edx
push dword [ebp - 0x1210]
mov dword [edx + 0x38], eax
push dword [ebp - 0x1214]
mov dword [edx + 0x3c], 7
mov word [edx + 0x28], ax
mov dword [edx], esi
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov word [edx + 0xc], ax
call fcn.10007940
mov esi, eax
mov eax, dword [ebp - 0x11c4]
mov edx, dword [eax]
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007efa7
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x28]
call fcn.10008240
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x1007efd5
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.10062f40
push 8
xor eax, eax
mov dword [ebp - 0x24], 0
push str.dll_file
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.10008240
mov ecx, dword [ebp - 0x11ac]
mov edx, dword [ebp - 0x11a8]
mov eax, dword [ecx]
lea ecx, [edx*4]
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x11a0], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x11e4]
push eax
call fcn.10021060
mov ebx, dword [ebp - 0x11dc]
lea eax, [ebp - 0x64]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x119c], ebx
call fcn.1007a1d0
test al, al
jne 0x1007f0c7
cmp dword [edi + 4], 0x5555555
je 0x1007f426
mov ebx, dword [edi]
mov ecx, edi
push 1
call fcn.1004f9d0
mov edi, eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [edi + 0x10]
call fcn.1000cc60
push 1
lea ecx, [edi + 0x28]
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.1008b050
mov ecx, dword [ebp - 0x11bc]
push edi
push dword [ebp - 0x11e0]
mov dword [eax], eax
push dword [ebp - 0x11e4]
mov dword [eax + 4], eax
lea ecx, [ecx + 8]
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x28], eax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], 0
call fcn.10007940
mov ebx, eax
mov dword [ebp - 0x119c], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x11f0]
lea esi, [ebx + 0x28]
push eax
mov ecx, esi
call fcn.100210f0
mov edi, dword [ebp - 0x11e8]
cmp byte [edi + 0xd], 0
jne 0x1007f114
cmp dword [edi + 0x24], 8
lea edx, [edi + 0x10]
jb 0x1007f0f4
mov edx, dword [edi + 0x10]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
jb 0x1007f100
mov ecx, dword [ebp - 0x34]
push dword [edi + 0x20]
push edx
push dword [ebp - 0x24]
push ecx
call fcn.100215c0
add esp, 0x10
test eax, eax
jns 0x1007f177
cmp dword [esi + 4], 0x3ffffff
je 0x1007f426
mov ebx, dword [esi]
mov ecx, esi
push 1
call fcn.1008b050
mov edi, eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [edi + 0x10]
call fcn.10006a50
mov ecx, dword [ebp - 0x119c]
xor eax, eax
push edi
push dword [ebp - 0x11ec]
mov dword [edi + 0x38], 0
push dword [ebp - 0x11f0]
mov dword [edi + 0x3c], 7
lea ecx, [ecx + 0x28]
mov word [edi + 0x28], ax
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov word [edi + 0xc], ax
call fcn.10007940
mov edi, eax
mov edx, dword [ebp - 0x11a0]
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1007f184
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x28]
call fcn.10008240
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x1007f1b2
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.10062f40
lea eax, [ebp - 0x73c]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1009b5f0
add esp, 8
mov dword [ebp - 0x119c], eax
cmp dword [eax + 0x14], 8
jb 0x1007f1dc
mov eax, dword [eax]
mov dword [ebp - 0x119c], eax
lea eax, [ebp - 0xf5c]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.1009b5f0
add esp, 8
mov dword [ebp - 0x11a4], eax
cmp dword [eax + 0x14], 8
jb 0x1007f206
mov eax, dword [eax]
mov dword [ebp - 0x11a4], eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.1009b5f0
add esp, 8
mov dword [ebp - 0x11d4], eax
cmp dword [eax + 0x14], 8
jb 0x1007f230
mov eax, dword [eax]
mov dword [ebp - 0x11d4], eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.1009b5f0
add esp, 8
mov dword [ebp - 0x11c0], eax
cmp dword [eax + 0x14], 8
jb 0x1007f25a
mov eax, dword [eax]
mov dword [ebp - 0x11c0], eax
lea eax, [ebp - 0x1164]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1009b5f0
mov ebx, eax
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x1007f27a
mov ebx, dword [ebx]
lea eax, [ebp - 0x944]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.1009b5f0
mov edi, eax
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x1007f29a
mov edi, dword [edi]
mov edx, dword [ebp - 0x11a8]
mov eax, dword [ebp - 0x11ac]
push dword [ebp - 0x11b0]
lea ecx, [edx*4]
mov eax, dword [eax]
add eax, ecx
mov dword [ebp - 0x11d8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009b5f0
add esp, 8
mov dword [ebp - 0x11a0], eax
cmp dword [eax + 0x14], 8
jb 0x1007f2dd
mov eax, dword [eax]
mov dword [ebp - 0x11a0], eax
push dword [ebp - 0x11cc]
lea eax, [ebp - 0x34]
push eax
call fcn.1009b5f0
mov esi, eax
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x1007f2f9
mov esi, dword [esi]
push dword [ebp - 0x11c8]
mov eax, dword [ebp - 0x11d8]
push dword [ebp - 0x119c]
push dword [ebp - 0x11a4]
push dword [ebp - 0x11d4]
push dword [ebp - 0x11c0]
push ebx
push edi
push dword [eax]
call fcn.100e58b0
add esp, 4
push eax
push dword [ebp - 0x11a0]
lea eax, [ebp - 0x4c]
push esi
push 0x6e
push 0x6e
push str._type_:_d__rule_group_id_:__d__t_t_t_t_t_t_t_t_t_t___process_:__s__t_t_t_t_t_t_t_t_t_t___process_dll_:__s__t_t_t_t_t_t_t_t_t_t___file_size_:_d_t_t_t_t_t_t_t_t_t_t___company_name_:__s__t_t_t_t_t_t_t_t_t_t___internal_name_:__s__t_t_t_t_t_t_t_t_t_t___product_name_:__s__t_t_t_t_t_t_t_t_t_t___product_version_:__s__t_t_t_t_t_t_t_t_t_t___file_desc_:__s__t_t_t_t_t_t_t_t_t_t___legal_cprt_:__s__t_t_t_t_t_t_t_t_t_t___process_dllexists_:_d
push eax
call fcn.1009b0a0
add esp, 0x38
lea ecx, [ebp - 0x94]
mov esi, eax
lea eax, [ebp - 0x64]
push eax
call fcn.1000cc60
push esi
lea ecx, [ebp - 0x7c]
call fcn.10006a50
mov ecx, dword [ebp - 0x11bc]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x1240]
push eax
call fcn.1007aa60
lea ecx, [ebp - 0x7c]
call fcn.1001d6d0
lea ecx, [ebp - 0x94]
call fcn.1000d2b0
lea ecx, [ebp - 0x4c]
call fcn.1001d6d0
lea ecx, [ebp - 0x34]
call fcn.1001d6d0
lea ecx, [ebp - 0x1c]
call fcn.1001d6d0
lea ecx, [ebp - 0x124]
call fcn.1001d6d0
lea ecx, [ebp - 0x10c]
call fcn.1001d6d0
lea ecx, [ebp - 0xf4]
call fcn.1001d6d0
lea ecx, [ebp - 0xdc]
call fcn.1001d6d0
lea ecx, [ebp - 0xc4]
call fcn.1001d6d0
lea ecx, [ebp - 0xac]
call fcn.1001d6d0
lea ecx, [ebp - 0x64]
call fcn.1000d2b0
mov edx, dword [ebp - 0x11b0]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1007e9ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1007e9ce
push 0x80004005
call fcn.100030c0
call fcn.10200ab0
call fcn.10007b50
push 0x80070057
call fcn.100030c0
int3