Function at 0x46ae60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eecbd
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x541100]
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 - 0x294], ebx
mov dword [ebp - 4], 1
call fcn.004bdbe3
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46aeb9
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46aee5
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 4], eax
mov byte [ebp - 4], 3
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46af12
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 8], eax
mov byte [ebp - 4], 4
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46af3f
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0xc], eax
mov byte [ebp - 4], 5
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46af6c
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x10], eax
mov byte [ebp - 4], 6
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46af99
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x14], eax
mov byte [ebp - 4], 7
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46afc6
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x18], eax
mov byte [ebp - 4], 8
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46aff3
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 0x1c], eax
push 4
mov byte [ebp - 4], 9
lea esi, [ebx + 0x28]
call fcn.004bd4f2
add esp, 4
cmp eax, edi
je 0x46b01b
mov dword [eax], esi
jmp 0x46b01d
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push 4
mov byte [ebp - 4], 0xb
lea esi, [ebx + 0x40]
call fcn.004bd4f2
add esp, 4
cmp eax, edi
je 0x46b041
mov dword [eax], esi
jmp 0x46b043
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
push 4
mov byte [ebp - 4], 0xd
lea esi, [ebx + 0x58]
call fcn.004bd4f2
add esp, 4
cmp eax, edi
je 0x46b067
mov dword [eax], esi
jmp 0x46b069
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
lea ecx, [ebp + 8]
push ecx
mov byte [ebp - 4], 0xf
mov ecx, ebx
mov dword [ebx + 0x70], edi
call fcn.00422f41
mov eax, dword [ebp + 8]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x270], esp
mov esi, esp
push eax
call fcn.00423475
lea edx, [ebp - 0x278]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.00477b10
add esp, 0xc
mov byte [ebp - 4], 0x10
push str.win32
mov dword [ebp - 0x264], edi
xor esi, esi
mov dword [ebx + 0x20], edi
call fcn.004ccd1a
add esp, 4
push eax
push str.win32
lea ecx, [ebx + 4]
call fcn.00423404
lea eax, [ebp - 0x264]
push eax
push 0x519f54
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00429ac5
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x264], 0xffffffff
je 0x46b1be
mov edx, dword [ebp - 0x26c]
cmp dword [edx - 0xc], edi
je case.default.0x46b11d
cmp esi, 5
ja case.default.0x46b11d
jmp dword [esi*4 + 0x46bd08]
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebx + 0x10]
jmp 0x46b163
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebx + 8]
jmp 0x46b163
lea ecx, [ebx + 0x14]
jmp 0x46b15c
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebx + 0xc]
jmp 0x46b163
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebx + 0x18]
jmp 0x46b163
lea ecx, [ebx + 0x1c]
lea edx, [ebp - 0x26c]
push edx
call fcn.00422f41
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
inc esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b18f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x264]
push ecx
push 0x519f54
lea edx, [ebp - 0x26c]
push edx
lea ecx, [ebp - 0x278]
call fcn.00429ac5
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x264], 0xffffffff
jne 0x46b10d
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0xc]
cmp dword [ecx - 0xc], edi
jne 0x46b20b
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x46bc93
mov dword [ebx + 0x70], 1
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46b22c
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x284], eax
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x270], esp
mov dword [ebp - 0x274], esi
call fcn.004bdbe3
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x46b26b
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, 0x50057c
shr eax, 0x10
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x288], eax
cmp eax, edi
jne 0x46b2b8
mov ecx, 0x50057c
movzx eax, cx
push eax
mov dword [ebp - 0x268], eax
call fcn.004c5d7f
cmp eax, edi
je 0x46b2d2
mov edx, dword [ebp - 0x268]
push edx
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x46b2d2
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, esi
call fcn.00423404
push ecx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x278]
mov eax, esp
mov dword [ebp - 0x274], esp
push ecx
push 0x519f58
push eax
call fcn.004777e0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x298]
mov byte [ebp - 4], 0x12
call fcn.004770a0
add esp, 0xc
lea edx, [ebp - 0x284]
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x298]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x270], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00478060
add esp, 8
test eax, eax
je 0x46b3a7
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x268]
push str.assembly
push eax
call fcn.004950d0
add esp, 8
cmp dword [ebp - 0x268], 0
je 0x46b39b
push str.noInheritable
lea eax, [ebp - 0x268]
call fcn.004962c0
test eax, eax
jle 0x46b39b
mov dword [ebx + 0x20], 1
lea ecx, [ebp - 0x268]
push ecx
call fcn.00495b60
lea edx, [ebp - 0x260]
push edx
push ecx
mov esi, esp
mov dword [ebp - 0x270], esp
mov dword [ebp - 0x274], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46b3d7
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x288], 0
mov byte [ebp - 4], 0x17
jne 0x46b40f
mov ecx, 0x50057c
movzx edi, cx
push edi
call fcn.004c5d7f
test eax, eax
je 0x46b429
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x46b429
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, esi
call fcn.00423404
push ecx
mov byte [ebp - 4], 0x18
mov esi, esp
mov dword [ebp - 0x274], esp
mov dword [ebp - 0x268], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46b456
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x507ffc
mov byte [ebp - 4], 0x19
test ecx, 0xffff0000
jne 0x46b48f
mov edx, ecx
movzx edi, dx
push edi
call fcn.004c5d7f
test eax, eax
je 0x46b4a9
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x46b4a9
push 0x507ffc
call fcn.004ccd1a
add esp, 4
push eax
push 0x507ffc
mov ecx, esi
call fcn.00423404
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x268], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x264]
mov byte [ebp - 4], 0x16
call fcn.004770a0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b509
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46b523
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0x1b
cmp edi, 0xffffffff
je 0x46b669
test byte [ebp - 0x260], 0x10
jne 0x46b64c
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx - 0xc], 0
je 0x46b579
push 0x50504c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50504c
lea ecx, [ebp - 0x26c]
call fcn.00423b68
lea edx, [ebp - 0x234]
push edx
call fcn.004ccd1a
add esp, 4
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call fcn.00423b68
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46aeaf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x268], eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x1c
test ecx, 0xffff0000
jne 0x46b5f1
mov edx, ecx
movzx esi, dx
push esi
call fcn.004c5d7f
test eax, eax
je 0x46b613
push esi
push eax
lea ecx, [ebp - 0x268]
call fcn.00422eb3
jmp 0x46b613
lea eax, [ebp - 0x234]
push eax
call fcn.004ccd1a
add esp, 4
push eax
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x268]
call fcn.00423404
lea edx, [ebp - 0x268]
push edx
lea eax, [ebx + 0x28]
mov byte [ebp - 4], 0x1d
call fcn.00422beb
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b64c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46b542
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x26c]
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, esp
mov dword [ebp - 0x270], esp
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
push str.CSxsAssembly__s__s_:__s
push edx
call fcn.004777e0
add esp, 0x14
call fcn.0046adf0
add esp, 4
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x46b6b1
push 0x80004005
call fcn.00420000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x268], edi
lea ecx, [ebp - 0x264]
push ecx
push 0x5050b0
lea edx, [ebp - 0x280]
lea esi, [ebx + 0xc]
mov byte [ebp - 4], 0x1e
push edx
mov ecx, esi
mov dword [ebp - 0x264], 0
call fcn.00429ac5
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x264], 0xffffffff
jne 0x46b72d
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b721
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
lea eax, [edi - 0x10]
jmp 0x46bbee
lea ecx, [ebp - 0x264]
push ecx
push 0x5050b0
lea edx, [ebp - 0x290]
push edx
mov ecx, esi
call fcn.00429ac5
mov byte [ebp - 4], 0x20
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebp - 0x290]
push ecx
mov ecx, dword [ebp - 0x280]
push edx
mov edx, dword [ebx + 0x10]
push eax
push ecx
push edx
lea eax, [ebp - 0x264]
push str._s_policy._s._s._s__s__s_
push eax
call fcn.004777e0
add esp, 0x20
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x21
call fcn.00422f41
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b7b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x270], esp
push 0x50057c
call fcn.00422827
push ecx
mov edx, esp
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x264], esp
lea eax, [ebp - 0x268]
push eax
push str.Policies_
push edx
call fcn.00422acb
mov byte [ebp - 4], 0x23
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x27c], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x274]
mov byte [ebp - 4], 0x20
call fcn.004770a0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
mov dword [ebp - 0x264], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b854
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x46b975
lea ecx, [ecx]
push ecx
mov dword [ebp - 0x27c], esp
mov ebx, esp
push ecx
mov esi, esp
mov dword [ebp - 0x27c], esp
mov dword [ebp - 0x270], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46aeaf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x288], 0
mov byte [ebp - 4], 0x24
jne 0x46b8c4
mov ecx, 0x50057c
movzx edi, cx
push edi
call fcn.004c5d7f
test eax, eax
je 0x46b8de
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x46b8de
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, esi
call fcn.00423404
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x294]
push ecx
mov edx, esp
add eax, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x270], esp
push eax
lea ecx, [ebp - 0x234]
push ecx
push str.Policies_s_s.policy
push edx
call fcn.004777e0
mov byte [ebp - 4], 0x26
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x28c], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov edi, ebx
mov byte [ebp - 4], 0x20
call fcn.004770a0
mov edx, dword [ebp - 0x294]
add esp, 0xc
push edx
call fcn.0046bd20
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46b860
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x294]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 8]
push ecx
mov ecx, dword [ebp - 0x290]
push edx
mov edx, dword [ebp - 0x280]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push edx
push eax
lea ecx, [ebp - 0x274]
push str._s_policy._s._s._s__s__s__s_.manifest
push ecx
call fcn.004777e0
add esp, 0x24
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x27
call fcn.00422f41
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b9e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x28c], esp
push 0x50057c
call fcn.00422827
push ecx
mov edx, esp
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x27c], esp
lea eax, [ebp - 0x268]
push eax
push str.Manifests_
push edx
call fcn.00422acb
mov byte [ebp - 4], 0x29
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x270], esp
mov esi, esp
push eax
call fcn.00423475
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x274]
mov byte [ebp - 4], 0x20
call fcn.004770a0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x274]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46ba80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x264], 0xffffffff
je 0x46bb95
lea ecx, [ecx]
push ecx
mov dword [ebp - 0x28c], esp
mov dword [ebp - 0x270], esp
push ecx
mov esi, esp
mov dword [ebp - 0x28c], esp
mov dword [ebp - 0x27c], esi
call fcn.004bdbe3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x46aeaf
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x288], 0
mov byte [ebp - 4], 0x2a
jne 0x46baf8
mov ecx, 0x50057c
movzx edi, cx
push edi
call fcn.004c5d7f
test eax, eax
je 0x46bb12
push edi
push eax
mov ecx, esi
call fcn.00422eb3
jmp 0x46bb12
push 0x50057c
call fcn.004ccd1a
add esp, 4
push eax
push 0x50057c
mov ecx, esi
call fcn.00423404
push ecx
mov edx, esp
mov byte [ebp - 4], 0x2b
mov dword [ebp - 0x27c], esp
lea eax, [ebp - 0x234]
push eax
push str.Manifests_s
push edx
call fcn.004777e0
mov byte [ebp - 4], 0x2c
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x29c], esp
mov esi, esp
push eax
call fcn.00423475
mov edi, dword [ebp - 0x270]
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0x20
call fcn.004770a0
add esp, 0xc
push ebx
call fcn.0046bd20
mov edx, dword [ebp - 0x264]
lea ecx, [ebp - 0x260]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46ba90
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x290]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bbbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bbe1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x26c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x298]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bc9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bcc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46bce8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.004cc3b2
mov esp, ebp
pop ebp
ret 8