Function at 0x46fa7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46ff77
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4aae34]
mov dword [eax], 0x1e
mov eax, dword [0x4aae34]
mov dword [eax + 4], 2
mov eax, dword [0x4aae34]
mov dword [eax + 8], 0x19
mov eax, dword [0x4aae34]
mov dword [eax + 0xc], 3
mov eax, dword [0x4aae34]
mov byte [eax + 0x10], 0
mov eax, dword [0x4aae34]
mov byte [eax + 0x11], 1
mov eax, dword [0x4aae34]
add eax, 0x14
call fcn.004045d4
mov eax, dword [0x4aae34]
add eax, 0x18
call fcn.004045d4
mov eax, dword [0x4aae34]
add eax, 0x1c
call fcn.004045d4
mov eax, dword [0x4aae34]
mov dword [eax + 0x20], 0x1447
mov eax, dword [0x4aae34]
add eax, 0x24
call fcn.004045d4
mov eax, dword [0x4aae34]
add eax, 0x28
call fcn.004045d4
mov eax, dword [0x4aae34]
mov byte [eax + 0x2c], 1
mov eax, dword [0x4aae34]
mov word [eax + 0x2e], 0x23bf
mov eax, dword [0x4aae34]
mov dword [eax + 0x30], 1
mov ebx, 0x31
mov eax, dword [0x4aae34]
add eax, 0x34
xor edx, edx
mov dword [eax], edx
add eax, 4
dec ebx
jne 0x46fb80
mov byte [ebp - 1], 1
lea eax, [ebp - 0x150]
push eax
mov edx, dword [0x4aac7c]
mov edx, dword [edx]
lea eax, [ebp - 0x154]
mov ecx, 0x46ff90
call fcn.004048d8
mov eax, dword [ebp - 0x154]
call fcn.00404a84
push eax
call sub.kernel32.dll_FindFirstFileA_1
cmp eax, 0xffffffff
jne 0x46fbce
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x46ff41
push eax
call sub.kernel32.dll_FindClose_1
mov dl, 1
mov eax, dword [0x466864]
call fcn.0046c814
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x46fec8
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x46fea4
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [0x4aac7c]
mov edx, dword [edx]
lea eax, [ebp - 0x158]
mov ecx, 0x46ff90
call fcn.004048d8
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0046c938
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x46fe9a
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
mov ecx, 0x1e
mov edx, 0x46ffa8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov dword [edx], eax
mov ecx, 2
mov edx, 0x46ffc0
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov dword [edx + 4], eax
mov ecx, 0x19
mov edx, 0x46ffd4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov dword [edx + 8], eax
mov ecx, 3
mov edx, 0x46ffe4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov dword [edx + 0xc], eax
xor ecx, ecx
mov edx, 0x46fff8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x9c]
mov edx, dword [0x4aae34]
mov byte [edx + 0x10], al
mov cl, 1
mov edx, 0x470010
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x9c]
mov edx, dword [0x4aae34]
mov byte [edx + 0x11], al
lea eax, [ebp - 0x15c]
push eax
xor ecx, ecx
mov edx, 0x47002c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x15c]
mov eax, dword [0x4aae34]
add eax, 0x14
call fcn.00404628
lea eax, [ebp - 0x160]
push eax
xor ecx, ecx
mov edx, 0x47003c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x160]
mov eax, dword [0x4aae34]
add eax, 0x18
call fcn.00404628
lea eax, [ebp - 0x164]
push eax
xor ecx, ecx
mov edx, 0x470050
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x164]
mov eax, dword [0x4aae34]
add eax, 0x1c
call fcn.00404628
mov ecx, 0x1447
mov edx, 0x470060
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov dword [edx + 0x20], eax
lea eax, [ebp - 0x168]
push eax
xor ecx, ecx
mov edx, 0x470070
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x168]
mov eax, dword [0x4aae34]
add eax, 0x24
call fcn.00404628
lea eax, [ebp - 0x16c]
push eax
xor ecx, ecx
mov edx, 0x470080
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x4aae34]
add eax, 0x28
call fcn.00404628
mov cl, 1
mov edx, 0x470094
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x9c]
mov edx, dword [0x4aae34]
mov byte [edx + 0x2c], al
mov ecx, 0x23bf
mov edx, 0x4700a8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov word [edx + 0x2e], ax
mov ecx, 1
mov edx, 0x4700b8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4aae34]
mov dword [edx + 0x30], eax
mov edx, 0x4700cc
mov eax, ebx
call fcn.004697e4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46fe9a
xor ebx, ebx
mov esi, dword [0x4aae34]
add esi, 0x34
lea eax, [ebp - 8]
push eax
lea eax, [ebx + 1]
mov dword [ebp - 0x174], eax
mov byte [ebp - 0x170], 0
lea edx, [ebp - 0x174]
xor ecx, ecx
mov eax, 0x4700e0
call fcn.00409a9c
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x9c]
neg al
sbb eax, eax
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0x31
jne 0x46fe55
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46feb2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fecf
mov eax, dword [ebp - 0xc]
call fcn.00403868
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ff7e
lea eax, [ebp - 0x16c]
mov edx, 5
call fcn.004045f8
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 8]
call fcn.004045d4
ret