Function at 0x10036d20
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011f97f
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x1016e750]
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 ebx, ecx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 4], 1
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036d7f
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036da9
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx + 4], eax
lea esi, [ebx + 8]
mov byte [ebp - 4], 3
mov dword [ebp - 0x298], esi
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036ddd
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 4
mov dword [ebp - 0x288], esi
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036e10
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea esi, [ebx + 0x10]
mov byte [ebp - 4], 5
mov dword [ebp - 0x27c], esi
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036e43
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea esi, [ebx + 0x14]
mov byte [ebp - 4], 6
mov dword [ebp - 0x294], esi
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036e76
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea esi, [ebx + 0x18]
mov byte [ebp - 4], 7
mov dword [ebp - 0x2a4], esi
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036ea9
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
lea esi, [ebx + 0x1c]
mov dword [ebp - 0x264], esi
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10036edc
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebx + 0x28]
mov dword [eax], 0
mov dword [ebp - 0x274], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xc
push eax
mov ecx, ebx
mov dword [ebx + 0x4c], 0
call fcn.100244b0
push ecx
mov ecx, dword [ebp + 8]
mov edi, 0x5c
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x280]
mov edx, edi
mov dword [esi], eax
call fcn.10045200
add esp, 4
push 5
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 4]
xor esi, esi
mov dword [ebp - 0x26c], 0
push 0x1013b828
mov dword [ebx + 0x20], esi
call fcn.10024680
lea eax, [ebp - 0x26c]
push eax
push 0x1013a34c
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x280]
call fcn.10026640
or edi, 0xffffffff
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x26c], edi
je 0x1003706b
mov ebx, dword [ebp - 0x288]
mov eax, dword [ebp - 0x268]
cmp dword [eax - 0xc], 0
je case.default.0x10036fd5
cmp esi, 5
ja case.default.0x10036fd5
jmp dword [esi*4 + 0x1003793c]
mov ecx, dword [ebp - 0x27c]
jmp 0x10037006
mov ecx, dword [ebp - 0x298]
jmp 0x10037006
mov ecx, dword [ebp - 0x294]
jmp 0x10037006
mov ecx, ebx
jmp 0x10037006
mov ecx, dword [ebp - 0x2a4]
jmp 0x10037006
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x268]
push eax
call fcn.100244b0
mov byte [ebp - 4], 0xd
inc esi
mov edx, dword [ebp - 0x268]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037036
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x26c]
push eax
push 0x1013a34c
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x280]
call fcn.10026640
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x10036fc4
mov ebx, dword [ebp - 0x278]
mov byte [ebp - 4], 0xd
mov ecx, edi
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003708e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], 0
jne 0x100370c3
mov byte [ebp - 4], 0xc
mov ecx, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100378da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100378da
mov dword [ebx + 0x4c], 1
call fcn.10022690
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x100370e6
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x284], eax
push ecx
mov byte [ebp - 4], 0xf
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x10
mov eax, esp
mov dword [ebp - 0x264], esp
push dword [ebp - 0x280]
push str.Manifests_s.manifest
push eax
call fcn.10044f30
mov byte [ebp - 4], 0x11
add esp, 8
mov ecx, dword [ebp + 0xc]
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x29c]
mov dword [esi], eax
mov byte [ebp - 4], 0xf
call fcn.10044c80
mov byte [ebp - 4], 0x12
lea ebx, [ebp - 0x284]
mov ecx, dword [ebp - 0x29c]
add esp, 8
mov esi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.10045950
mov ebx, dword [ebp - 0x284]
add esp, 4
test eax, eax
je 0x100371e1
push ecx
push str.assembly
mov edx, ebx
lea ecx, [ebp - 0x264]
call fcn.100c8480
add esp, 8
cmp dword [ebp - 0x264], 0
je 0x100371e1
push str.noInheritable
lea ecx, [ebp - 0x264]
call fcn.100c90d0
test eax, eax
jle 0x100371c7
mov eax, dword [ebp - 0x278]
mov dword [eax + 0x20], 1
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x100371e1
dec dword [eax + 0x30]
lea ecx, [ebp - 0x264]
push 0
call fcn.100c8d10
lea eax, [ebp - 0x260]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x264], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x26c], esp
push 0x1013b0a8
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x14
mov esi, esp
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x270]
mov dword [esi], eax
mov byte [ebp - 4], 0x12
call fcn.10044c80
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x270]
mov ecx, edi
add edx, 0xfffffff0
mov dword [ebp - 0x264], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037268
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 0x10037284
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x264], 0xffffffff
je 0x1003737b
mov ebx, dword [ebp - 0x264]
lea esp, [esp]
test byte [ebp - 0x260], 0x10
jne 0x10037353
cmp dword [esi - 0xc], 0
je 0x100372d5
push 1
push 0x1013b890
lea ecx, [ebp - 0x268]
call fcn.10024890
lea ecx, [ebp - 0x234]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100372e0
sub ecx, edx
lea eax, [ebp - 0x234]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.10024890
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call fcn.10023fc0
lea eax, [ebp - 0x26c]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x274]
push eax
call fcn.10039ca0
mov byte [ebp - 4], 0x15
mov ecx, edi
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003734d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100372b0
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x284]
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x264]
push dword [ebp + 8]
push 0x1013b894
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x17
mov ecx, str.SxsPacker
mov edx, dword [ebp - 0x264]
call fcn.10043b30
mov byte [ebp - 4], 0x15
mov ecx, edi
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100373cd
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 0x100373e9
push 0x80004005
call fcn.100223c0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x264], edi
mov ecx, dword [ebp - 0x288]
lea eax, [ebp - 0x26c]
push eax
push 0x1013b8c4
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 0x18
push eax
mov dword [ebp - 0x26c], 0
call fcn.10026640
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x26c], 0xffffffff
jne 0x10037463
mov byte [ebp - 4], 0x18
or ecx, 0xffffffff
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0x15
or edi, 0xffffffff
jmp 0x1003783e
mov ecx, dword [ebp - 0x288]
lea eax, [ebp - 0x26c]
push eax
push 0x1013b8c4
lea eax, [ebp - 0x2a0]
push eax
call fcn.10026640
mov eax, dword [ebp - 0x2a4]
mov byte [ebp - 4], 0x1a
push dword [eax]
mov eax, dword [ebp - 0x294]
push dword [eax]
mov eax, dword [ebp - 0x298]
push dword [eax]
mov eax, dword [ebp - 0x27c]
push dword [ebp - 0x2a0]
push dword [ebp - 0x28c]
push dword [eax]
lea eax, [ebp - 0x274]
push 0x1013b8c8
push eax
call fcn.10044f30
add esp, 0x20
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x1b
call fcn.100244b0
mov byte [ebp - 4], 0x1a
or ecx, 0xffffffff
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100374f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x26c], esp
push eax
mov edx, str.Policies_
call fcn.10036300
mov byte [ebp - 4], 0x1d
mov edi, esp
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x274]
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
call fcn.10044c80
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x274]
mov edi, eax
add edx, 0xfffffff0
mov dword [ebp - 0x270], edi
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037589
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp edi, 0xffffffff
je 0x10037633
mov ebx, dword [ebp - 0x278]
mov esi, dword [ebp - 0x270]
mov edi, edi
push ecx
mov dword [ebp - 0x270], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x290], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov eax, esp
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x26c], esp
lea ecx, [ebp - 0x234]
push dword [ebx + 0xc]
push ecx
push str.Policies_s_s.policy
push eax
call fcn.10044f30
mov byte [ebp - 4], 0x1f
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
mov ecx, dword [ebp - 0x270]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
call fcn.10044c80
add esp, 0xc
mov ecx, ebx
call fcn.10037960
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100375a0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x268]
mov ebx, dword [ebp - 0x284]
mov eax, dword [ebp - 0x2a4]
push dword [eax]
mov eax, dword [ebp - 0x288]
push dword [eax]
mov eax, dword [ebp - 0x294]
push dword [eax]
mov eax, dword [ebp - 0x298]
push dword [eax]
mov eax, dword [ebp - 0x27c]
push dword [ebp - 0x2a0]
push dword [ebp - 0x28c]
push dword [eax]
lea eax, [ebp - 0x274]
push str._s_policy._s._s._s__s__s__s_.manifest
push eax
call fcn.10044f30
add esp, 0x24
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x20
call fcn.100244b0
mov byte [ebp - 4], 0x1a
or ecx, 0xffffffff
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100376af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x260]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x264]
mov ecx, esp
mov dword [ebp - 0x290], esp
push eax
mov edx, str.Manifests_
call fcn.10036300
mov byte [ebp - 4], 0x22
mov edi, esp
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0x274]
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
call fcn.10044c80
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [ebp - 0x274]
or edi, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 0x27c], eax
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003773f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x27c], 0xffffffff
je 0x100377eb
mov ebx, dword [ebp - 0x278]
mov esi, dword [ebp - 0x27c]
push ecx
mov dword [ebp - 0x270], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x2a8], esp
push 0x1012ec40
call fcn.10023fc0
push ecx
mov eax, esp
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x290], esp
lea ecx, [ebp - 0x234]
push ecx
push str.Manifests_s
push eax
call fcn.10044f30
mov byte [ebp - 4], 0x24
add esp, 8
mov ecx, dword [ebp + 0xc]
mov edi, esp
lea ecx, [ecx - 0x10]
call fcn.10024750
mov ecx, dword [ebp - 0x270]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x1a
call fcn.10044c80
add esp, 0xc
mov ecx, ebx
call fcn.10037960
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10037758
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x268]
or edi, 0xffffffff
mov ebx, dword [ebp - 0x284]
mov byte [ebp - 4], 0x19
mov ecx, edi
mov edx, dword [ebp - 0x2a0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1003780e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov ecx, edi
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037831
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037854
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x12
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037871
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov ecx, edi
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10037894
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 0xd
mov ecx, edi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100378b1
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, edi
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100378d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x278]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100378fa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x1003791b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.10103392
mov esp, ebp
pop ebp
ret 8