Function at 0x10007cb0
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
jmp 0x10007cb0
push 0xffffffffffffffff
push 0x1007cc5e
mov eax, dword fs:[0]
push eax
sub esp, 0x504
mov eax, dword [0x100a0000]
xor eax, esp
mov dword [esp + 0x500], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100a0000]
xor eax, esp
push eax
lea eax, [esp + 0x518]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x528]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x314], ax
lea eax, [esp + 0x316]
push eax
mov dword [esp + 0x34], ebx
call fcn.100535f0
push 8
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.10052413
add esp, 0x10
test eax, eax
jne 0x10007d4e
call fcn.10052031
mov dword [esp + 0x14], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov dword [eax], ecx
xor eax, eax
mov dword [esp + 0x520], 0
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], eax
mov word [esp + 0xa4], ax
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x104
lea eax, [esp + 0x310]
push eax
push str._PUBLIC_
mov byte [esp + 0x52c], 2
call esi
test eax, eax
je 0x10007dd9
mov ax, word [esp + 0x30c]
cmp ax, 0x25
jne 0x10007e07
push 0x104
lea eax, [esp + 0x310]
push eax
push str._ALLUSERSPROFILE_
call esi
test eax, eax
je 0x100083a7
mov ax, word [esp + 0x30c]
cmp ax, 0x25
je 0x100083a7
lea edx, [esp + 0x30c]
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10007e11
sub edx, esi
sar edx, 1
cmp edx, 4
jb 0x100083a7
cmp word [esp + 0x312], 0
lea ecx, [esp + 0x312]
je 0x10007e65
jmp 0x10007e40
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x10007e58
cmp edx, 0x2f
je 0x10007e58
add ecx, 2
cmp word [ecx], 0
jne 0x10007e40
jmp 0x10007e65
xor eax, eax
mov word [ecx], ax
mov ax, word [esp + 0x30c]
xor ecx, ecx
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], cx
test ax, ax
je 0x10007e9f
lea ecx, [esp + 0x30c]
lea edx, [ecx + 2]
jmp 0x10007e90
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007e90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x310]
push eax
lea ecx, [esp + 0x64]
call fcn.10003adf
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc eax
mov byte [esp + 0x520], 3
cmp edx, eax
ja 0x10007ed5
push 1
lea ecx, [esp + 0x18]
call fcn.10002f31
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
dec edx
and ecx, edx
add eax, ecx
and edx, eax
mov eax, dword [esp + 0x18]
lea esi, [edx*4]
mov dword [esp + 0x20], ecx
cmp dword [esi + eax], 0
jne 0x10007f19
push 0x18
call fcn.10052413
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x10007f0e
call fcn.10052031
mov eax, dword [esp + 0x18]
mov dword [esi + eax], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + eax]
test ecx, ecx
je 0x10007f2a
lea eax, [esp + 0x5c]
push eax
call fcn.10003b66
inc dword [esp + 0x24]
cmp dword [esp + 0x70], 8
mov byte [esp + 0x520], 2
jb 0x10007f49
push dword [esp + 0x5c]
call fcn.10052462
add esp, 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x310]
push eax
call fcn.10002efa
add esp, 8
cmp dword [esp + 0x24], 0
je 0x100083a7
mov ebp, dword [esp + 0x52c]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x18]
call fcn.100032f6
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x10007f88
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x44]
cmp ecx, eax
je 0x10007fa7
push 0xffffffffffffffff
push 0
push eax
call fcn.10001f28
cmp dword [esp + 0x24], 0
je 0x10007ff1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
dec ecx
and ecx, dword [esp + 0x20]
mov esi, dword [eax + ecx*4]
cmp dword [esi + 0x14], 8
jb 0x10007fce
push dword [esi]
call fcn.10052462
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
dec dword [esp + 0x24]
jne 0x10007fed
mov dword [esp + 0x20], eax
jmp 0x10007ff1
inc dword [esp + 0x20]
push 0x10085f04
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.100010c8
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x10008010
mov eax, dword [eax]
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [esp + 0x88], 8
mov edi, eax
jb 0x10008037
push dword [esp + 0x74]
call fcn.10052462
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], 0
mov word [esp + 0x74], ax
cmp edi, 0xffffffff
je 0x1000839c
lea ecx, [ecx]
lea eax, [esp + 0xe8]
push str.cert8.db
push eax
call fcn.10053af6
add esp, 8
test eax, eax
jne 0x100080a4
push 8
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.10009130
push 0x10085f20
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100010c8
mov byte [esp + 0x538], 4
jmp 0x100080e6
lea eax, [esp + 0xe8]
push str.cert9.db
push eax
call fcn.10053af6
add esp, 8
test eax, eax
jne 0x1000810c
push 9
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.10009130
push str.prefs.js
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100010c8
mov byte [esp + 0x538], 5
push eax
call fcn.10001852
add esp, 0x1c
cmp dword [esp + 0x40], 8
mov byte [esp + 0x520], 2
jb 0x10008129
push dword [esp + 0x2c]
call fcn.10052462
add esp, 4
jmp 0x10008129
lea eax, [esp + 0xe8]
push str.opcacrt6.dat
push eax
call fcn.10053af6
add esp, 8
test eax, eax
je 0x100082e9
mov eax, dword [esp + 0xbc]
test al, 0x10
je 0x100082cd
test eax, 0x400
jne 0x100082cd
mov ecx, 0x10085f7c
lea eax, [esp + 0xe8]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10008176
test dx, dx
je 0x10008172
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10008176
add eax, 4
add ecx, 4
test dx, dx
jne 0x10008150
xor eax, eax
jmp 0x1000817b
sbb eax, eax
or eax, 1
test eax, eax
je 0x100082cd
mov eax, 0x10085f80
lea ecx, [esp + 0xe8]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100081b6
test dx, dx
je 0x100081b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100081b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10008190
xor eax, eax
jmp 0x100081bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x100082cd
lea eax, [esp + 0xe8]
push 0x10085f88
push eax
call fcn.10053af6
add esp, 8
test eax, eax
je 0x100082cd
lea eax, [esp + 0xe8]
push 0x10085f94
push eax
call fcn.10053af6
add esp, 8
test eax, eax
je 0x100082cd
lea eax, [esp + 0xe8]
push 0x10085fa8
push eax
call fcn.10053af6
add esp, 8
test eax, eax
je 0x100082cd
push 0x10085fbc
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100010c8
lea ecx, [esp + 0xf4]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x538], 8
call fcn.10001fcd
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x524], 9
call fcn.10003053
cmp dword [esp + 0x40], 8
jb 0x10008274
push dword [esp + 0x2c]
call fcn.10052462
add esp, 4
xor eax, eax
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x520], 2
jb 0x100082ac
push dword [esp + 0x8c]
call fcn.10052462
add esp, 4
lea esi, [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and bl, 1
jne 0x10008378
mov ebx, dword [esp + 0x28]
lea eax, [esp + 0xbc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10008060
jmp 0x10008378
push 0x10085f78
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.100010c8
lea ecx, [esp + 0xf4]
push ecx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x538], 6
call fcn.10001fcd
push ebx
push eax
mov byte [esp + 0x540], 7
call fcn.10009d80
add esp, 0x20
cmp dword [esp + 0x40], 8
jb 0x10008340
push dword [esp + 0x2c]
call fcn.10052462
add esp, 4
xor eax, eax
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x520], 2
jb 0x10008378
push dword [esp + 0x8c]
call fcn.10052462
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea esi, [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [ebp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and bl, 1
jne 0x100083a7
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], 0
jne 0x10007f70
cmp dword [esp + 0x58], 8
jb 0x100083ba
push dword [esp + 0x44]
call fcn.10052462
add esp, 4
xor eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
call fcn.10003166
push dword [esp + 0x14]
call fcn.10052462
add esp, 4
mov ecx, dword [esp + 0x518]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x500]
xor ecx, esp
call fcn.10052ab4
add esp, 0x510
ret