Function at 0x481ee0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5644ec
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x70]
mov ebp, dword [ebx + 0x7c]
cmp ebp, eax
push edi
jge 0x48208c
xor edi, edi
cmp ebp, edi
jne 0x481f4b
mov esi, dword [ebx + 0x6c]
cmp esi, edi
je 0x481f40
mov ecx, eax
dec eax
test ecx, ecx
je 0x481f31
lea ebp, [eax + 1]
push edi
mov ecx, esi
call fcn.004838e0
add esi, 0x10
dec ebp
jne 0x481f23
mov eax, dword [ebx + 0x6c]
push eax
call fcn.005133ec
add esp, 4
mov dword [ebx + 0x6c], edi
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x70], edi
jmp 0x48208c
mov ecx, dword [ebx + 0x6c]
cmp ecx, edi
jne 0x481fb6
mov edi, ebp
shl edi, 4
push edi
call fcn.00513446
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x6c], edx
mov esi, edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x10], esi
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp]
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x20], 0
je 0x481f99
mov ecx, esi
call fcn.00482100
add esi, 0x10
dec edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x10], esi
jne 0x481f82
mov dword [ebx + 0x74], ebp
mov dword [ebx + 0x70], ebp
jmp 0x48208c
mov esi, dword [ebx + 0x74]
cmp ebp, esi
jg 0x481ff6
mov eax, dword [ebx + 0x70]
cmp eax, ebp
jge 0x481fdc
mov edx, ebp
sub edx, eax
shl eax, 4
add eax, ecx
push edx
push eax
call fcn.00483850
mov dword [ebx + 0x70], ebp
jmp 0x48208c
jle 0x481fee
sub eax, ebp
push eax
mov eax, ebp
shl eax, 4
add eax, ecx
push eax
call fcn.00483820
mov dword [ebx + 0x70], ebp
jmp 0x48208c
mov eax, dword [ebx + 0x78]
cmp eax, edi
jne 0x482021
mov eax, dword [ebx + 0x70]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x482015
mov eax, 4
jmp 0x482021
cmp eax, 0x400
jle 0x482021
mov eax, 0x400
add eax, esi
cmp ebp, eax
mov dword [esp + 0x10], eax
jl 0x48202f
mov dword [esp + 0x10], ebp
mov ecx, dword [esp + 0x10]
shl ecx, 4
push ecx
call fcn.00513446
mov ecx, dword [ebx + 0x70]
mov esi, dword [ebx + 0x6c]
shl ecx, 4
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x70]
mov dword [esp + 0x14], eax
sub edx, ecx
shl ecx, 4
add ecx, eax
push edx
push ecx
call fcn.00483850
mov eax, dword [ebx + 0x6c]
push eax
call fcn.005133ec
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x70], ebp
mov dword [ebx + 0x74], ecx
mov edi, dword [esp + 0x28]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
mov edx, dword [edi]
lea ecx, [edi + 8]
mov dword [esi], edx
mov eax, dword [edi + 4]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x28], esi
mov dword [esi + 4], eax
call fcn.00513416
add edi, 0xc
lea ecx, [esi + 0xc]
push edi
mov dword [esp + 0x34], 1
call fcn.00513416
lea ecx, [ebx + 0x68]
mov dword [esp + 0x30], 0xffffffff
call fcn.004832b0
mov edx, dword [ebx + 0x70]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ebx + 0x7c], edx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 4