Function at 0x46fbf8
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 0x4700e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4aae38]
mov dword [eax], 0x1e
mov eax, dword [0x4aae38]
mov dword [eax + 4], 2
mov eax, dword [0x4aae38]
mov dword [eax + 8], 0x19
mov eax, dword [0x4aae38]
mov dword [eax + 0xc], 3
mov eax, dword [0x4aae38]
mov byte [eax + 0x10], 0
mov eax, dword [0x4aae38]
mov byte [eax + 0x11], 1
mov eax, dword [0x4aae38]
add eax, 0x14
call fcn.004045c4
mov eax, dword [0x4aae38]
add eax, 0x18
call fcn.004045c4
mov eax, dword [0x4aae38]
add eax, 0x1c
call fcn.004045c4
mov eax, dword [0x4aae38]
mov dword [eax + 0x20], 0x1447
mov eax, dword [0x4aae38]
add eax, 0x24
call fcn.004045c4
mov eax, dword [0x4aae38]
add eax, 0x28
call fcn.004045c4
mov eax, dword [0x4aae38]
mov byte [eax + 0x2c], 1
mov eax, dword [0x4aae38]
mov word [eax + 0x2e], 0x23bf
mov eax, dword [0x4aae38]
mov dword [eax + 0x30], 1
mov ebx, 0x31
mov eax, dword [0x4aae38]
add eax, 0x34
xor edx, edx
mov dword [eax], edx
add eax, 4
dec ebx
jne 0x46fcfc
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, 0x4700fc
call fcn.004048c8
mov eax, dword [ebp - 0x154]
call fcn.00404a74
push eax
call sub.kernel32.dll_FindFirstFileA_1
cmp eax, 0xffffffff
jne 0x46fd4a
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x4700bd
push eax
call sub.kernel32.dll_FindClose_1
mov dl, 1
mov eax, dword [0x466c34]
call fcn.0046c5c4
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x470044
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x470020
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [0x4aac7c]
mov edx, dword [edx]
lea eax, [ebp - 0x158]
mov ecx, 0x4700fc
call fcn.004048c8
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.0046c740
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x470016
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
mov ecx, 0x1e
mov edx, 0x470114
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov dword [edx], eax
mov ecx, 2
mov edx, 0x47012c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov dword [edx + 4], eax
mov ecx, 0x19
mov edx, 0x470140
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov dword [edx + 8], eax
mov ecx, 3
mov edx, 0x470150
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov dword [edx + 0xc], eax
xor ecx, ecx
mov edx, 0x470164
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x98]
mov edx, dword [0x4aae38]
mov byte [edx + 0x10], al
mov cl, 1
mov edx, 0x47017c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x98]
mov edx, dword [0x4aae38]
mov byte [edx + 0x11], al
lea eax, [ebp - 0x15c]
push eax
xor ecx, ecx
mov edx, 0x470198
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [ebp - 0x15c]
mov eax, dword [0x4aae38]
add eax, 0x14
call fcn.00404618
lea eax, [ebp - 0x160]
push eax
xor ecx, ecx
mov edx, 0x4701a8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [ebp - 0x160]
mov eax, dword [0x4aae38]
add eax, 0x18
call fcn.00404618
lea eax, [ebp - 0x164]
push eax
xor ecx, ecx
mov edx, 0x4701bc
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [ebp - 0x164]
mov eax, dword [0x4aae38]
add eax, 0x1c
call fcn.00404618
mov ecx, 0x1447
mov edx, 0x4701cc
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov dword [edx + 0x20], eax
lea eax, [ebp - 0x168]
push eax
xor ecx, ecx
mov edx, 0x4701dc
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [ebp - 0x168]
mov eax, dword [0x4aae38]
add eax, 0x24
call fcn.00404618
lea eax, [ebp - 0x16c]
push eax
xor ecx, ecx
mov edx, 0x4701ec
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x4aae38]
add eax, 0x28
call fcn.00404618
mov cl, 1
mov edx, 0x470200
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x98]
mov edx, dword [0x4aae38]
mov byte [edx + 0x2c], al
mov ecx, 0x23bf
mov edx, 0x470214
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov word [edx + 0x2e], ax
mov ecx, 1
mov edx, 0x470224
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xb8]
mov edx, dword [0x4aae38]
mov dword [edx + 0x30], eax
mov edx, 0x470238
mov eax, ebx
call fcn.00469650
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x470016
xor ebx, ebx
mov esi, dword [0x4aae38]
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, 0x47024c
call fcn.00409cdc
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x98]
neg al
sbb eax, eax
mov dword [esi], eax
inc ebx
add esi, 4
cmp ebx, 0x31
jne 0x46ffd1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47002e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47004b
mov eax, dword [ebp - 0xc]
call fcn.00403858
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4700ea
lea eax, [ebp - 0x16c]
mov edx, 7
call fcn.004045e8
lea eax, [ebp - 8]
call fcn.004045c4
ret