Function at 0x4821a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480000
mov ecx, dword [0x6264b4]
push ecx
xor ebx, ebx
push ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00404650
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404140
mov edx, dword [esi]
push 4
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call dword [edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
lea eax, [edx + 7]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [edi + 0x14], ecx
mov ecx, dword [esi]
push eax
lea eax, [ebp - 0x10]
mov edx, ecx
push eax
mov ecx, esi
mov dword [ebp - 0x10], ebx
call dword [edx + 4]
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x481fbb
mov ecx, ebx
mov eax, 1
shl eax, cl
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + 0xb]
push edx
test eax, ecx
mov eax, dword [edi + 0x20]
setne cl
mov byte [ebp + 0xb], cl
lea ecx, [edi + 0x18]
push 1
push eax
call fcn.00487d70
mov eax, dword [ebp + 0xc]
inc ebx
cmp ebx, eax
jl 0x481f8d
mov eax, dword [esi]
push 1
lea ecx, [ebp + 0xf]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dl, byte [ebp + 0xf]
push 1
lea ecx, [ebp + 0xf]
mov byte [edi + 0x38], dl
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dl, byte [ebp + 0xf]
mov byte [edi + 0x39], dl
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480000
mov ecx, dword [0x6264b4]
push ecx
push 0
push eax
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 1
call fcn.00404650
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404140
mov edx, dword [esi]
push 1
lea eax, [ebp + 0xf]
push eax
mov ecx, esi
call dword [edx + 4]
mov al, byte [ebp + 0xf]
test al, al
jne 0x482035
mov dword [edi + 0x3c], 0
jmp 0x4820d1
push 0x18
call fcn.00604401
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
test ebx, ebx
mov dword [ebp - 4], 2
je 0x482060
mov dl, byte [ebp + 0xf]
lea ecx, [ebx + 8]
push 0
mov byte [ecx], dl
call fcn.00404140
jmp 0x482062
xor ebx, ebx
push 1
lea ecx, [ebp + 0xc]
mov dword [edi + 0x3c], ebx
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
and edx, 0xff
push 1
lea ecx, [ebp + 0xc]
mov dword [ebx], edx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov dword [ebx + 4], edx
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480000
mov ecx, dword [0x6264b4]
push ecx
push 0
push eax
lea ecx, [ebx + 8]
mov dword [ebp - 4], 3
call fcn.00404650
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404140
mov edx, dword [esi]
push 1
lea eax, [ebp + 0xf]
push eax
mov ecx, esi
call dword [edx + 4]
mov al, byte [ebp + 0xf]
test al, al
jne 0x4820f1
mov dword [edi + 0x40], 0
jmp 0x48218d
push 0x18
call fcn.00604401
mov ebx, eax
add esp, 4
mov dword [ebp + 0xc], ebx
test ebx, ebx
mov dword [ebp - 4], 4
je 0x48211c
mov dl, byte [ebp + 0xf]
lea ecx, [ebx + 8]
push 0
mov byte [ecx], dl
call fcn.00404140
jmp 0x48211e
xor ebx, ebx
push 1
lea ecx, [ebp + 0xc]
mov dword [edi + 0x40], ebx
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
and edx, 0xff
push 1
lea ecx, [ebp + 0xc]
mov dword [ebx], edx
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
and edx, 0xff
mov dword [ebx + 4], edx
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00480000
mov ecx, dword [0x6264b4]
push ecx
push 0
push eax
lea ecx, [ebx + 8]
mov dword [ebp - 4], 5
call fcn.00404650
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404140
mov edx, dword [esi]
push 1
lea eax, [ebp + 0xf]
push eax
mov ecx, esi
call dword [edx + 4]
mov al, byte [ebp + 0xf]
mov cl, al
and cl, 1
mov dl, al
mov byte [edi + 0x44], cl
shr dl, 1
mov cl, al
and dl, 1
mov byte [edi + 0x45], dl
shr cl, 2
mov dl, al
and cl, 1
mov byte [edi + 0x46], cl
shr al, 4
shr dl, 3
and al, 1
and dl, 1
push 0x13
lea ecx, [ebp - 0x3c]
mov byte [edi + 0x47], dl
mov byte [edi + 0x48], al
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
xor ebx, ebx
mov ecx, ebx
and ecx, 7
mov edx, 1
shl edx, cl
mov eax, ebx
mov dword [ebp + 0xc], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
movsx edx, byte [ebp + eax - 0x3c]
mov eax, dword [ebp + 0xc]
test edx, eax
setne al
cmp ebx, 0x91
jae 0x4822ba
test al, al
je 0x48222e
mov ecx, ebx
shr ecx, 5
lea eax, [edi + ecx*4 + 0x7c]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
or ecx, edx
jmp 0x48224b
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, ebx
shr eax, 5
mov ecx, dword [edi + eax*4 + 0x7c]
lea eax, [edi + eax*4 + 0x7c]
not edx
and ecx, edx
inc ebx
cmp ebx, 0x91
mov dword [eax], ecx
jl 0x4821dc
mov eax, dword [esi]
push 0x11
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
call dword [eax + 4]
xor ebx, ebx
mov ecx, ebx
and ecx, 7
mov edx, 1
shl edx, cl
mov eax, ebx
mov dword [ebp + 0xc], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
movsx edx, byte [ebp + eax - 0x3c]
mov eax, dword [ebp + 0xc]
test edx, eax
setne al
cmp ebx, 0x81
jae 0x48234f
test al, al
je 0x4822ec
mov ecx, ebx
shr ecx, 5
lea eax, [edi + ecx*4 + 0x90]
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, dword [eax]
or ecx, edx
jmp 0x48230f
lea eax, [ebp + 0xf]
push eax
push 0x64a3b8
lea ecx, [ebp - 0x28]
call fcn.00485220
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 6
call fcn.00481c70
push 0x634948
lea edx, [ebp - 0x58]
push edx
call fcn.00604abc
mov ecx, ebx
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov eax, ebx
shr eax, 5
mov ecx, dword [edi + eax*4 + 0x90]
lea eax, [edi + eax*4 + 0x90]
not edx
and ecx, edx
inc ebx
cmp ebx, 0x81
mov dword [eax], ecx
jl 0x482265
mov eax, dword [esi]
push 1
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
and eax, 0xff
dec eax
je 0x4823cf
dec eax
je 0x4823a8
dec eax
je 0x482381
mov dword [edi + 0xa4], 0
jmp 0x4823fe
lea eax, [ebp + 0xf]
push eax
push 0x64a3b8
lea ecx, [ebp - 0x28]
call fcn.00485220
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 7
call fcn.00481c70
push 0x634948
lea edx, [ebp - 0x58]
push edx
call fcn.00604abc
push 0x14
call fcn.00604401
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4823f6
mov dl, byte [ebp + 0xf]
mov byte [eax + 4], dl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x6292a4
jmp 0x4823f8
push 0x14
call fcn.00604401
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4823f6
mov dl, byte [ebp + 0xf]
mov byte [eax + 4], dl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x629270
jmp 0x4823f8
push 0x18
call fcn.00604401
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4823f6
mov dl, byte [ebp + 0xf]
mov byte [eax + 8], dl
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x629124
jmp 0x4823f8
xor eax, eax
mov dword [edi + 0xa4], eax
mov edi, dword [edi + 0xa4]
test edi, edi
je 0x482410
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8