Function at 0x4a98c8
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 0x4a9d67
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4bcfc8]
mov dword [eax], 0x1e
mov eax, dword [0x4bcfc8]
mov dword [eax + 4], 2
mov eax, dword [0x4bcfc8]
mov dword [eax + 8], 0x19
mov eax, dword [0x4bcfc8]
mov dword [eax + 0xc], 3
mov eax, dword [0x4bcfc8]
mov byte [eax + 0x10], 0
mov eax, dword [0x4bcfc8]
mov byte [eax + 0x11], 1
mov eax, dword [0x4bcfc8]
add eax, 0x14
call fcn.004045ec
mov eax, dword [0x4bcfc8]
add eax, 0x18
call fcn.004045ec
mov eax, dword [0x4bcfc8]
add eax, 0x1c
call fcn.004045ec
mov eax, dword [0x4bcfc8]
mov dword [eax + 0x20], 0x1447
mov eax, dword [0x4bcfc8]
add eax, 0x24
call fcn.004045ec
mov eax, dword [0x4bcfc8]
add eax, 0x28
call fcn.004045ec
mov eax, dword [0x4bcfc8]
mov byte [eax + 0x2c], 1
mov eax, dword [0x4bcfc8]
mov word [eax + 0x2e], 0x23bf
mov eax, dword [0x4bcfc8]
mov dword [eax + 0x30], 1
mov ebx, 0x31
mov eax, dword [0x4bcfc8]
add eax, 0x34
xor edx, edx
mov dword [eax], edx
add eax, 4
dec ebx
jne 0x4a99cc
mov byte [ebp - 1], 1
lea eax, [ebp - 0x150]
push eax
mov edx, dword [0x4bcdd8]
mov edx, dword [edx]
lea eax, [ebp - 0x154]
mov ecx, 0x4a9d80
call fcn.004048f0
mov eax, dword [ebp - 0x154]
call fcn.00404a9c
push eax
call sub.kernel32.dll_FindFirstFileA_1
cmp eax, 0xffffffff
jne 0x4a9a1a
push eax
call sub.kernel32.dll_FindClose_1
jmp 0x4a9d31
push eax
call sub.kernel32.dll_FindClose_1
mov dl, 1
mov eax, dword [0x4663d8]
call fcn.0046c388
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4a9d2a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4a9d06
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [0x4bcdd8]
mov edx, dword [edx]
lea eax, [ebp - 0x158]
mov ecx, 0x4a9d80
call fcn.004048f0
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.0046c4ac
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x4a9cfc
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov ebx, eax
mov ecx, 0x1e
mov edx, 0x4a9d98
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4bcfc8]
mov dword [edx], eax
mov ecx, 2
mov edx, 0x4a9db0
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4bcfc8]
mov dword [edx + 4], eax
mov ecx, 0x19
mov edx, 0x4a9dc4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4bcfc8]
mov dword [edx + 8], eax
mov ecx, 3
mov edx, 0x4a9dd4
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4bcfc8]
mov dword [edx + 0xc], eax
xor ecx, ecx
mov edx, 0x4a9de8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x9c]
mov edx, dword [0x4bcfc8]
mov byte [edx + 0x10], al
mov cl, 1
mov edx, 0x4a9e00
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x9c]
mov edx, dword [0x4bcfc8]
mov byte [edx + 0x11], al
lea eax, [ebp - 0x15c]
push eax
xor ecx, ecx
mov edx, 0x4a9e1c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x15c]
mov eax, dword [0x4bcfc8]
add eax, 0x14
call fcn.00404640
lea eax, [ebp - 0x160]
push eax
xor ecx, ecx
mov edx, 0x4a9e2c
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x160]
mov eax, dword [0x4bcfc8]
add eax, 0x18
call fcn.00404640
lea eax, [ebp - 0x164]
push eax
xor ecx, ecx
mov edx, 0x4a9e40
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x164]
mov eax, dword [0x4bcfc8]
add eax, 0x1c
call fcn.00404640
mov ecx, 0x1447
mov edx, 0x4a9e50
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4bcfc8]
mov dword [edx + 0x20], eax
lea eax, [ebp - 0x168]
push eax
xor ecx, ecx
mov edx, 0x4a9e60
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x168]
mov eax, dword [0x4bcfc8]
add eax, 0x24
call fcn.00404640
lea eax, [ebp - 0x16c]
push eax
xor ecx, ecx
mov edx, 0x4a9e70
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc0]
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x4bcfc8]
add eax, 0x28
call fcn.00404640
mov cl, 1
mov edx, 0x4a9e84
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x9c]
mov edx, dword [0x4bcfc8]
mov byte [edx + 0x2c], al
mov ecx, 0x239b
mov edx, 0x4a9e98
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov edx, dword [0x4bcfc8]
mov word [edx + 0x2e], ax
mov ecx, 1
mov edx, 0x4a9ea8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xbc]
mov esi, eax
mov eax, dword [0x4bcfc8]
mov dword [eax + 0x30], esi
mov eax, dword [0x4bcfc8]
test esi, esi
jne 0x4a9c97
mov eax, dword [0x4bcfc8]
mov dword [eax + 0x30], 1
mov edx, 0x4a9ebc
mov eax, ebx
call fcn.00469358
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a9cfc
xor ebx, ebx
mov esi, dword [0x4bcfc8]
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, 0x4a9ed0
call fcn.00409af0
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 0x4a9cb7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9d14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9d31
mov eax, dword [ebp - 0xc]
call fcn.00403880
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9d6e
lea eax, [ebp - 0x16c]
mov edx, 5
call fcn.00404610
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.00404610
lea eax, [ebp - 8]
call fcn.004045ec
ret