Function at 0x45d220
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x45dcc0
mov edi, edx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov edx, esi
cmp dword [esi + 0x3c], 1
jne 0x45d27b
mov ebx, dword [edx + 0x40]
mov esi, dword [edx]
test ebx, ebx
mov dword [ebp - 0x24], esi
je 0x45d285
mov eax, dword [edx + 8]
cmp eax, ebx
jbe 0x45d289
cmp byte [esi + ebx], 0xbf
jg 0x45d28f
jmp 0x45d61a
mov eax, dword [edx]
mov ebx, dword [edx + 8]
mov dword [ebp - 0x24], eax
jmp 0x45d28f
xor ebx, ebx
jmp 0x45d28f
jne 0x45d61a
mov edx, dword [ebp + 0x10]
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x34], ecx
sub edx, dword [ebp + 0xc]
sub eax, esi
add edx, ebx
cmp eax, edx
jae 0x45d2c9
mov dword [ebp - 0x10], 0
push edx
push esi
push edi
call fcn.0056b770
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x2c]
mov eax, dword [edi + 4]
mov esi, dword [edi + 8]
sub eax, esi
cmp eax, ebx
jae 0x45d2e8
mov dword [ebp - 0x10], 0
push ebx
push esi
push edi
call fcn.0056b770
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x2c]
mov esi, dword [edi + 8]
mov eax, dword [edi]
add eax, esi
push ebx
push dword [ebp - 0x24]
push eax
call fcn.0054ad50
add esp, 0xc
add esi, ebx
mov dword [edi + 8], esi
cmp esi, dword [edi + 4]
jne 0x45d31c
mov dword [ebp - 0x10], 0
push 1
push esi
push edi
call fcn.0056b770
add esp, 0xc
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 8]
mov eax, dword [edi]
mov ebx, dword [ebp + 0xc]
mov byte [eax + esi], 0x23
mov esi, dword [ebp + 0x10]
inc dword [edi + 8]
mov eax, 0x2600
jmp 0x45d34e
mov ecx, edx
cmp ecx, 0x110000
jne 0x45d405
cmp ebx, esi
je 0x45d403
movzx edx, byte [ebx]
movzx ecx, dl
test dl, dl
js 0x45d370
inc ebx
mov edx, ecx
cmp edx, 0xd
jbe 0x45d3d9
jmp 0x45d340
movzx edi, byte [ebx + 1]
and ecx, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x45d3b4
movzx esi, byte [ebx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp dl, 0xf0
jb 0x45d3ec
movzx edx, byte [ebx + 3]
shl esi, 6
and ecx, 7
add ebx, 4
shl ecx, 0x12
and edx, 0x3f
or edx, esi
mov esi, dword [ebp + 0x10]
or edx, ecx
cmp edx, 0x110000
jne 0x45d3d0
jmp 0x45d405
mov esi, dword [ebp + 0x10]
shl ecx, 6
add ebx, 2
or ecx, edi
mov edx, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp edx, 0xd
ja 0x45d340
mov ecx, 0x110000
bt eax, edx
jb 0x45d342
jmp 0x45d340
shl ecx, 0xc
add ebx, 3
or esi, ecx
mov edx, esi
mov esi, dword [ebp + 0x10]
cmp edx, 0xd
jbe 0x45d3d9
jmp 0x45d340
mov ebx, esi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], esi
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp - 0x24]
mov esi, 0x2600
cmp edi, ecx
je 0x45d5a6
nop word cs:[eax + eax]
nop dword [eax + eax]
movzx ebx, byte [edi]
movzx edx, bl
test bl, bl
js 0x45d450
lea ebx, [edi + 1]
cmp edx, 0xd
jbe 0x45d4b0
jmp 0x45d4d0
movzx esi, byte [edi + 1]
and edx, 0x1f
and esi, 0x3f
cmp bl, 0xdf
jbe 0x45d487
movzx eax, byte [edi + 2]
shl esi, 6
and eax, 0x3f
or eax, esi
cmp bl, 0xf0
jb 0x45d49b
movzx esi, byte [edi + 3]
and edx, 7
shl eax, 6
lea ebx, [edi + 4]
shl edx, 0x12
and esi, 0x3f
or esi, eax
jmp 0x45d48d
lea ebx, [edi + 2]
shl edx, 6
or edx, esi
mov esi, 0x2600
cmp edx, 0xd
jbe 0x45d4b0
jmp 0x45d4d0
shl edx, 0xc
lea ebx, [edi + 3]
or edx, eax
mov esi, 0x2600
cmp edx, 0xd
ja 0x45d4d0
nop dword [eax]
bt esi, edx
jae 0x45d4d0
cmp ebx, ecx
mov edi, ebx
jne 0x45d430
jmp 0x45d5a6
cmp edx, 0x110000
je 0x45d5a6
mov eax, ecx
mov esi, 1
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x28], edi
sub eax, edi
cmp edx, 0x80
jb 0x45d50e
mov esi, 2
cmp edx, 0x800
jb 0x45d50e
cmp edx, 0x10000
mov esi, 4
sbb esi, 0
cmp esi, eax
jae 0x45d520
mov ecx, dword [ebp - 0x28]
cmp byte [ecx + esi], 0xbf
jg 0x45d528
jmp 0x45d635
cmp eax, esi
jne 0x45d635
test edx, edx
mov dword [ebp - 0x24], ebx
je 0x45d55e
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], 0
push eax
call fcn.0045d680
add esp, 4
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 0x20]
call fcn.0045fd20
add esp, 0xc
jmp 0x45d40e
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
test edx, edx
je 0x45d591
cmp edx, 1
jne 0x45d40e
mov dword [ebp - 0x10], 0
push 0x37
push 0x585c35
push esi
call dword [eax + 0x14]
add esp, 0xc
jmp 0x45d40e
mov dword [ebp - 0x10], 0
push 7
push esi
call dword [eax + 0x14]
add esp, 8
jmp 0x45d40e
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
movsd xmm0, qword [ecx]
mov ecx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov eax, dword [ecx + 0x2c]
movsd qword [edx + 4], xmm0
movsd xmm1, qword [ecx + 0x24]
movsd xmm2, qword [ecx + 0x1c]
movups xmm0, xmmword [ecx + 0xc]
mov edi, dword [ecx + 0x34]
mov esi, dword [ecx + 0x38]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x30]
movsd qword [edx + 0x28], xmm1
movsd qword [edx + 0x20], xmm2
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x34], eax
mov dword [edx + 0x38], edi
mov dword [edx + 0x3c], esi
mov esi, dword [ecx + 0x44]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x40], 1
mov dword [edx + 0x44], edi
mov dword [edx + 0x48], esi
mov byte [edx], 0
mov dword fs:[0], ecx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x5859f4
push ebx
push 0
push eax
push esi
call fcn.00570b30
add esp, 0x14
jmp 0x45d650
mov dword [ebp - 0x10], 0
push 0x5857c0
push esi
push 0
push eax
push dword [ebp - 0x28]
call fcn.00570b30
add esp, 0x14
ud2