Function at 0x41a840
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x58cfe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x484], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x488], esi
call fcn.004e8c08
push 0xffffffffffffffff
lea ecx, [edi + 0x14]
push 0
mov dword [ebp - 0x4a4], ecx
call fcn.004f1c8e
push 0xffffffffffffffff
lea ecx, [edi + 0x28]
push 0
mov dword [ebp - 0x4a8], ecx
call fcn.004e8c08
push 0xffffffffffffffff
lea ecx, [edi + 0x3c]
push 0
mov dword [ebp - 0x48c], ecx
call fcn.004e8c08
push 0xffffffffffffffff
lea ecx, [edi + 0x50]
push 0
mov dword [ebp - 0x4b4], ecx
call fcn.004f1c8e
push 0xffffffffffffffff
lea ecx, [edi + 0x64]
push 0
mov dword [ebp - 0x4ac], ecx
call fcn.004e8c08
push 0xffffffffffffffff
lea ecx, [edi + 0x78]
push 0
mov dword [ebp - 0x4b0], ecx
call fcn.004e8c08
call fcn.0047bc50
mov dword [ebp - 0x4a0], eax
test esi, esi
je 0x41a910
mov eax, dword [esi + 8]
jmp 0x41a912
xor eax, eax
mov ecx, dword [ebp - 0x49c]
mov dword [ebp - 0x47c], eax
test ecx, ecx
je 0x41a927
mov edx, dword [ecx + 8]
jmp 0x41a929
xor edx, edx
mov dword [ebp - 0x494], edx
test esi, esi
jne 0x41a93f
test ecx, ecx
jne 0x41a93f
mov dword [ebp - 0x480], ecx
jmp 0x41a955
mov dword [ebp - 0x480], 1
test eax, eax
jne 0x41a955
test edx, edx
je 0x41b052
push 0x44
lea eax, [ebp - 0x478]
push 0
push eax
call fcn.00509680
add esp, 0xc
lea ecx, [ebp - 0x478]
push 0
call fcn.00458e00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x478]
call fcn.00458fd0
test eax, eax
je 0x41b040
xorps xmm0, xmm0
lea ecx, [ebp - 0x434]
xor edi, edi
movups xmmword [ebp - 0x434], xmm0
mov dword [ebp - 0x424], edi
call fcn.004f18f5
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x47c]
test eax, eax
jle 0x41aa98
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x434]
call fcn.004f1c8e
xor eax, eax
mov dword [ebp - 0x498], eax
cmp dword [ebp - 0x47c], eax
jle 0x41aa98
test eax, eax
js 0x41abf6
cmp eax, dword [esi + 8]
jge 0x41abf6
mov ecx, dword [esi + 4]
lea edx, [eax*4]
add ecx, edx
cmp eax, dword [ebp - 0x42c]
jge 0x41abf6
mov esi, dword [ebp - 0x430]
add esi, edx
push ecx
mov ecx, esi
mov dword [ebp - 0x490], esi
call fcn.00406a00
mov eax, dword [esi]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x41abec
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x41aa49
mov ecx, dword [ebp - 0x490]
push esi
call fcn.00403870
lea eax, [esi + 1]
push eax
mov eax, dword [ebp - 0x490]
push dword [eax]
call fcn.00515b43
mov eax, dword [ebp - 0x490]
add esp, 8
mov ecx, dword [eax]
cmp esi, dword [ecx - 8]
jg 0x41abec
mov dword [ecx - 0xc], esi
xor ecx, ecx
mov eax, dword [eax]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x498]
mov esi, dword [ebp - 0x488]
inc eax
mov dword [ebp - 0x498], eax
cmp eax, dword [ebp - 0x47c]
jl 0x41a9e0
push 1
push 0x548fb8
call fcn.00472600
add esp, 8
cmp dword [ebp - 0x480], 0
je 0x41aabd
cmp dword [ebp - 0x47c], 0
jle 0x41ad83
lea ecx, [ebp - 0x478]
call fcn.00458fe0
mov esi, eax
test esi, esi
je 0x41ad83
mov eax, dword [ebp - 0x4a0]
test eax, eax
je 0x41aaeb
mov ecx, eax
call fcn.0047bb90
test eax, eax
jne 0x41b017
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x480], edi
test edi, edi
je 0x41ad6e
push edi
lea ecx, [ebp - 0x478]
call fcn.004590c0
test eax, eax
je 0x41ad6e
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
push edi
call dword [ebp - 0x458]
test eax, eax
je 0x41ad6e
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x41ab72
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004823d0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
cmp dword [ebp - 0x47c], 0
jle 0x41abfb
lea eax, [ebp - 0x218]
push eax
call fcn.0048ed30
xor esi, esi
add esp, 4
cmp dword [ebp - 0x47c], esi
jle 0x41ad65
test esi, esi
js 0x41abf6
mov eax, dword [ebp - 0x488]
cmp esi, dword [eax + 8]
jge 0x41abf6
mov eax, dword [eax + 4]
lea edi, [eax + esi*4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x41abd8
push eax
call fcn.0048ed30
push 0
push 0xffffffffffffffff
push 0x5c
push dword [edi]
call fcn.0049c290
add esp, 0x14
inc esi
cmp esi, dword [ebp - 0x47c]
jl 0x41aba5
mov edi, dword [ebp - 0x480]
jmp 0x41ad65
push 0x80070057
call fcn.00403650
call fcn.004e6c7b
mov ecx, dword [ebp - 0x484]
push esi
mov eax, dword [ecx + 8]
push eax
mov dword [ebp - 0x480], eax
call fcn.004e8bd5
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x4a4]
mov ecx, eax
push dword [eax + 8]
call fcn.004f1c56
mov esi, dword [ebp - 0x484]
mov eax, dword [ebp - 0x4a8]
mov ecx, eax
mov esi, dword [esi + 0x58]
push esi
push dword [eax + 8]
call fcn.004e8bd5
push esi
mov esi, dword [ebp - 0x48c]
mov ecx, esi
push dword [esi + 8]
call fcn.004e8bd5
lea ecx, [ebp - 0x478]
call fcn.004591d0
test eax, eax
je 0x41ad3f
mov esi, dword [ebp - 0x4ac]
nop dword [eax]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
push edi
call dword [ebp - 0x458]
test eax, eax
je 0x41ad26
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x41acc5
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004823d0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x218]
push eax
call fcn.004e7e72
push eax
push dword [esi + 8]
mov ecx, esi
call fcn.004e8bd5
lea eax, [ebp - 0x218]
push eax
call fcn.0048ed30
add esp, 4
push eax
call fcn.004e7e72
push eax
mov eax, dword [ebp - 0x4b0]
mov ecx, eax
push dword [eax + 8]
call fcn.004e8bd5
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x4b4]
mov ecx, eax
push dword [eax + 8]
call fcn.004f1c56
lea ecx, [ebp - 0x478]
call fcn.004591d0
test eax, eax
jne 0x41ac70
mov esi, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x484]
mov edx, dword [ebp - 0x480]
mov ecx, dword [eax + 0x58]
test edx, edx
js 0x41abf6
cmp edx, dword [esi + 8]
jge 0x41abf6
mov eax, dword [esi + 4]
mov dword [eax + edx*4], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea ecx, [ebp - 0x478]
call fcn.004591b0
mov esi, eax
test esi, esi
jne 0x41aad2
mov eax, dword [ebp - 0x494]
test eax, eax
jle 0x41b017
xor esi, esi
mov dword [ebp - 0x488], esi
test eax, eax
jle 0x41b017
test esi, esi
js 0x41abf6
mov eax, dword [ebp - 0x49c]
cmp esi, dword [eax + 8]
jge 0x41abf6
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x41affe
push 0xffffffffffffffff
push esi
push dword [ebp - 0x484]
call fcn.0049aac0
add esp, 0xc
test eax, eax
jne 0x41affe
mov eax, dword [ebp - 0x4a0]
test eax, eax
je 0x41adf8
mov ecx, eax
call fcn.0047bb90
test eax, eax
jne 0x41b017
push esi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x41affe
push edi
lea ecx, [ebp - 0x478]
call fcn.004590c0
test eax, eax
je 0x41affe
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
push edi
call dword [ebp - 0x458]
test eax, eax
je 0x41affe
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x41ae79
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004823d0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, dword [ebp - 0x484]
push esi
mov eax, dword [ecx + 8]
push eax
mov dword [ebp - 0x480], eax
call fcn.004e8bd5
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x4a4]
mov ecx, eax
push dword [eax + 8]
call fcn.004f1c56
mov eax, dword [ebp - 0x484]
mov esi, dword [eax + 0x58]
mov eax, dword [ebp - 0x4a8]
mov ecx, eax
push esi
push dword [eax + 8]
call fcn.004e8bd5
push esi
mov esi, dword [ebp - 0x48c]
mov ecx, esi
push dword [esi + 8]
call fcn.004e8bd5
lea ecx, [ebp - 0x478]
call fcn.004591d0
test eax, eax
je 0x41afcf
mov esi, dword [ebp - 0x4ac]
nop word [eax + eax]
push 0x104
lea ecx, [ebp - 0x420]
push ecx
push eax
push edi
call dword [ebp - 0x458]
test eax, eax
je 0x41afb6
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x41af55
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004823d0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea eax, [ebp - 0x218]
push eax
call fcn.004e7e72
push eax
push dword [esi + 8]
mov ecx, esi
call fcn.004e8bd5
lea eax, [ebp - 0x218]
push eax
call fcn.0048ed30
add esp, 4
push eax
call fcn.004e7e72
push eax
mov eax, dword [ebp - 0x4b0]
mov ecx, eax
push dword [eax + 8]
call fcn.004e8bd5
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x4b4]
mov ecx, eax
push dword [eax + 8]
call fcn.004f1c56
lea ecx, [ebp - 0x478]
call fcn.004591d0
test eax, eax
jne 0x41af00
mov esi, dword [ebp - 0x48c]
mov eax, dword [ebp - 0x484]
mov edx, dword [ebp - 0x480]
mov ecx, dword [eax + 0x58]
test edx, edx
js 0x41abf6
cmp edx, dword [esi + 8]
jge 0x41abf6
mov eax, dword [esi + 4]
push edi
mov dword [eax + edx*4], ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov esi, dword [ebp - 0x488]
inc esi
mov dword [ebp - 0x488], esi
cmp esi, dword [ebp - 0x494]
jl 0x41ada1
test edi, edi
je 0x41b022
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x548fb8
call fcn.00472600
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x434]
call fcn.004f190c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x478]
call fcn.00458f60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00507257
mov esp, ebp
pop ebp
ret 8