Function at 0x100d17a0
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101239c4
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x2a8], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x284], eax
mov dword [ebp - 4], 3
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
push eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x26c], 0x800704c7
push str.Show:_filters.count_d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x270]
call fcn.10043b30
mov byte [ebp - 4], 3
or ebx, 0xffffffff
mov edx, dword [ebp - 0x270]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100d1869
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1012ec60
lea ecx, [ebp - 0x298]
call fcn.10023fc0
mov byte [ebp - 4], 5
mov esi, dword [edi]
cmp esi, dword [edi + 4]
je 0x100d18bb
mov eax, dword [ebp - 0x298]
cmp dword [eax - 0xc], 0
je 0x100d18a2
push 1
push 0x10136e80
lea ecx, [ebp - 0x298]
call fcn.10024890
mov eax, dword [esi]
lea ecx, [ebp - 0x298]
push dword [eax - 0xc]
push eax
call fcn.10024890
add esi, 4
cmp esi, dword [edi + 4]
jne 0x100d1884
push dword [ebp - 0x298]
push str.CYO_FILEDIALOG_FILTERS
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x40
lea eax, [ebp - 0x300]
push 0
push eax
call fcn.101078f0
xorps xmm0, xmm0
mov dword [ebp - 0x304], 0x44
xor eax, eax
mov dword [ebp - 0x2d8], 1
movdqu xmmword [ebp - 0x2bc], xmm0
mov word [ebp - 0x2d4], ax
call fcn.10104507
add esp, 8
mov ecx, eax
mov eax, esp
mov dword [ebp - 0x29c], ecx
push ecx
push str.CE.Dlg._x
push eax
call fcn.10044f30
add esp, 0xc
lea ecx, [ebp - 0x28c]
call fcn.10044b70
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x278], esp
push str.LOW_
call fcn.10023fc0
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x28c]
push ecx
mov dword [ebp - 0x27c], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x100d197d
cmp ecx, dword [esi - 0x10]
jne 0x100d197d
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100d19b7
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x100d1991
call fcn.10024740
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
mov ecx, dword [ebp - 0x27c]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 6
call fcn.10047b50
add esp, 8
cmp eax, 0xffffffff
je 0x100d1a09
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov ecx, esp
mov byte [ebp - 4], 8
push str.LOW_
call fcn.10023fc0
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 6
call fcn.10047d00
add esp, 8
push dword [ebp - 0x29c]
mov eax, dword [ebp - 0x274]
mov eax, dword [eax]
dec eax
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x280]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x294]
push dword [ebp - 0x268]
push dword [0x101750d8]
push str.__s____FileDialog:_d_d_s_s_s_s_d_d_
push eax
call fcn.10044f30
add esp, 0x2c
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x280]
cmp dword [eax - 4], 1
jle 0x100d1a6f
push dword [eax - 0xc]
lea ecx, [ebp - 0x280]
call fcn.10024570
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x304]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov eax, dword [ebp - 0x280]
push dword [eax - 8]
push eax
call fcn.1010374b
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x100d240c
mov eax, dword [ebp - 0x280]
cmp ecx, dword [eax - 8]
jg 0x100d240c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebp - 0x280]
mov word [eax + ecx*2], dx
test esi, esi
je 0x100d22b2
push 0xffffffffffffffff
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x294]
mov dword [ebp - 0x294], 0xffffffff
push eax
push dword [ebp - 0x2bc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x100d229c
push dword [ebp - 0x294]
lea eax, [ebp - 0x270]
push str.Show:_ExitCode0x_x
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x270]
call fcn.10043b30
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d1b5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x294], 0
jl 0x100d229c
push dword [ebp - 0x28c]
lea eax, [ebp - 0x270]
push str.Show:_ResponseFile_s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x270]
call fcn.10043b30
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d1bb8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x100d1bd4
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x29c], eax
push ecx
mov byte [ebp - 4], 0xc
lea edi, [ebp - 0x29c]
mov ecx, dword [ebp - 0x28c]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
mov ecx, edi
mov dword [esi], eax
call fcn.10045950
mov ecx, dword [ebp - 0x28c]
mov edi, eax
add ecx, 0xfffffff0
call fcn.10024750
add eax, 0x10
mov dword [esi], eax
call fcn.100475f0
mov esi, dword [ebp - 0x29c]
add esp, 4
test edi, edi
je 0x100d222d
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0x1012fb34
mov dword [ebp - 0x268], 0
call fcn.10023fc0
push ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0xd
mov edi, esp
call fcn.10024750
add eax, 0x10
lea edx, [ebp - 0x268]
mov dword [edi], eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0xc
call fcn.10047a40
add esp, 8
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x268], 0xffffffff
je 0x100d1c96
mov eax, dword [ebp - 0x270]
cmp dword [eax - 0xc], 0
jne 0x100d1ce2
push esi
lea eax, [ebp - 0x26c]
push str.Unexpected_response_field_in_FilterIdx:__s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xf
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x26c]
call fcn.10043b30
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d1ce2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x270]
call fcn.1010463d
mov ecx, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x278], esp
mov dword [ecx], eax
mov ecx, esp
push 0x1012fb34
call fcn.10023fc0
push ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0x10
mov edi, esp
call fcn.10024750
add eax, 0x10
lea edx, [ebp - 0x268]
mov dword [edi], eax
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 0xe
call fcn.10047a40
add esp, 8
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x268], 0xffffffff
jne 0x100d1d5b
push ecx
mov eax, esp
push esi
push str.Unexpected_response_field_in_Selected:__s
push eax
call fcn.10044f30
add esp, 0xc
call fcn.100d1730
add esp, 4
mov ecx, dword [ebp - 0x284]
call fcn.1004a6e0
mov dword [ebp - 0x274], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x278], esp
push 0x10136e80
call fcn.10023fc0
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x27c]
add edi, 0xfffffff0
push ecx
mov dword [ebp - 0x288], esp
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
mov ecx, eax
jl 0x100d1db8
cmp ecx, dword [edi]
jne 0x100d1db8
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100d1e00
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x268], edx
test edx, edx
je 0x100d198c
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
mov ecx, dword [edi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov edi, dword [ebp - 0x268]
add esp, 0x10
mov ecx, dword [ebp - 0x288]
lea eax, [edi + 0x10]
lea edx, [ebp - 0x274]
mov dword [ecx], eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x11
call fcn.10047a40
add esp, 8
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x274], 0xffffffff
je 0x100d1e6e
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x26c]
push eax
call fcn.10039ca0
mov byte [ebp - 4], 0x11
mov ecx, ebx
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d1d70
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100d1d70
mov byte [ebp - 4], 0x11
mov ecx, ebx
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d1e91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x284]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100d218e
push ecx
mov ecx, dword [ecx]
mov ebx, 0x5c
sub ecx, 0x10
mov edi, esp
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x284]
mov edx, ebx
mov dword [edi], eax
call fcn.100452e0
add esp, 4
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x268]
push 0x1012ec60
mov dword [ebp - 0x274], 0
call fcn.10023fc0
push 0x24c
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x15
push 0
push eax
mov dword [ebp - 0x264], 0
call fcn.101078f0
add esp, 0xc
or ebx, 0xffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x288], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x16
mov edi, esp
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea edx, [ebp - 0x274]
mov dword [edi], eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x15
call fcn.10047a40
add esp, 8
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x274], 0xffffffff
mov eax, dword [ebp - 0x26c]
je 0x100d212b
cmp dword [eax - 0xc], 0
je 0x100d212b
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x18
mov edi, esp
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
mov dword [ebp - 0x288], esp
call fcn.10024750
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 0x19
mov edi, esp
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x290]
mov dword [edi], eax
mov byte [ebp - 4], 0x17
call fcn.10044c80
add esp, 0xc
mov byte [ebp - 4], 0x1a
mov edx, dword [eax]
mov edi, dword [ebp - 0x268]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x100d203d
cmp dword [edi + 0xc], 0
jl 0x100d202e
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x100d202e
call fcn.10024750
mov dword [ebp - 0x288], eax
lea ecx, [edi + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100d201d
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x288]
add eax, 0x10
mov dword [ebp - 0x268], eax
jmp 0x100d203d
push dword [edx - 0xc]
lea ecx, [ebp - 0x268]
push edx
call fcn.10024680
mov byte [ebp - 4], 0x17
mov ecx, ebx
mov edx, dword [ebp - 0x290]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d2060
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x264]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2a4], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x1b
mov ecx, esp
mov dword [ebp - 0x2a0], esp
push 0x1013b0a8
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x1c
mov edi, esp
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x278]
mov dword [edi], eax
mov byte [ebp - 4], 0x17
call fcn.10044c80
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x278]
mov edi, eax
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d20e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
je 0x100d211e
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0x15
mov ecx, ebx
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d1f15
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100d1f15
lea ecx, [ebp - 0x26c]
call fcn.10024080
jmp 0x100d2148
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x15
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d2148
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
mov ecx, ebx
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d216b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
mov ecx, ebx
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d218e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x274]
push str.Show:_returning_success
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 0x1d
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x274]
call fcn.10043b30
mov byte [ebp - 4], 0x11
mov ecx, ebx
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d21d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2ac]
mov dword [ebp - 0x26c], 0
test ecx, ecx
je 0x100d21fe
mov edx, dword [ebp - 0x2a8]
test edx, edx
je 0x100d21fe
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d2221
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x270]
jmp 0x100d2266
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x27c]
push str.Show:_cant_load_file__LE_d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x1e
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x27c]
call fcn.10043b30
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d227f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 9
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d229c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x2b8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x2bc]
call esi
mov edi, dword [ebp - 0x26c]
lea eax, [ebp - 0x27c]
push edi
push str.Show:_out:_Ret_x
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x1f
mov ecx, str.hkFileDialogs
mov edx, dword [ebp - 0x27c]
call fcn.10043b30
mov byte [ebp - 4], 9
mov ecx, ebx
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d2304
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d2327
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d234a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, ebx
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d236d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d238d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, ebx
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d23ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100d23cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x18]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100d23ee
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10103392
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.100223c0
int3