Function at 0x10017350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cfbc
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x1009d350]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1cc], edx
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 4], 2
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c4], ebx
mov byte [ebp - 4], 3
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c0], edi
mov byte [ebp - 4], 4
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 4], 5
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
mov dword [ebp - 0x20], 0x61766441
mov dword [ebp - 0x1b], 0x2e323369
mov word [ebp - 0x16], 0x6c6c
mov byte [ebp - 0x1c], 0x70
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x17], 0x64
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x194], esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x10017444
movzx ecx, ax
call fcn.100017b9
test eax, eax
je 0x1001746f
lea edx, [ebp - 0x20]
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x194]
call fcn.10007221
jmp 0x10017469
lea ecx, [ebp - 0x20]
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017450
sub ecx, edx
push ecx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x194]
call fcn.100081be
mov esi, dword [ebp - 0x194]
lea edx, [esi - 0x10]
lea ecx, [ebx - 0x10]
mov byte [ebp - 4], 7
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x19c], ecx
cmp edx, ecx
je 0x100174eb
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
jl 0x100174d0
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100174d0
mov ecx, edx
call fcn.10008296
mov dword [ebp - 0x1b0], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x100174c5
mov esi, dword [ebp - 0x19c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1b0]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c4], ebx
jmp 0x100174e5
push dword [esi - 0xc]
lea ecx, [ebp - 0x1c4]
push esi
call fcn.100081be
mov ebx, dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x198]
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017506
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
mov dword [ebp - 0x26], 0x6e656b6f
mov dword [ebp - 0x2c], 0x74695773
mov word [ebp - 0x36], 0x6165
mov word [ebp - 0x30], 0x636f
mov word [ebp - 0x33], 0x5065
mov word [ebp - 0x28], 0x5468
mov word [ebp - 0x2e], 0x7365
mov word [ebp - 0x38], 0x7243
mov word [ebp - 0x22], 0x57
mov byte [ebp - 0x31], 0x72
mov byte [ebp - 0x34], 0x74
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x194], esi
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
test eax, 0xffff0000
jne 0x1001758b
movzx ecx, ax
call fcn.100017b9
test eax, eax
je 0x100175b0
lea edx, [ebp - 0x38]
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x194]
call fcn.10007221
jmp 0x100175aa
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017591
sub ecx, edx
push ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x194]
call fcn.100081be
mov esi, dword [ebp - 0x194]
lea edx, [esi - 0x10]
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x19c], ecx
cmp edx, ecx
je 0x10017634
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x10017619
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10017619
mov ecx, edx
call fcn.10008296
or esi, 0xffffffff
mov dword [ebp - 0x1b0], eax
mov ecx, esi
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x10017608
mov edi, dword [ebp - 0x19c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x198]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c0], edi
jmp 0x10017637
push dword [esi - 0xc]
lea ecx, [ebp - 0x1c0]
push esi
call fcn.100081be
mov edi, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x198]
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x19c]
mov word [ebp - 0x40], 0x652e
mov dword [ebp - 0x45], 0x65726f6c
mov word [ebp - 0x48], 0x7865
mov word [ebp - 0x3d], 0x65
mov byte [ebp - 0x41], 0x72
mov byte [ebp - 0x46], 0x70
mov byte [ebp - 0x3e], 0x78
call fcn.1000608b
push eax
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 0xa
call fcn.100060ed
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x19c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100176b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100176d2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100a072c], eax
jmp 0x100176d7
mov eax, dword [0x100a072c]
test eax, eax
je 0x10017de0
lea eax, [ebp - 0x58]
push eax
mov word [ebp - 0x57], 0x7265
mov word [ebp - 0x4e], 0x6c6c
mov word [ebp - 0x54], 0x6c65
mov word [ebp - 0x51], 0x2e32
mov byte [ebp - 0x55], 0x6e
mov byte [ebp - 0x4f], 0x64
mov byte [ebp - 0x4c], 0
mov byte [ebp - 0x52], 0x33
mov byte [ebp - 0x58], 0x4b
mov dword [ebp - 0x5f], 0x7478654e
mov word [ebp - 0x65], 0x6563
mov word [ebp - 0x68], 0x7250
mov dword [ebp - 0x63], 0x32337373
mov byte [ebp - 0x5b], 0
mov byte [ebp - 0x66], 0x6f
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1bc], eax
test eax, eax
je 0x10017de0
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x19c], eax
test eax, eax
je 0x10017dd4
xor eax, eax
push eax
push 2
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x190], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x1a0], eax
cmp eax, 0xffffffff
je 0x10017845
lea ecx, [ebp - 0x190]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x10017839
mov esi, dword [ebp - 0x1a4]
jmp 0x100177b0
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x194]
call fcn.1000608b
push esi
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0xb
call fcn.10010890
test eax, eax
jne 0x100177f6
push dword [ebp - 0x188]
push eax
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x198], eax
test eax, eax
jne 0x10017959
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x194]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1001781a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x190]
push eax
push dword [ebp - 0x1a0]
call dword [ebp - 0x19c]
cmp eax, 1
je 0x100177b0
or esi, 0xffffffff
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x1b8], 0
test eax, eax
je 0x10017dd4
lea ecx, [ebp - 0x1a0]
push ecx
push 2
push eax
mov dword [ebp - 0x1a0], 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x100178a5
lea eax, [ebp - 0x1b8]
push eax
push 1
push 2
push 0
push 0x18b
push dword [ebp - 0x1a0]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x198]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1b8], 0
je 0x10017dd4
mov eax, dword [0x1009d2a8]
mov ecx, 0x1009d2a8
mov dword [ebp - 0x1b0], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x198]
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.10009163
push 0x40
lea eax, [ebp - 0x224]
push 0
push eax
mov dword [ebp - 0x228], 0x44
call fcn.1004e5f0
add esp, 0x1c
mov eax, 1
push 0x1009231d
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x1fc], 1
mov word [ebp - 0x1f8], ax
call fcn.1000608b
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x198]
mov dword [ebp - 0x1c8], 0
test esi, esi
jne 0x10017988
xor eax, eax
jmp 0x100179c5
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x194]
add edx, 0xfffffff0
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017839
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10017839
mov ecx, esi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017990
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1a8], eax
cmp eax, 0x3fffffff
jle 0x100179ad
xor eax, eax
jmp 0x100179c5
add eax, eax
call fcn.10062400
mov ecx, esp
push 3
push dword [ebp - 0x1a8]
mov edx, esi
call fcn.100016a6
push eax
lea ecx, [ebp - 0x194]
call fcn.100066fb
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x194]
push 0
push 0
push dword [eax - 0xc]
lea ecx, [ebp - 0x194]
call fcn.10008337
push eax
push 0
push 1
push dword [ebp - 0x1b8]
call dword [0x100a072c]
test eax, eax
je 0x10017a4b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x1e0]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ecx, dword [ebp - 0x1cc]
push dword [ebp - 0x1dc]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10017a64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1d0]
mov dword [ecx], eax
cmp eax, 0x522
je 0x10017d52
mov dword [ebp - 0x1a8], 0
mov edi, edi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1ac], esp
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1a0]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1b4], eax
jl 0x10017ab6
cmp edx, dword [ecx]
jne 0x10017ab6
mov edx, dword [ebp - 0x1b4]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x10017af9
mov eax, dword [edx]
push 1
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x1b4], edx
test edx, edx
je 0x10017d4d
mov eax, dword [ebp - 0x1a0]
add eax, 0x10
mov ecx, dword [eax - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.1004d8fb
mov ecx, dword [ebp - 0x1b4]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0x1ac]
mov dword [ecx], eax
call fcn.10016e70
add esp, 4
test eax, eax
jne 0x10017b31
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1a8]
inc eax
mov dword [ebp - 0x1a8], eax
cmp eax, 0xa
jl 0x10017a70
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push ecx
mov ecx, dword [eax]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ecx]
mov dword [ebp - 0x1b4], esp
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x1a8]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1ac], eax
jl 0x10017b77
cmp edx, dword [ecx]
jne 0x10017b77
mov edx, dword [ebp - 0x1ac]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x10017bba
mov eax, dword [edx]
push 1
push dword [ecx + 4]
mov ecx, edx
call dword [eax]
mov edx, eax
mov dword [ebp - 0x1ac], edx
test edx, edx
je 0x10017d4d
mov eax, dword [ebp - 0x1a8]
add eax, 0x10
mov ecx, dword [eax - 0xc]
mov dword [edx + 4], ecx
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.1004d8fb
mov ecx, dword [ebp - 0x1ac]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
call fcn.10016e70
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x194]
add edx, 0xfffffff0
add esp, 4
or ecx, 0xffffffff
test eax, eax
lea eax, [edx + 0xc]
jne 0x10017c0d
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017bf5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x1c8]
inc ecx
mov dword [ebp - 0x1c8], ecx
cmp ecx, 5
jl 0x10017951
jmp 0x10017c28
mov dword [ebp - 0x1b0], 1
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017c28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1bc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x19c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017c64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017c84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1a4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017ca7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017cc4
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017ce1
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017d01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017d21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x10]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x10017d42
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1b0]
jmp 0x10017ea0
call fcn.10008235
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1bc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x194]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017d8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x19c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017db2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017de0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10017de0
push dword [ebp - 0x1bc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1a4]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017e03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017e20
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017e3d
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017e5d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10017e7d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x10017e9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
lea esp, [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004bbda
mov esp, ebp
pop ebp
ret