Function at 0x48d190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4950d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], al
call dword [0x4964c4]
mov ebx, dword [esp + 0x34]
mov edi, 1
cmp ebx, 0x7f
mov dword [esp + 0x28], edi
ja 0x48d22d
mov eax, dword [esp + 0x18]
cmp eax, edi
jb 0x48d1f7
mov ecx, dword [0x4964a8]
mov edx, dword [ecx]
lea ecx, [esp + 0x10]
push edx
push edi
call dword [0x496478]
jmp 0x48d208
mov ecx, edi
push 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x18]
call dword [0x496470]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d223
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov eax, dword [esp + 0x14]
jmp 0x48d4b3
mov eax, dword [0x4964d8]
jmp 0x48d4b3
cmp ebx, 0x7ff
ja 0x48d2d4
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x48d259
mov edx, dword [0x4964a8]
lea ecx, [esp + 0x10]
mov eax, dword [edx]
push eax
push 2
call dword [0x496478]
jmp 0x48d26d
mov ecx, 2
push 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x18]
call dword [0x496470]
cmp dword [esp + 0x18], edi
jb 0x48d28e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d28e
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov edx, dword [esp + 0x14]
lea eax, [edx + 1]
jmp 0x48d293
mov eax, dword [0x4964d8]
mov cl, bl
and cl, 0x3f
or cl, 0x80
mov byte [eax], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d2c1
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov eax, dword [esp + 0x14]
shr ebx, 6
and bl, 0x1f
or bl, 0xc0
jmp 0x48d4b3
mov eax, dword [0x4964d8]
shr ebx, 6
and bl, 0x1f
or bl, 0xc0
jmp 0x48d4b3
cmp ebx, 0xffff
ja 0x48d3b1
mov eax, dword [esp + 0x18]
cmp eax, 3
jb 0x48d300
mov edx, dword [0x4964a8]
lea ecx, [esp + 0x10]
mov eax, dword [edx]
push eax
push 3
call dword [0x496478]
jmp 0x48d314
mov ecx, 3
push 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x18]
call dword [0x496470]
cmp dword [esp + 0x18], 2
jb 0x48d336
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d336
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov edx, dword [esp + 0x14]
lea eax, [edx + 2]
jmp 0x48d33b
mov eax, dword [0x4964d8]
mov cl, bl
and cl, 0x3f
or cl, 0x80
mov byte [eax], cl
mov eax, dword [esp + 0x18]
cmp eax, edi
jb 0x48d368
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d368
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov edx, dword [esp + 0x14]
lea eax, [edx + 1]
jmp 0x48d36d
mov eax, dword [0x4964d8]
mov ecx, ebx
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d39e
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov eax, dword [esp + 0x14]
shr ebx, 0xc
and bl, 0xf
or bl, 0xe0
jmp 0x48d4b3
mov eax, dword [0x4964d8]
shr ebx, 0xc
and bl, 0xf
or bl, 0xe0
jmp 0x48d4b3
cmp ebx, 0x10ffff
ja 0x48d4b5
mov eax, dword [esp + 0x18]
cmp eax, 4
jb 0x48d3dd
mov edx, dword [0x4964a8]
lea ecx, [esp + 0x10]
mov eax, dword [edx]
push eax
push 4
call dword [0x496478]
jmp 0x48d3f1
mov ecx, 4
push 0
sub ecx, eax
push ecx
lea ecx, [esp + 0x18]
call dword [0x496470]
cmp dword [esp + 0x18], 3
jb 0x48d413
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d413
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov edx, dword [esp + 0x14]
lea eax, [edx + 3]
jmp 0x48d418
mov eax, dword [0x4964d8]
mov cl, bl
and cl, 0x3f
or cl, 0x80
mov byte [eax], cl
mov eax, dword [esp + 0x18]
cmp eax, 2
jb 0x48d446
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d446
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov edx, dword [esp + 0x14]
lea eax, [edx + 2]
jmp 0x48d44b
mov eax, dword [0x4964d8]
mov ecx, ebx
shr ecx, 6
and cl, 0x3f
or cl, 0x80
mov byte [eax], cl
mov eax, dword [esp + 0x18]
cmp eax, edi
jb 0x48d47b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d47b
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov edx, dword [esp + 0x14]
lea eax, [edx + 1]
jmp 0x48d480
mov eax, dword [0x4964d8]
mov ecx, ebx
shr ecx, 0xc
and cl, 0x3f
or cl, 0x80
mov byte [eax], cl
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48d4a5
lea ecx, [esp + 0x10]
call dword [0x49649c]
mov eax, dword [esp + 0x14]
jmp 0x48d4aa
mov eax, dword [0x4964d8]
shr ebx, 0x12
and bl, 7
or bl, 0xf0
mov byte [eax], bl
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call dword [0x4964d0]
mov dword [esp + 0xc], edi
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call dword [0x4964c4]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret