Function at 0x4b0120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x507da1
mov eax, dword fs:[0]
push eax
sub esp, 0x46c
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x468], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x480]
mov dword fs:[0], eax
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x563288
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov dword [esp + 0x488], ebx
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0x24c
lea eax, [esp + 0x2c]
push ebx
mov byte [esp + 0x490], 1
push eax
mov dword [esp + 0x30], ebx
call fcn.004e8fe0
mov edx, dword [0x563288]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x563288
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
push 0x206
lea edx, [esp + 0x27a]
xor ecx, ecx
push ebx
mov byte [esp + 0x490], 2
push edx
mov word [esp + 0x280], cx
call fcn.004e8fe0
add esp, 0xc
call fcn.0041d3e0
cmp eax, ebx
jne 0x4b0274
add ebp, 0xfffffff0
mov byte [esp + 0x488], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4b021e
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
add edi, 0xfffffff0
mov byte [esp + 0x488], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b0242
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x488], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b026d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4b0420
mov ecx, dword [eax]
mov edx, dword [ecx + 0x6c]
push eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4b02fc
lea eax, [ebp - 0x10]
mov byte [esp + 0x488], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b02a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x488], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b02ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x488], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b026d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4b0420
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b0301
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x278]
push esi
push ecx
call fcn.004e5105
add esp, 0xc
mov edx, esi
lea edi, [esp + 0x18]
call fcn.00401600
push 5
push str..ui
mov edx, edi
push edx
call fcn.0041e520
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
test eax, eax
je 0x4b0373
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esp + 0x274]
call fcn.00401600
mov edx, 0x511ddc
call fcn.0041d550
lea edx, [esp + 0x50]
jmp 0x4b0392
lea edx, [esp + 0x274]
lea edi, [esp + 0x18]
call fcn.00401600
mov edx, 0x511ddc
call fcn.0041d550
mov edx, str.noui.ui
lea edi, [esp + 0x18]
call fcn.0041d550
mov esi, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, dword [edx]
push esi
push 0
push ebx
call eax
mov edi, eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x488], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b03cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x488], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b03f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x488], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b041e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x480]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x468]
xor ecx, esp
call fcn.004e3edb
add esp, 0x478
ret