Function at 0x45d5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c0976
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [ebp + 8]
jmp 0x45d604
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x45d623
mov cl, byte [eax]
cmp cl, 0x80
jae 0x45d623
movzx ecx, cl
inc eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x14], ecx
mov eax, ecx
jmp 0x45d677
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x45d65c
cmp eax, esi
jae 0x45d638
test byte [esi - 1], 0x80
je 0x45d65c
cmp eax, esi
jne 0x45d653
mov eax, dword [ebx + 0x20]
test eax, eax
jle 0x45d653
mov ecx, dword [ebx + 0xc]
sub ecx, eax
cmp ecx, dword [ebx + 0x24]
jge 0x45d653
mov byte [ebx + 0x18], 1
xor eax, eax
jmp 0x45d674
mov eax, ebx
call fcn.004eb180
jmp 0x45d674
lea edx, [esp + 0x24]
push edx
call fcn.004eb110
add esp, 4
test eax, eax
je 0x45d674
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x14], eax
test eax, eax
je 0x45dab6
mov ecx, eax
shr ecx, 3
dec ecx
je 0x45d6e4
dec ecx
je 0x45d6d4
dec ecx
jne 0x45d69b
mov ecx, eax
and cl, 7
cmp cl, 2
je 0x45d800
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x45dab6
lea ecx, [edi + 4]
push ebx
call fcn.004e5320
add esp, 4
test al, al
jne 0x45d604
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, eax
and dl, 7
cmp dl, 2
je 0x45d775
jmp 0x45d69b
mov ecx, eax
and cl, 7
cmp cl, 2
jne 0x45d69b
or dword [edi + 0x34], 1
cmp dword [edi + 8], 0x625620
jne 0x45d729
push 0x1c
call fcn.00548a50
add esp, 4
test eax, eax
je 0x45d71c
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x45d71e
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [edi + 8], eax
mov edx, dword [edi + 8]
lea edi, [esp + 0x28]
mov esi, ebx
mov dword [esp + 0x20], edx
call fcn.0041a530
test al, al
je 0x45d6bd
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
call fcn.004ddd80
test al, al
je 0x45d6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x45d600
cmp byte [eax], 0x12
jne 0x45d600
mov edi, dword [esp + 0x18]
inc eax
mov dword [ebx + 4], eax
or dword [edi + 0x34], 2
cmp dword [edi + 0xc], 0x625620
jne 0x45d7b0
push 0x1c
call fcn.00548a50
add esp, 4
test eax, eax
je 0x45d7a3
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x45d7a5
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
lea edi, [esp + 0x2c]
mov esi, ebx
mov dword [esp + 0x20], eax
call fcn.0041a530
test al, al
je 0x45d6bd
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
call fcn.004ddd80
test al, al
je 0x45d6bd
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x45d600
cmp byte [eax], 0x1a
jne 0x45d600
mov edi, dword [esp + 0x18]
inc eax
mov dword [ebx + 4], eax
lea esp, [esp]
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
cmp eax, ecx
jge 0x45d81d
mov ecx, dword [edi + 0x10]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [edi + 0x14], eax
mov dword [esp + 0x20], ecx
jmp 0x45d912
mov eax, dword [edi + 0x1c]
cmp ecx, eax
jne 0x45d896
mov ecx, dword [edi + 0x1c]
inc eax
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0x45d896
mov edi, dword [edi + 0x10]
add ecx, ecx
cmp ecx, eax
mov dword [esp + 0x30], ecx
lea eax, [esp + 0x20]
jl 0x45d845
lea eax, [esp + 0x30]
mov esi, dword [eax]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1c], esi
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00547a7c
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x18]
add ecx, ecx
add esp, 4
add ecx, ecx
push ecx
push edi
push eax
mov dword [esi + 0x10], eax
call fcn.0054c600
add esi, 0x20
add esp, 0xc
cmp edi, esi
je 0x45d892
push edi
call fcn.00549081
add esp, 4
mov edi, dword [esp + 0x18]
inc dword [edi + 0x18]
push 0x80
xor esi, esi
call fcn.00548a50
add esp, 4
cmp eax, esi
je 0x45d900
mov dword [eax], vtable.ipc::proto::ComponentInfo.0
mov dword [eax + 4], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
lea edx, [eax + 0x2c]
mov dword [eax + 0x1c], edx
mov ecx, 4
mov dword [eax + 0x28], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x40], esi
lea edx, [eax + 0x48]
mov dword [eax + 0x3c], edx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x5c], esi
mov ecx, 0x625620
lea edx, [eax + 0x64]
mov dword [eax + 0x58], edx
mov dword [eax + 0x78], esi
mov dword [eax + 8], ecx
mov dword [eax + 0x74], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], ecx
mov dword [eax + 0x7c], esi
jmp 0x45d902
xor eax, eax
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov dword [edx + ecx*4], eax
inc dword [edi + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
cmp eax, esi
jae 0x45d930
mov cl, byte [eax]
cmp cl, 0x80
jae 0x45d930
movzx ecx, cl
inc eax
mov dword [esp + 0x1c], ecx
mov dword [ebx + 4], eax
jmp 0x45d963
mov edx, esi
sub edx, eax
cmp edx, 0xa
jge 0x45d9d5
cmp esi, eax
jbe 0x45d94b
test byte [esi - 1], 0x80
je 0x45d9d5
lea eax, [esp + 0x34]
push eax
mov eax, ebx
call fcn.004eb550
test al, al
jne 0x45d9c9
test al, al
je 0x45d6bd
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
cmp eax, dword [ebx + 0x30]
jg 0x45d6bd
mov eax, dword [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004eab20
mov ecx, dword [esp + 0x20]
push ebx
mov esi, eax
call fcn.0042cf90
test al, al
je 0x45d6bd
cmp byte [ebx + 0x18], 0
je 0x45d6bd
mov ecx, dword [ebx + 0x20]
add dword [ebx + 8], ecx
lea eax, [ebx + 0x1c]
mov dword [eax], esi
cmp dword [ebx + 0x24], esi
jge 0x45d9af
lea eax, [ebx + 0x24]
mov ecx, dword [eax]
mov eax, dword [ebx + 0xc]
cmp ecx, eax
jge 0x45da5b
sub eax, ecx
sub dword [ebx + 8], eax
mov dword [ebx + 0x20], eax
jmp 0x45da62
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov al, 1
jmp 0x45d95b
movzx ecx, byte [eax]
mov esi, ecx
inc eax
and esi, 0x7f
test cl, cl
jns 0x45da43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 7
inc eax
or esi, edx
test cl, cl
jns 0x45da43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 0xe
inc eax
or esi, edx
test cl, cl
jns 0x45da43
movzx ecx, byte [eax]
mov edx, ecx
and edx, 0x7f
shl edx, 0x15
inc eax
or esi, edx
test cl, cl
jns 0x45da43
movzx ecx, byte [eax]
mov edx, ecx
shl edx, 0x1c
inc eax
or esi, edx
test cl, cl
jns 0x45da43
xor edx, edx
lea esp, [esp]
movzx ecx, byte [eax]
inc eax
test cl, cl
jns 0x45da43
inc edx
cmp edx, 5
jl 0x45da30
jmp 0x45d6bd
mov dword [esp + 0x1c], esi
test eax, eax
je 0x45d6bd
mov edi, dword [esp + 0x18]
mov dword [ebx + 4], eax
jmp 0x45d963
mov dword [ebx + 0x20], 0
mov eax, dword [ebx + 0x2c]
mov byte [ebx + 0x18], 0
test eax, eax
jle 0x45da71
dec eax
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
jae 0x45da85
cmp byte [eax], 0x1a
je 0x45d7f8
cmp eax, dword [ebx + 8]
jne 0x45d604
cmp dword [ebx + 0x20], 0
je 0x45d604
mov al, 1
mov dword [ebx + 0x14], 0
mov byte [ebx + 0x18], al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4