Function at 0x459b40
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0562
mov eax, dword fs:[0]
push eax
sub esp, 0x2a4
mov eax, dword [0x50ac94]
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 esi, ecx
mov dword [ebp - 0x284], esi
mov dword [ebp - 4], 1
call fcn.0049ff8a
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459b99
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459bc5
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 4], eax
mov byte [ebp - 4], 3
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459bf2
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 4
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459c1f
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 5
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459c4c
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 6
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459c79
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 7
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459ca6
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 8
call fcn.0049ff8a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x459cd3
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
push 4
mov byte [ebp - 4], 9
lea edi, [esi + 0x28]
call fcn.0049f87a
add esp, 4
cmp eax, ebx
je 0x459cfb
mov dword [eax], edi
jmp 0x459cfd
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
push 4
mov byte [ebp - 4], 0xb
lea edi, [esi + 0x40]
call fcn.0049f87a
add esp, 4
cmp eax, ebx
je 0x459d21
mov dword [eax], edi
jmp 0x459d23
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
push 4
mov byte [ebp - 4], 0xd
lea edi, [esi + 0x58]
call fcn.0049f87a
add esp, 4
cmp eax, ebx
je 0x459d47
mov dword [eax], edi
jmp 0x459d49
xor eax, eax
mov dword [edi], eax
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 8]
mov edi, dword [esi]
lea ecx, [eax - 0x10]
sub edi, 0x10
mov dword [esi + 0x70], ebx
cmp ecx, edi
je 0x459db9
cmp dword [edi + 0xc], ebx
jl 0x459daa
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x459daa
push ecx
call fcn.00424240
mov dword [ebp - 0x270], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x459d9d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x459db6
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004241cf
mov eax, dword [ebp + 8]
push 0x5c
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x278], esp
mov edi, esp
push eax
call fcn.00424240
lea edx, [ebp - 0x288]
add esp, 4
add eax, 0x10
push edx
mov dword [edi], eax
call fcn.00468c10
add esp, 0xc
mov byte [ebp - 4], 0x10
push str.win32
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x274], ebx
mov dword [esi + 0x20], ebx
call fcn.004ae67a
add esp, 4
push eax
push str.win32
lea ecx, [esi + 4]
call fcn.004241cf
lea eax, [ebp - 0x268]
push eax
push 0x4eed94
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x288]
call fcn.00429249
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x268], 0xffffffff
je 0x459f38
mov eax, dword [ebp - 0x264]
cmp dword [eax - 0xc], 0
je case.default.0x459e5a
cmp ebx, 5
ja case.default.0x459e5a
jmp dword [ebx*4 + 0x45ae7c]
lea ebx, [esi + 0x10]
mov edi, dword [ebx]
lea ecx, [eax - 0x10]
sub edi, 0x10
cmp ecx, edi
je case.default.0x459e5a
cmp dword [edi + 0xc], 0
jl 0x459eca
mov edx, dword [ecx]
cmp edx, dword [edi]
jne 0x459eca
push ecx
call fcn.00424240
mov dword [ebp - 0x270], eax
add esp, 4
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x459ea4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x270]
add ecx, 0x10
mov dword [ebx], ecx
jmp 0x459ed6
lea ebx, [esi + 8]
jmp 0x459e64
lea ebx, [esi + 0x14]
jmp 0x459e64
lea ebx, [esi + 0xc]
jmp 0x459e64
lea ebx, [esi + 0x18]
jmp 0x459e64
lea ebx, [esi + 0x1c]
jmp 0x459e64
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.004241cf
mov eax, dword [ebp - 0x264]
mov ebx, dword [ebp - 0x274]
inc ebx
add eax, 0xfffffff0
mov dword [ebp - 0x274], ebx
mov byte [ebp - 4], 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x459f09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x268]
push ecx
push 0x4eed94
lea edx, [ebp - 0x264]
push edx
lea ecx, [ebp - 0x288]
call fcn.00429249
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x268], 0xffffffff
jne 0x459e41
mov byte [ebp - 4], 0x10
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 0x459f5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xc]
cmp dword [ecx - 0xc], 0
jne 0x459f86
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x288]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x45ae01
mov dword [esi + 0x70], 1
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x459fa7
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28c], eax
push ecx
mov byte [ebp - 4], 0x12
mov esi, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x27c], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x459fe6
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov eax, 0x4ddc20
shr eax, 0x10
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x270], eax
test eax, eax
jne 0x45a0f6
mov ecx, 0x4ddc20
movzx edi, cx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45a110
mov edx, edi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a110
push edi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45a110
mov eax, dword [esi]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x45a077
push edi
mov ecx, esi
call fcn.004214f5
movzx eax, word [ebx]
mov ecx, dword [esi]
add ebx, 2
mov dword [ebp - 0x274], ecx
cmp eax, 0xffffffff
jne 0x45a094
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x274]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 0x26c], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45a2e8.1
movzx ecx, byte [eax + 0x45aea4]
jmp dword [ecx*4 + 0x45ae94]
call fcn.004a04f2
test edi, edi
jl 0x45a0ec
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x45a0ec
mov ecx, dword [ebp - 0x26c]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45a110
push 0x80070057
call fcn.00421000
push 0x4ddc20
call fcn.004ae67a
add esp, 4
push eax
push 0x4ddc20
mov ecx, esi
call fcn.004241cf
push ecx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x288]
mov edx, esp
mov dword [ebp - 0x27c], esp
push eax
push 0x4eed98
push edx
call fcn.00468700
mov byte [ebp - 4], 0x15
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x280], esp
mov edi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x29c]
mov byte [ebp - 4], 0x12
call fcn.00468250
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x29c]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x278], esp
mov edi, esp
push eax
lea ebx, [ebp - 0x28c]
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00469200
add esp, 4
test eax, eax
je 0x45a1e9
lea ecx, [ebp - 0x26c]
push str.assembly
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.0048b880
add esp, 8
cmp dword [ebp - 0x26c], 0
je 0x45a1dd
push str.noInheritable
lea eax, [ebp - 0x26c]
call fcn.0048ca30
test eax, eax
jle 0x45a1dd
mov edx, dword [ebp - 0x284]
mov dword [edx + 0x20], 1
lea eax, [ebp - 0x26c]
push eax
call fcn.0048c2d0
lea ecx, [ebp - 0x260]
push ecx
push ecx
mov esi, esp
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x27c], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45a219
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x270], 0
mov byte [ebp - 4], 0x17
jne 0x45a31a
mov ecx, 0x4ddc20
movzx edi, cx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45a334
mov edx, edi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a334
push edi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45a334
mov eax, dword [esi]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x45a2a1
push edi
mov ecx, esi
call fcn.004214f5
movzx eax, word [ebx]
mov ecx, dword [esi]
add ebx, 2
mov dword [ebp - 0x274], ecx
cmp eax, 0xffffffff
jne 0x45a2be
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x274]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 0x26c], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45a2e8.1
movzx ecx, byte [eax + 0x45af08]
jmp dword [ecx*4 + 0x45aef8]
call fcn.004a052a
test edi, edi
jl 0x45a0ec
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x45a0ec
mov ecx, dword [ebp - 0x26c]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45a334
push 0x4ddc20
call fcn.004ae67a
add esp, 4
push eax
push 0x4ddc20
mov ecx, esi
call fcn.004241cf
push ecx
mov byte [ebp - 4], 0x18
mov esi, esp
mov dword [ebp - 0x27c], esp
mov dword [ebp - 0x280], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45a361
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, 0x4e6c84
mov byte [ebp - 4], 0x19
test ecx, 0xffff0000
jne 0x45a461
mov edx, ecx
movzx edi, dx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45a47b
mov eax, edi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a47b
push edi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45a47b
mov eax, dword [esi]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x45a3ea
push edi
mov ecx, esi
call fcn.004214f5
movzx eax, word [ebx]
mov edx, dword [esi]
add ebx, 2
mov dword [ebp - 0x274], edx
cmp eax, 0xffffffff
jne 0x45a407
push ebx
call fcn.004ae67a
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [edi + edi]
push ebx
push ecx
mov dword [ebp - 0x26c], ecx
mov ecx, dword [ebp - 0x274]
push ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45a2e8.1
movzx edx, byte [eax + 0x45af6c]
jmp dword [edx*4 + 0x45af5c]
test edi, edi
jl 0x45a0ec
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x45a0ec
mov edx, dword [ebp - 0x26c]
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x45a47b
push 0x4e6c84
call fcn.004ae67a
add esp, 4
push eax
push 0x4e6c84
mov ecx, esi
call fcn.004241cf
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x280], esp
mov edi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x264]
mov byte [ebp - 4], 0x16
call fcn.00468250
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
mov dword [ebp - 0x274], esi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a4e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45a4fb
push 0x80004005
call fcn.00421000
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 esi, 0xffffffff
je 0x45a70a
lea ebx, [ebx]
test byte [ebp - 0x260], 0x10
jne 0x45a6e7
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx - 0xc], 0
je 0x45a557
push 0x4e1e24
call fcn.004ae67a
add esp, 4
push eax
push 0x4e1e24
lea ecx, [ebp - 0x26c]
call fcn.0042494b
lea edx, [ebp - 0x234]
push edx
call fcn.004ae67a
add esp, 4
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0042494b
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x459b8f
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 - 0x234]
mov byte [ebp - 4], 0x1c
test ecx, 0xffff0000
jne 0x45a686
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45a6ae
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a6ae
push esi
push eax
push ebx
call fcn.004216d6
mov esi, eax
add esp, 0xc
test esi, esi
je 0x45a6ae
movzx ebx, word [esi]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x45a620
push ebx
lea ecx, [ebp - 0x268]
call fcn.004214f5
mov edi, dword [ebp - 0x268]
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0x280], esi
cmp eax, 0xffffffff
jne 0x45a63b
push esi
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x280]
push edx
push eax
lea esi, [ebx + ebx]
push esi
push edi
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45a2e8.1
movzx ecx, byte [eax + 0x45afd0]
jmp dword [ecx*4 + 0x45afc0]
test ebx, ebx
jl 0x45a0ec
cmp ebx, dword [edi - 8]
jg 0x45a0ec
xor edx, edx
mov dword [edi - 0xc], ebx
mov word [esi + edi], dx
jmp 0x45a6ae
lea eax, [ebp - 0x234]
push eax
call fcn.004ae67a
add esp, 4
push eax
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x268]
call fcn.004241cf
mov edi, dword [ebp - 0x268]
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x284]
lea edx, [ebp - 0x268]
push edx
add eax, 0x28
call fcn.00423959
add edi, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45a6e7
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov esi, dword [ebp - 0x274]
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a520
push esi
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 - 0x278], esp
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
push str.CSxsAssembly__s__s_:__s
push edx
call fcn.00468700
add esp, 0x14
call fcn.00459ad0
add esp, 4
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45a752
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x264], ebx
mov byte [ebp - 4], 0x1e
mov esi, dword [ebp - 0x284]
lea ecx, [ebp - 0x268]
push ecx
push 0x4e1e5c
lea edx, [ebp - 0x290]
lea edi, [esi + 0xc]
push edx
mov ecx, edi
mov dword [ebp - 0x268], 0
call fcn.00429249
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x268], 0xffffffff
jne 0x45a7f1
mov byte [ebp - 4], 0x1e
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 0x45a7c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 0x1b
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ad75
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x45ad75
lea ecx, [ebp - 0x268]
push ecx
push 0x4e1e5c
lea edx, [ebp - 0x298]
push edx
mov ecx, edi
call fcn.00429249
mov byte [ebp - 4], 0x20
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
push eax
mov eax, dword [ebp - 0x298]
push ecx
mov ecx, dword [ebp - 0x290]
push edx
mov edx, dword [esi + 0x10]
push eax
push ecx
push edx
lea eax, [ebp - 0x274]
push str._s_policy._s._s._s__s__s_
push eax
call fcn.00468700
add esp, 0x20
mov byte [ebp - 4], 0x21
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [ebx - 0x10]
cmp eax, edi
je 0x45a8a6
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x45a896
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x45a896
push eax
call fcn.00424240
mov dword [ebp - 0x280], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x45a885
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp - 0x280]
add ecx, 0x10
mov dword [ebp - 0x264], ecx
jmp 0x45a8a6
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x264]
call fcn.004241cf
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 0x45a8cc
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 - 0x278], esp
push 0x4ddc20
call fcn.004235bf
push ecx
mov edx, esp
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x27c], esp
lea eax, [ebp - 0x264]
push eax
push str.Policies_
push edx
call fcn.00423863
mov byte [ebp - 4], 0x23
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x274], esp
mov edi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [ebp - 0x280]
mov byte [ebp - 4], 0x20
call fcn.00468250
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov eax, dword [ebp - 0x280]
add eax, 0xfffffff0
mov dword [ebp - 0x274], edi
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45a96d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x45ab57
jmp 0x45a980
push ecx
mov dword [ebp - 0x278], esp
mov dword [ebp - 0x27c], esp
push ecx
mov esi, esp
mov dword [ebp - 0x2a0], esp
mov dword [ebp - 0x294], esi
call fcn.0049ff8a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x459b8f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
cmp dword [ebp - 0x270], 0
mov byte [ebp - 4], 0x24
jne 0x45aab0
mov ecx, 0x4ddc20
movzx edi, cx
push edi
call fcn.004a7eac
mov ebx, eax
test ebx, ebx
je 0x45aaca
mov edx, edi
shr edx, 4
inc edx
movzx eax, dx
push 6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45aaca
push edi
push eax
push ebx
call fcn.004216d6
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x45aaca
mov eax, dword [esi]
movzx edi, word [ebx]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, edi
or eax, ecx
jge 0x45aa38
push edi
mov ecx, esi
call fcn.004214f5
movzx eax, word [ebx]
mov ecx, dword [esi]
add ebx, 2
mov dword [ebp - 0x268], ecx
cmp eax, 0xffffffff
jne 0x45aa55
push ebx
call fcn.004ae67a
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x268]
push edx
lea ecx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 0x27c], ecx
call fcn.004ae100
add esp, 0x10
cmp eax, 0x50
ja case.0x45a2e8.1
movzx ecx, byte [eax + 0x45b034]
jmp dword [ecx*4 + 0x45b024]
test edi, edi
jl 0x45a0ec
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x45a0ec
mov ecx, dword [ebp - 0x27c]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
xor eax, eax
mov word [ecx + edx], ax
jmp 0x45aaca
push 0x4ddc20
call fcn.004ae67a
add esp, 4
push eax
push 0x4ddc20
mov ecx, esi
call fcn.004241cf
push ecx
mov byte [ebp - 4], 0x25
mov esi, dword [ebp - 0x284]
mov eax, dword [esi + 0xc]
mov edx, esp
mov dword [ebp - 0x294], esp
push eax
lea ecx, [ebp - 0x234]
push ecx
push str.Policies_s_s.policy
push edx
call fcn.00468700
mov byte [ebp - 4], 0x26
mov eax, dword [ebp + 0xc]
add esp, 0xc
add eax, 0xfffffff0
mov dword [ebp - 0x27c], esp
mov edi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x278]
add esp, 4
mov byte [ebp - 4], 0x20
call fcn.00468250
add esp, 0xc
push esi
call fcn.0045b090
mov esi, dword [ebp - 0x274]
lea edx, [ebp - 0x260]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45a980
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x284]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [ebp - 0x298]
push edx
mov edx, dword [ebp - 0x290]
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
add esi, 0x10
push eax
lea ecx, [ebp - 0x278]
push str._s_policy._s._s._s__s__s__s_.manifest
push ecx
call fcn.00468700
add esp, 0x24
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x27
call fcn.00423cda
mov byte [ebp - 4], 0x20
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
jg 0x45abc6
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 - 0x294], esp
push 0x4ddc20
call fcn.004235bf
push ecx
mov edx, esp
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x2a0], esp
lea eax, [ebp - 0x264]
push eax
push str.Manifests_
push edx
call fcn.00423863
mov byte [ebp - 4], 0x29
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x27c], esp
mov esi, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x278]
mov byte [ebp - 4], 0x20
call fcn.00468250
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [ebp - 0x278]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ac61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
je 0x45ad03
lea ebx, [ebx]
push ecx
mov dword [ebp - 0x294], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
push 0x4ddc20
call fcn.004235bf
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x2a
mov dword [ebp - 0x2a0], esp
lea edx, [ebp - 0x234]
push edx
push str.Manifests_s
push ecx
call fcn.00468700
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp + 0xc]
add esp, 8
add eax, 0xfffffff0
mov dword [ebp - 0x27c], esp
mov ebx, esp
push eax
call fcn.00424240
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0x20
call fcn.00468250
mov eax, dword [ebp - 0x284]
add esp, 0xc
push eax
call fcn.0045b090
lea ecx, [ebp - 0x260]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45ac70
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0x1f
mov eax, dword [ebp - 0x298]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ad29
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 - 0x290]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ad4f
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 - 0x264]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ad75
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 0x45ad9b
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 - 0x29c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45adc1
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 - 0x28c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ade7
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 - 0x288]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ae0d
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 0x45ae30
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 0x45ae56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x284]
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.004add11
mov esp, ebp
pop ebp
ret 8