Function at 0x100024f0
Capabilities:
Check if file exists
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea42c
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x1012931c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27c], ecx
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
or edi, 0xffffffff
mov dword [ebp - 0x284], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x288], eax
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [ebp - 0x28c], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x1000255c
or edi, 0xffffffff
jmp 0x10002593
push str.NtQueryInformationProcess
push str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0x18
lea ecx, [ebp - 0x260]
push ecx
push 0
push esi
call eax
test eax, eax
push esi
cmove edi, dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 6
xor eax, eax
mov dword [ebp - 0x238], 0
push str.UnKonw
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.10003260
push 6
xor eax, eax
mov dword [ebp - 4], 0
push str.UnKonw
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.10003260
mov byte [ebp - 4], 1
test edi, edi
je 0x1000292f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100a25c0
add esp, 0xc
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10002667
lea eax, [ebp - 0x2ac]
push eax
push 4
lea eax, [ebp - 0x280]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x10002660
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x280]
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002690
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.10003260
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push 0x100f55e0
push eax
call fcn.10001d20
add esp, 8
test al, al
je 0x10002729
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x278]
push edi
push eax
call fcn.10002ed0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x1000271e
mov ecx, eax
call fcn.10001ee0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x278]
call fcn.10001ee0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002920
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
mov dword [ebp - 0x238], 0
cmovae eax, dword [ebp - 0x248]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, eax
lea esi, [edx + 2]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10002790
sub edx, esi
lea ecx, [ebp - 0x248]
sar edx, 1
push edx
push eax
call fcn.10003260
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x278]
call fcn.10001d80
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.100a25c0
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100ad14d
mov ecx, dword [ebp - 0x27c]
lea eax, [ebp - 0x2a8]
add esp, 0x18
mov dword [ebp - 0x290], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a8], xmm0
push eax
lea eax, [ebp - 0x218]
movq qword [ebp - 0x298], xmm0
push eax
call fcn.10002050
mov edx, dword [ebp - 0x290]
test eax, eax
je 0x1000285e
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002842
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.10003260
mov eax, dword [ebp - 0x2a8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x10002878
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x1000288c
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x2a0]
test eax, eax
je 0x100028a0
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x100028b4
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x100028c8
push 0x8000
push 0
push eax
call esi
mov eax, dword [ebp - 0x290]
test eax, eax
je 0x100028dc
push 0x8000
push 0
push eax
call esi
mov edx, dword [ebp - 0x264]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x10002920
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10002916
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002a20
push edx
push ecx
call fcn.10081441
add esp, 8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.10001ee0
mov eax, dword [ebp - 0x284]
mov ecx, dword [ebp - 0x288]
mov dword [eax], edi
lea eax, [ebp - 0x248]
cmp ecx, eax
je 0x10002961
cmp dword [ebp - 0x234], 8
push dword [ebp - 0x238]
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.10003260
mov ecx, dword [ebp - 0x28c]
lea eax, [ebp - 0x260]
cmp ecx, eax
je 0x1000298b
cmp dword [ebp - 0x24c], 8
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.10003260
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x100029c7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100029bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002a25
push edx
push ecx
call fcn.10081441
add esp, 8
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x10002a03
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100029f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002a2a
push edx
push ecx
call fcn.10081441
add esp, 8
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.10081454
mov esp, ebp
pop ebp
ret 0x10
call fcn.100ad050
call fcn.100ad050
call fcn.100ad050
int3