Function at 0x47c880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49bc60
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4bc7dc]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc7dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
cmp dword [edi + 0xc], ebp
jle 0x47c920
mov eax, dword [edi + 8]
mov ebx, dword [eax + ebp*4]
push 0xa
mov ecx, esi
call fcn.004656c0
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
mov edi, eax
push edi
mov ecx, esi
call fcn.004656c0
mov eax, dword [esi + 8]
cmp eax, edi
jl 0x47c90a
mov ecx, dword [esi + 4]
sub eax, edi
lea edx, [ecx + edi]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
test ecx, ecx
je 0x47c90a
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
push ecx
jmp 0x47c910
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebx
call edx
mov eax, dword [esp + 0x18]
inc ebp
mov edi, eax
cmp ebp, dword [eax + 0xc]
jl 0x47c8c7
cmp dword [edi + 0x2c], 0
mov dword [esp + 0x14], 0
jle 0x47caa8
cmp dword [esi + 8], 5
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x14]
mov ebp, dword [ecx + edx*4]
jl 0x47c955
mov eax, dword [esi + 4]
lea ecx, [eax + 1]
sub ecx, eax
mov byte [eax], 0x12
add dword [esi + 4], ecx
sub dword [esi + 8], ecx
jmp 0x47c969
lea eax, [esp + 0x24]
push eax
mov eax, 1
mov byte [esp + 0x28], 0x12
call fcn.00465540
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
cmp dword [esi + 8], 5
mov ebx, eax
jl 0x47ca31
mov eax, dword [esi + 4]
mov cl, bl
or cl, 0x80
mov byte [eax], cl
cmp ebx, 0x80
jb 0x47ca1f
mov ecx, ebx
shr ecx, 7
or cl, 0x80
mov byte [eax + 1], cl
cmp ebx, 0x4000
jb 0x47ca0c
mov ecx, ebx
shr ecx, 0xe
or cl, 0x80
mov byte [eax + 2], cl
cmp ebx, 0x200000
jb 0x47c9f9
mov ecx, ebx
shr ecx, 0x15
or cl, 0x80
mov byte [eax + 3], cl
cmp ebx, 0x10000000
jb 0x47c9e6
mov edx, ebx
shr edx, 0x1c
lea ecx, [eax + 5]
sub ecx, eax
mov byte [eax + 4], dl
add dword [esi + 4], ecx
sub dword [esi + 8], ecx
jmp 0x47ca69
and cl, 0x7f
mov byte [eax + 3], cl
lea ecx, [eax + 4]
sub ecx, eax
add dword [esi + 4], ecx
sub dword [esi + 8], ecx
jmp 0x47ca69
and cl, 0x7f
mov byte [eax + 2], cl
lea ecx, [eax + 3]
sub ecx, eax
add dword [esi + 4], ecx
sub dword [esi + 8], ecx
jmp 0x47ca69
and cl, 0x7f
mov byte [eax + 1], cl
lea ecx, [eax + 2]
sub ecx, eax
add dword [esi + 4], ecx
sub dword [esi + 8], ecx
jmp 0x47ca69
and cl, 0x7f
mov byte [eax], cl
lea ecx, [eax + 1]
sub ecx, eax
add dword [esi + 4], ecx
sub dword [esi + 8], ecx
jmp 0x47ca69
xor edi, edi
cmp ebx, 0x7f
jbe 0x47ca52
jmp 0x47ca40
mov cl, al
or cl, 0x80
mov byte [esp + edi + 0x1c], cl
shr eax, 7
inc edi
cmp eax, 0x7f
ja 0x47ca40
and al, 0x7f
lea edx, [esp + 0x1c]
mov byte [esp + edi + 0x1c], al
lea eax, [edi + 1]
push edx
call fcn.00465540
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 8]
cmp eax, ebx
jl 0x47ca8b
mov ecx, dword [esi + 4]
sub eax, ebx
lea edx, [ecx + ebx]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
test ecx, ecx
je 0x47ca8b
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push ecx
jmp 0x47ca92
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x2c]
jl 0x47c932
mov eax, dword [edi + 0x50]
shr eax, 2
test al, 1
je 0x47cb0c
mov ebp, dword [edi + 0x48]
test ebp, ebp
jne 0x47cac2
mov ecx, dword [0x4c0550]
mov ebp, dword [ecx + 0x48]
push 0x1a
mov ecx, esi
call fcn.004656c0
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
mov ecx, ebp
call eax
mov ebx, eax
push ebx
mov ecx, esi
call fcn.004656c0
mov eax, dword [esi + 8]
cmp eax, ebx
jl 0x47cb01
mov ecx, dword [esi + 4]
sub eax, ebx
lea edx, [ecx + ebx]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
test ecx, ecx
je 0x47cb01
mov eax, dword [ebp]
mov edx, dword [eax + 0x28]
push ecx
jmp 0x47cb08
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
test eax, eax
je 0x47cb27
mov edx, dword [eax]
cmp edx, dword [eax + 4]
je 0x47cb27
push esi
push ecx
call fcn.004445f0
add esp, 8
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0047fe29
add esp, 0x28
ret 4